Cryptographic Issues Affecting strongswan package, versions [,2.8.11)[4.2.0,4.2.17)[4.3.0,4.3.3)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Not Defined
EPSS
2.51% (90th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Cryptographic Issues vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-STRONGSWAN-2371976
  • published26 Jan 2022
  • disclosed4 Aug 2009
  • creditUnknown

Introduced: 4 Aug 2009

CVE-2009-2661  (opens in a new tab)
CWE-310  (opens in a new tab)

How to fix?

Upgrade strongswan to version 2.8.11, 4.2.17, 4.3.3 or higher.

Overview

Affected versions of this package are vulnerable to Cryptographic Issues. 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.

CVSS Scores

version 3.1