CVE-2009-2661 Denial of service in n/a

Medium 5.0 Published Updated

Remote attackers can crash the strongSwan IKE daemon by sending malformed ASN.1 data in X.509 certificates, causing a denial of service.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2009-2661?

CVE-2009-2661 is a medium-severity denial of service vulnerability in n/a, published on 4 Aug 2009. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The asn1_length function in strongSwan 2.8 before 2.8.11, 4.2 before 4.2.17, and 4.3 before 4.3.3 does not properly handle X.509 certificates with crafted Relative Distinguished Names (RDNs), which allows remote attackers to cause a denial of service (pluto IKE daemon crash) via malformed ASN.1 data. NOTE: this is due to an incomplete fix for CVE-2009-2185.

Weakness: CWE-310

Which versions are affected by CVE-2009-2661?

It affects 1 product.

Products include Strongswan Strongswan.

How do I fix CVE-2009-2661?

Upgrade to a fixed version.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2009-2661 being exploited?

There is no known exploitation of CVE-2009-2661 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2009-2661, GHSA-7j3p-ffqc-xjpg.

Is CVE-2009-2661 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free