CVE-2013-5018Improper Restriction of Operations within the Bounds of a Memory Buffer in Strongswan

Severity
4.3MEDIUMNVD
EPSS
2.9%
top 13.63%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedAug 28
Latest updateMay 14

Description

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.

CVSS vector

AV:N/AC:M/C:N/I:N/A:PExploitability: 8.6 | Impact: 2.9

Affected Packages4 packages

Ubuntustrongswan/strongswan< 5.1.2-0ubuntu1
NVDstrongswan/strongswan6 versions+5
NVDopensuse/opensuse11.4, 12.2, 12.3+2

🔴Vulnerability Details

2
GHSA
GHSA-7xq3-j5px-xf94: The is_asn1 function in strongSwan 42022-05-14
OSV
CVE-2013-5018: The is_asn1 function in strongSwan 42013-08-28

📋Vendor Advisories

2
Red Hat
strongswan: denial of service flaw in 5.0.3/5.0.42013-08-01
Debian
CVE-2013-5018: strongswan - The is_asn1 function in strongSwan 4.1.11 through 5.0.4 does not properly valida...2013

💬Community

2
Bugzilla
CVE-2013-5018 strongswan: denial of service flaw in strongswan 5.0.3/5.0.4 [fedora-all]2013-08-01
Bugzilla
CVE-2013-5018 strongswan: denial of service flaw in 5.0.3/5.0.42013-08-01