CVE-2006-4339: Openssl: openssl: signature forgery via improper pkcs-1 padding removal leading to certificate validation bypass
A flaw was found in OpenSSL. When configured to use an RSA key with exponent 3, OpenSSL improperly removes PKCS-1 padding before generating a hash. This allows remote attackers to forge PKCS #1 v1.5 signatures. Consequently, OpenSSL may incorrectly verify X.509 and other certificates, leading to a bypass of trust and authentication mechanisms.
Other sources
OpenSSL before 0.9.7, 0.9.7 before 0.9.7k, and 0.9.8 before 0.9.8c, when using an RSA key with exponent 3, removes PKCS-1 padding before generating a hash, which allows remote attackers to forge a PKCS #1 v1.5 signature that is signed by that RSA key and prevents OpenSSL from correctly verifying X.509 and other certificates that use PKCS #1.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/opensslto a version that resolves this vulnerability.Fixed in 3.0.20-1~deb12u2Fixed in 3.0.22-1~deb12u2Fixed in 3.5.7-1~deb13u2Fixed in 3.5.7-1~deb13u3Fixed in 3.6.5-1 - Upgrade
Upgrade
debian/opensslto a version that resolves this vulnerability.Fixed in 0.9.8b-3 - Upgrade
Upgrade
OpenSSLto a version that resolves this vulnerability.Fixed in 0.9.7k - Upgrade
Upgrade
OpenSSLto a version that resolves this vulnerability.Fixed in 0.9.8c
Event History
Frequently Asked Questions
What is the severity of CVE-2006-4339?
CVE-2006-4339 is classified as a high-severity vulnerability due to its potential to allow remote signature forgery.
How do I fix CVE-2006-4339?
To fix CVE-2006-4339, upgrade OpenSSL to versions 0.9.7k or later, or 0.9.8c or later.
What systems are affected by CVE-2006-4339?
CVE-2006-4339 affects multiple versions of OpenSSL prior to 0.9.8c and includes versions such as 0.9.7 and earlier.
What type of attacks can exploit CVE-2006-4339?
CVE-2006-4339 can be exploited to perform remote attacks that allow signature forgery, compromising data integrity.
Is there a workaround for CVE-2006-4339?
There are no effective workarounds for CVE-2006-4339; the only recommended solution is to update to a secure version.