OpenSSL
Potential Use-after-free in DANE Client Code
Issue summary: An uncommon configuration of clients performing DANE TLSA-based server authentication, when paired with uncommon server DANE TLSA records, may result in a use-after-free and/or double-free on the client side. Impact summary: A use after free can have a range of potential consequences such as the corruption of valid data, crashes or execution of arbitrary code. However, the issue only affects clients that make use of TLSA records with both the PKIX-TA(0/PKIX-EE(1) certificate usages and the DANE-TA(2) certificate usage. By far the most common deployment of DANE is in SMTP MTAs for which RFC7672 recommends that clients treat as 'unusable' any TLSA records that have the PKIX certificate usages. These SMTP (or other similar) clients are not vulnerable to this issue. Conversely, any clients that support only the PKIX usages, and ignore the DANE-TA(2) usage are also not vulnerable. The client would also need to be communicating with a server that publishes a TLSA RRset with both types of TLSA records. No FIPS modules are affected by this issue, the problem code is outside the FIPS module boundary.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 3.6.0, < 3.6.2
- >= 3.5.0, < 3.5.6
- >= 3.4.0, < 3.4.5
- >= 3.3.0, < 3.3.7
- >= 3.0.0, < 3.0.20
- >= 1.1.1, < 1.1.1zg
Fixed in 3.6.2, 3.5.6, 3.4.5, 3.3.7, 3.0.20, 1.1.1zg
Mitigation
Upgrade OpenSSL to 3.6.2 or 3.5.6 or 3.4.5 or 3.3.7 or 3.0.20 or 1.1.1zg or later.
References
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.