Buffer overflow in strongSwan and Opensuse - CVE-2013-5018

 

Buffer overflow in strongSwan and Opensuse - CVE-2013-5018

Published: August 29, 2013 / Updated: August 10, 2020


Vulnerability identifier: #VU42619
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2013-5018
CWE-ID: CWE-119
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: strongswan.org
SUSE
Affected software:
strongSwan
Opensuse

Detailed vulnerability description

The vulnerability allows a remote non-authenticated attacker to perform service disruption.

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.


How to mitigate CVE-2013-5018

Install update from vendor's website.

Sources