Buffer overflow in Strongswan

CVE-2013-6075

The compare_dn function in utils/identification.c in strongSwan 4.3.3 through 5.1.1 allows (1) remote attackers to cause a denial of service (out-of-bounds read, NULL pointer dereference, and daemon crash) or (2) remote authenticated users to impersonate arbitrary users and bypass access restrictions via a crafted ID_DER_ASN1_DN ID, related to an "insufficient length check" during identity comparison.

Vulnerability class: Buffer Overflow

EPSS: 0.024 (82.7th percentile) — read the EPSS interpretation.

Affected products

  • Strongswan — versions 4.3.3, 4.3.4, 4.3.5
  • N/a — versions n/a

Weakness classification (CWE)

References