CVE-2009-2409: Medium severity OpenSSL OpenSSL vulnerability

Published Jul 8, 2009
·
Updated

In his upcoming Blackhat paper and presentation Dan Kaminsky highlights some more issues he has found relating to SSL hash collisions and related vulnerabilities.

The first issue is the discovery that a widely-trusted Certificate Authority root certificate is self-signed using a MD2 hash. If an attacker can mint a fake intermediate certificate which has the same MD2 hash then they could use this on a malicious site (or during a man-in-the-middle attack) to present a fake SSL certificate that would be accepted as if it was authentic.

It turns out that there are not many valid MD2 hash certificates around any more, and the main one that exists is at the trusted root level anyway (and there is actually no need for a crypto library to verify the self-signature on a trusted root). So most vendors have chosen to address this issue by disabling MD2 completely for certificate verification.

There is no immediate panic to address this issue as in order for it to be exploited the attacker would need to create the MD2 collision with the root certificate, something that is as of today a significant amount of effort (even with a highly distributed effort it's a bit outside what is feasible).

So for upstream OpenSSL we have disabled MD2 support completely. This was done in two stages; the first was a patch in June 2009 (http://marc.info/?l=openssl-cvs&m=124508133203041&w=2) that removed the check of a trusted root self-signed certificate. Then MD2 was disabled in July, (http://cvs.openssl.org/chngview?cn=18381). Although there have not yet been any upstream releases containing these fixes, future OpenSSL 0.9.8 (after 0.9.8k), and OpenSSL 1.0.0 releases will contain this fix.

The GnuTLS library has for some time meant to have disabled MD2 support, although due to a broken patch it wasn't actually disabled correctly until the start of 2009. So this is addressed in GnuTLS versions 2.6.4 and above, and 2.7.4 and above. (http://lists.gnu.org/archive/html/gnutls-devel/2008-12/msg00011.html)

The NSS library since version 3.12.3 (April 2009) has disabled MD2 by default (although legacy applications can turn it back on using an environment variable "NSSALLOWWEAKSIGNATUREALG" if they need to).

Mozilla Firefox since version 3.5 has used this NSS version and therefore MD2 is disabled (https://bugzilla.mozilla.org/showbug.cgi?id=471539#c58)

Other sources

The Network Security Services (NSS) library before 3.12.3, as used in Firefox; GnuTLS before 2.6.4 and 2.7.4; OpenSSL 0.9.8 through 0.9.8k; and other products support MD2 with X.509 certificates, which might allow remote attackers to spoof certificates by using MD2 design flaws to generate a hash collision in less than brute-force time. NOTE: the scope of this issue is currently limited because the amount of computation required is still large.

Affected Software

166 affected componentsFixes available
debian/nss
2:3.42.1-1+deb10u52:3.42.1-1+deb10u72:3.61-1+deb11u32:3.87.1-12:3.94-1
debian/openssl
1.1.1n-0+deb10u31.1.1n-0+deb10u61.1.1w-0+deb11u11.1.1n-0+deb11u53.0.11-1~deb12u13.0.11-1~deb12u23.0.11-13.1.4-2
OpenSSL OpenSSL=0.9.8b
OpenSSL OpenSSL=0.9.8c
OpenSSL OpenSSL=0.9.8e
OpenSSL OpenSSL=0.9.8g
OpenSSL OpenSSL=0.9.8k
OpenSSL OpenSSL=0.9.8d
OpenSSL OpenSSL=0.9.8j
OpenSSL OpenSSL=0.9.8a
OpenSSL OpenSSL=0.9.8
OpenSSL OpenSSL=0.9.8i
OpenSSL OpenSSL=0.9.8f
OpenSSL OpenSSL=0.9.8h
GNU GnuTLS=2.3.5
GNU GnuTLS=1.6.0
GNU GnuTLS=2.0.0
GNU GnuTLS=1.5.0
GNU GnuTLS=1.2.8
GNU GnuTLS=1.1.14
GNU GnuTLS=2.3.4
GNU GnuTLS=1.7.3
GNU GnuTLS=2.7.4
GNU GnuTLS=1.4.1
GNU GnuTLS=1.4.3
GNU GnuTLS=2.6.1
GNU GnuTLS=1.2.11
GNU GnuTLS=1.1.21
GNU GnuTLS=1.7.5
GNU GnuTLS=1.7.11
GNU GnuTLS=1.0.20
GNU GnuTLS=1.2.5
GNU GnuTLS=2.2.4
GNU GnuTLS=1.0.17
GNU GnuTLS=1.2.4
GNU GnuTLS=1.3.1
GNU GnuTLS=1.0.24
GNU GnuTLS=1.7.15
GNU GnuTLS=1.6.1
GNU GnuTLS=1.0.21
GNU GnuTLS=1.4.2
GNU GnuTLS<=2.6.3
GNU GnuTLS=1.7.8
GNU GnuTLS=1.7.0
GNU GnuTLS=2.1.0
GNU GnuTLS=2.3.1
GNU GnuTLS=1.0.16
GNU GnuTLS=2.2.5
GNU GnuTLS=2.1.1
GNU GnuTLS=2.3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=2.0.1
GNU GnuTLS=1.7.6
GNU GnuTLS=2.2.1
GNU GnuTLS=2.1.5
GNU GnuTLS=1.7.1
GNU GnuTLS=1.5.2
GNU GnuTLS=1.7.16
GNU GnuTLS=1.7.12
GNU GnuTLS=1.1.16
GNU GnuTLS=2.3.10
GNU GnuTLS=1.0.22
GNU GnuTLS=2.0.2
GNU GnuTLS=2.3.0
GNU GnuTLS=1.6.2
GNU GnuTLS=2.2.3
GNU GnuTLS=1.4.4
GNU GnuTLS=1.1.17
GNU GnuTLS=1.3.3
Mozilla Firefox
Mozilla NSS<=3.12.2
Mozilla NSS=3.0
Mozilla NSS=3.2
Mozilla NSS=3.2.1
Mozilla NSS=3.3
Mozilla NSS=3.3.1
Mozilla NSS=3.3.2
Mozilla NSS=3.4
Mozilla NSS=3.4.1
Mozilla NSS=3.4.2
Mozilla NSS=3.4.3
Mozilla NSS=3.5
Mozilla NSS=3.6
Mozilla NSS=3.6.1
Mozilla NSS=3.7
Mozilla NSS=3.7.1
Mozilla NSS=3.7.2
Mozilla NSS=3.7.3
Mozilla NSS=3.7.5
Mozilla NSS=3.7.7
Mozilla NSS=3.8
Mozilla NSS=3.9
Mozilla NSS=3.9.5
Mozilla NSS=3.10
Mozilla NSS=3.11.2
Mozilla NSS=3.11.4
Mozilla NSS=3.11.7
Mozilla NSS=3.11.8
Mozilla NSS=3.12
Mozilla NSS=3.12.1
GNU GnuTLS<2.6.4
GNU GnuTLS>=2.7.0<2.7.4
Mozilla Network Security Services<3.12.3
OpenSSL OpenSSL>=0.9.8<=0.9.8k

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/nss to a version that resolves this vulnerability.

    Fixed in 2:3.42.1-1+deb10u5Fixed in 2:3.42.1-1+deb10u7Fixed in 2:3.61-1+deb11u3Fixed in 2:3.87.1-1Fixed in 2:3.94-1
  2. Upgrade

    Upgrade debian/openssl to a version that resolves this vulnerability.

    Fixed in 1.1.1n-0+deb10u3Fixed in 1.1.1n-0+deb10u6Fixed in 1.1.1w-0+deb11u1Fixed in 1.1.1n-0+deb11u5Fixed in 3.0.11-1~deb12u1Fixed in 3.0.11-1~deb12u2Fixed in 3.0.11-1Fixed in 3.1.4-2
  3. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 2.6.4
  4. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 2.7.4
  5. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 3.12.3
  6. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 1.0.0

Event History

Jul 8, 2009
Data Sourced
via Red Hat·10:31 AM
DescriptionSeverityAffected Software
Jul 30, 2009
CVE Published
via MITRE·07:00 PM
Data Sourced
via MITRE·07:00 PM
Description
Data Sourced
07:30 PM
DescriptionWeaknessAffected Software
Feb 13, 2023
Data Sourced
02:20 AM
RemedySeverity
Mar 27, 2025
Data Sourced
via NVD·02:01 PM
RemedyDescriptionSeverityWeaknessAffected Software
Updated
via NVD·02:01 PM
RemedyWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2009-2409?

CVE-2009-2409 is classified as a critical vulnerability due to its ability to allow remote attackers to spoof certificates.

2

How do I fix CVE-2009-2409?

To mitigate CVE-2009-2409, update the NSS library to version 3.12.3 or higher, OpenSSL to version 0.9.8k or higher, or use patched versions of affected software.

3

Which software is affected by CVE-2009-2409?

CVE-2009-2409 affects the NSS library, OpenSSL, and GnuTLS along with any applications that rely on these libraries.

4

What types of attacks are possible due to CVE-2009-2409?

CVE-2009-2409 allows attackers to spoof certificates, which can facilitate man-in-the-middle attacks and impersonation.

5

When was CVE-2009-2409 published?

CVE-2009-2409 was published on July 6, 2009.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203