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 (86.8th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 87th percentile — 86.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.030 · newest: 0.030 · change: 0.000
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 (Vendor Advisory, third-party-advisory)
- www.securityfocus.com/bid/61564 (vdb-entry)
- secunia.com/advisories/54524 (Vendor Advisory, third-party-advisory)
- strongswan.org/blog/2013/08/01/strongswan-5.1.0-released.html (Vendor Advisory)
- lists.opensuse.org/opensuse-updates/2013-08/msg00022.html (vendor-advisory)
- strongswan.org/blog/2013/08/01/strongswan-denial-of-service-vulnerability-(cve-… (Vendor Advisory)
- lists.opensuse.org/opensuse-updates/2013-08/msg00021.html (vendor-advisory)
- lists.strongswan.org/pipermail/users/2013-July/009540.html (mailing-list, Exploit)
- lists.opensuse.org/opensuse-updates/2013-08/msg00050.html (vendor-advisory)