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
Published · last modified .
CVSS v2 metric
CVSS v2 base score 4.3 (Medium). Vector: AV:N/AC:M/Au:N/C:N/I:N/A:P. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS 0.030, 87.5th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Strongswan — versions 4.1.11, 5.0.0, 5.0.1
- openSUSE — versions 11.4, 12.2, 12.3
Weakness classification (CWE)
References
- secunia.com/advisories/54315 (third-party-advisory, Vendor Advisory)
- www.securityfocus.com/bid/61564 (vdb-entry)
- secunia.com/advisories/54524 (third-party-advisory, Vendor Advisory)
- strongswan.org/blog/2013/08/01/strongswan-5.1.0-released.html (Vendor Advisory)
- openSUSE-SU-2013:1333 (vendor-advisory)
- strongswan.org/blog/2013/08/01/strongswan-denial-of-service-vulnerability-(cve-… (Vendor Advisory)
- openSUSE-SU-2013:1332 (vendor-advisory)
- [Users] 20130729 [strongSwan] charon crash right after xauth+rsa client connects (strongswan-5.0.4, ubuntu 12.04) (mailing-list, Exploit)
- openSUSE-SU-2013:1372 (vendor-advisory)