CVE-2013-5018
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| suse | 11.4 | affected | |
| suse | 12.2 | affected | |
| suse | 12.3 | affected | |
| debian | bookworm | fixed | 0 |
| debian | bullseye | fixed | 0 |
| debian | forky | fixed | 0 |
| debian | sid | fixed | 0 |
| debian | trixie | fixed | 0 |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| 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 | |
References
- http://lists.opensuse.org/opensuse-updates/2013-08/msg00021.html
- http://lists.opensuse.org/opensuse-updates/2013-08/msg00022.html
- http://lists.opensuse.org/opensuse-updates/2013-08/msg00050.html
- http://secunia.com/advisories/54315
- http://secunia.com/advisories/54524
- http://strongswan.org/blog/2013/08/01/strongswan-5.1.0-released.html
- http://strongswan.org/blog/2013/08/01/strongswan-denial-of-service-vulnerability-%28cve-2013-5018%29.html
- http://www.securityfocus.com/bid/61564
- https://lists.strongswan.org/pipermail/users/2013-July/009540.html
- https://security-tracker.debian.org/tracker/CVE-2013-5018
CWEs
CWE-119
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.