Mozilla Network Security Service (NSS): RSA signature forgery — GLSA 200610-06

NSS fails to properly validate PKCS #1 v1.5 signatures.

Affected packages

dev-libs/nss on all architectures
Affected versions < 3.11.3
Unaffected versions >= 3.11.3

Background

The Mozilla Network Security Service is a library implementing security features like SSL v.2/v.3, TLS, PKCS #5, PKCS #7, PKCS #11, PKCS #12, S/MIME and X.509 certificates.

Description

Daniel Bleichenbacher discovered that it might be possible to forge signatures signed by RSA keys with the exponent of 3. This affects a number of RSA signature implementations, including Mozilla's NSS.

Impact

Since several Certificate Authorities (CAs) are using an exponent of 3 it might be possible for an attacker to create a key with a false CA signature. This impacts any software using the NSS library, like the Mozilla products Firefox, Thunderbird and Seamonkey.

Workaround

There is no known workaround at this time.

Resolution

All NSS users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=dev-libs/nss-3.11.3"

Note: As usual after updating a library, you should run 'revdep-rebuild' (from the app-portage/gentoolkit package) to ensure that all applications linked to it are properly rebuilt.

References

Release date
October 17, 2006

Latest revision
October 17, 2006: 01

Severity
normal

Exploitable
remote

Bugzilla entries
{"cc_re__cc_re__cc_by_sa_4_0": ["<li><a href=\"https://www.facebook.com/gentoo.org\" title=\"Gentoo on Facebook\"><span class=\"fa fa-facebook fa-fw\"></span></a></li>\n            </ul>\n          </div>\n          <div class=\"col-10 col-sm-9 col-md-10\">\n            <strong>&copy; 2001&ndash;2020 Gentoo Foundation, Inc.</strong><br />\n            <small>\n              Gentoo is a trademark of the Gentoo Foundation, Inc.\n              The contents of this document, unless otherwise expressly stated, are licensed under the\n              <a href=\"https://creativecommons.org/licenses/by-sa/4.0/\" rel=\"license\">CC-BY-SA-4.0</a> license.\n              The <a href=\"https://www.gentoo.org/inside-gentoo/foundation/name-logo-guidelines.html\">Gentoo name and logo usage guidelines</a> apply.\n            </small>\n          </div>\n        </div>\n      </div>\n    </footer>\n\n    <script src=\"https://assets.gentoo.org/tyrian/v2/jquery-3.3.slim.js\"></script>\n    <script src=\"https://assets.gentoo.org/tyrian/v2/popper.min.js\"></script>\n    <script src=\"https://assets.gentoo.org/tyrian/v2/bootstrap.min.js\"></script>\n"]}