CVE-2013-5018 json
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 allo…
published 13y ago modified 4mo ago also EUVD-2013-4860
- cvss
- 4.3
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 3.0%
- EPSS 3.0% chance of exploitation in 30 days, percentile 87%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- strongswan openSUSE Tumbleweed 5.3.5-1.1
opensuse advisories openSUSE-SU-2024:10579-1
Is CVE-2013-5018 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2013-5018 updated cvss 4.3
strongswan: denial of service flaw in 5.0.3/5.0.4
-
Red Hat Enterprise Linux 5 openswan Red Hat Enterprise Linux 6 openswan Red Hat Enterprise Linux 7 openswannot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
2.99% chance of exploitation in the next 30 days, higher than 87% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- lists.strongswan.org https://lists.strongswan.org/pipermail/users/2013-July/009540.html referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:N/A:P |
Classification
- Weakness
-
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
References
-
lists.strongswan.org
/pipermail/users/2013-July/009540.html
mailing-list, exploit
-
lists.opensuse.org
/opensuse-updates/2013-08/msg00022.html
vendor-advisory
-
lists.opensuse.org
/opensuse-updates/2013-08/msg00021.html
vendor-advisory
-
lists.opensuse.org
/opensuse-updates/2013-08/msg00050.html
vendor-advisory
-
secunia.com
/advisories/54315
third-party-advisory, vendor-advisory
-
secunia.com
/advisories/54524
third-party-advisory, vendor-advisory
-
strongswan.org
/blog/2013/08/01/strongswan-5.1.0-released.html
vendor-advisory
-
strongswan.org
/blog/2013/08/01/strongswan-denial-of-service-vulnerability-%28cve-2013-5018%29.html
vendor-advisory
-
securityfocus.com
/bid/61564
vdb-entry
Sources
- CVE List CVE-2013-5018
- NVD CVE-2013-5018
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.