Menu

Star on GitHub · 3.2k

CVE-2013-5018

4.3 · MEDIUM

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 (segmenta…

Published Aug 28, 2013strongswanCWE-119EPSS 2.99%

Overview

CVE-2013-5018 is a medium-severity vulnerability affecting strongswan strongswan. It was published on August 28, 2013 and has a CVSS 2.0 base score of 4.3 (MEDIUM).

This vulnerability has a CVSS 2.0 base score of 4.3, rated MEDIUM. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

Technical 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.

Remediation

Check the references section for vendor advisories and patches from strongswan. Update strongswan to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected products

VendorProductVersionsStatus

Frequently asked questions

What is CVE-2013-5018?

CVE-2013-5018 is a medium-severity vulnerability affecting strongswan strongswan. It was published on August 28, 2013 and has a CVSS 2.0 base score of 4.3 (MEDIUM).

How severe is CVE-2013-5018?

This vulnerability has a CVSS 2.0 base score of 4.3, rated MEDIUM. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2013-5018?

Check the references section for vendor advisories and patches from strongswan. Update strongswan to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2013-5018?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2013-5018 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related MEDIUM CVEs from 2013

View all