CVE-2013-5018Strongswan
Medium 4.3 No auth needed
Follow: this CVE · Strongswan · Strongswan We alert you by email or Slack (account required).
- Priority
- 41
- CVSS 2.0
- 4.3
- EPSS
- 3.0% probability of exploitation in 30 days · percentile 88
- Auth required
- No
- Published
- Aug 28, 2013
- Updated
- Jun 16, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-119
- Vector
AV:N/AC:M/Au:N/C:N/I:N/A:P
What happens
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
- Apply the vendor's security update for Strongswan.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| 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 |
Official sources
References
Links published by the sources. Open them with care.
- lists.opensuse.org
- lists.opensuse.org
- lists.opensuse.org
- secunia.com Vendor Advisory
- secunia.com Vendor Advisory
- strongswan.org Vendor Advisory
- strongswan.org Vendor Advisory
- www.securityfocus.com
- lists.strongswan.org Exploit