AI and data stack advisories

Severe, 6 weeks1496Projects326

1496 severe, 6 weeks · 326 projects

AWSGHSA-h5p4-28rh-q272

Issue with parsing Certificate Common Name (CN) in s2n-tls

AWS

Published Feb 14, 2023

Low
Fix: upgrade to v1.3.35 or later
GitHub advisory

An issue in s2n-tls results in skipping a certificate’s Common Name field validation if it exceeds 255 bytes. As a result, s2n-tls incorrectly validates a certificate that has a Common Name (CN) larger than 255 bytes, doesn’t have a Subject Alternative Name (SAN), and is signed by a trusted Certificate Authority (CA).

No AWS services are affected by this issue and customers of AWS services do not need to take action. Client applications using s2n-tls should upgrade their application to the most recent release of s2n-tls.

Impacted versions: All versions of s2n-tls from commit e954e6e through commit 4bd1505. Affected s2n-tls users should fetch s2n-tls commit a58b308 or later.

Affected versions

PackageAffectedFixed in
s2n-tls
Product
< v1.3.35v1.3.35
Details and references

More AWS advisories

All AWS