CVEvulnerability

CVE-2013-5018

4.3 MEDIUM Published 2013-08-28 Modified 2026-06-16 Official page ↗
Status
Modified
Published
2013-08-28
Last modified
2026-06-16
Assigner
[email protected]
CVSS 2.0 ([email protected])
4.3 MEDIUM — AV:N/AC:M/Au:N/C:N/I:N/A:P
Weaknesses
CWE-119

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.

Affected configurations

• strongswan strongswan 4.1.11 • strongswan strongswan 5.0.0 • strongswan strongswan 5.0.1 • strongswan strongswan 5.0.2 • strongswan strongswan 5.0.3 • strongswan strongswan 5.0.4 • opensuse opensuse 11.4 • opensuse opensuse 12.2 • opensuse opensuse 12.3

Related

Weakness · CWE (1)

  • CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer weakness

References