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.
What to do
None of the Linux distributions or Windows releases we track list an affected package for this CVE. Check the vendor-reported products below.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 16.04 | strongswan | Not affected vulnerable_code_not_present | ||
| Red Hat Enterprise Linux 7 | openswan | Not affected | ||
| Red Hat Enterprise Linux 6 | openswan | Not affected | ||
| Red Hat Enterprise Linux 6 | openswan-doc | Not affected | ||
| Red Hat Enterprise Linux 5 | openswan | Not affected |
What the vendor says
As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- http://lists.opensuse.org/opensuse-updates/2013-08/msg00022.html (vendor-advisory)
- http://lists.opensuse.org/opensuse-updates/2013-08/msg00021.html (vendor-advisory)
- http://lists.opensuse.org/opensuse-updates/2013-08/msg00050.html (vendor-advisory)
References
- http://secunia.com/advisories/54315
- http://www.securityfocus.com/bid/61564
- http://secunia.com/advisories/54524
- http://strongswan.org/blog/2013/08/01/strongswan-5.1.0-released.html
- http://lists.opensuse.org/opensuse-updates/2013-08/msg00022.html
- http://strongswan.org/blog/2013/08/01/strongswan-denial-of-service-vulnerability-%28cve-2013-5018%29.html
- http://lists.opensuse.org/opensuse-updates/2013-08/msg00021.html
- https://lists.strongswan.org/pipermail/users/2013-July/009540.html
- http://lists.opensuse.org/opensuse-updates/2013-08/msg00050.html
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.