CVEvulnerability
CVE-2013-5018
4.3 MEDIUM
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
- http://lists.opensuse.org/opensuse-updates/2013-08/msg00021.html lists.opensuse.org
- http://lists.opensuse.org/opensuse-updates/2013-08/msg00022.html lists.opensuse.org
- http://lists.opensuse.org/opensuse-updates/2013-08/msg00050.html lists.opensuse.org
- http://secunia.com/advisories/54315 Vendor Advisory
- http://secunia.com/advisories/54524 Vendor Advisory
- http://strongswan.org/blog/2013/08/01/strongswan-5.1.0-released.html Vendor Advisory
- http://strongswan.org/blog/2013/08/01/strongswan-denial-of-service-vulnerability-%28cve-2013-5018%29.html Vendor Advisory
- http://www.securityfocus.com/bid/61564 www.securityfocus.com
- https://lists.strongswan.org/pipermail/users/2013-July/009540.html Exploit
- http://lists.opensuse.org/opensuse-updates/2013-08/msg00021.html lists.opensuse.org
- http://lists.opensuse.org/opensuse-updates/2013-08/msg00022.html lists.opensuse.org
- http://lists.opensuse.org/opensuse-updates/2013-08/msg00050.html lists.opensuse.org
- http://secunia.com/advisories/54315 Vendor Advisory
- http://secunia.com/advisories/54524 Vendor Advisory
- http://strongswan.org/blog/2013/08/01/strongswan-5.1.0-released.html Vendor Advisory
- http://strongswan.org/blog/2013/08/01/strongswan-denial-of-service-vulnerability-%28cve-2013-5018%29.html Vendor Advisory
- http://www.securityfocus.com/bid/61564 www.securityfocus.com
- https://lists.strongswan.org/pipermail/users/2013-July/009540.html Exploit