OpenSSL: Alternate chains certificate forgery — GLSA 201507-15

Certain checks on untrusted certificates can be bypassed.

Affected Packages

dev-libs/openssl on all architectures
Affected versions < 1.0.1p
Unaffected versions >= 1.0.1p
revision >= 0.9.8z_p6
revision >= 0.9.8z_p7
revision >= 0.9.8z_p8
revision >= 0.9.8z_p9
revision >= 0.9.8z_p10
revision >= 0.9.8z_p11
revision >= 0.9.8z_p12
revision >= 0.9.8z_p13
revision >= 0.9.8z_p14
revision >= 0.9.8z_p15

Background

OpenSSL is an Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) as well as a general purpose cryptography library.

Description

During certificate verification, OpenSSL attempts to find an alternative certificate chain if the first attempt to build such a chain fails.

Impact

A remote attacker could cause certain checks on untrusted certificates to be bypassed, such as the CA flag, enabling them to use a valid leaf certificate to act as a CA and “issue” an invalid certificate.

Workaround

There is no known workaround at this time.

Resolution

All OpenSSL users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=dev-libs/openssl-1.0.1p"
 

References

Release Date
July 10, 2015

Latest Revision
February 26, 2016: 3

Severity
normal

Exploitable
remote

Bugzilla entries