Buffer overflow in Strongswan

CVE-2013-5018

The is_asn1 function in strongSwan 4.1.11 through 5.0.4 does not properly validate the return value of the asn1_length function, which allows remote attackers to cause a denial of service (segmentation fault) via a (1) XAuth username, (2) EAP identity, or (3) PEM encoded file that starts with a 0x04, 0x30, or 0x31 character followed by an ASN.1 length value that triggers an integer overflow.

Vulnerability class: Buffer Overflow

EPSS: 0.030 (85.9th percentile) — read the EPSS interpretation.

Affected products

  • Strongswan — versions 4.1.11, 5.0.0, 5.0.1
  • Opensuse — versions 11.4, 12.2, 12.3
  • N/a — versions n/a

Weakness classification (CWE)

References