Improper Input Validation Affecting strongswan package, versions [,2.4.15)[2.6.0,2.6.22)[2.8.0,2.8.10)[4.2.0,4.2.16)[4.3.0,4.3.2)


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
8.06% (95th 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 Improper Input Validation vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-STRONGSWAN-2371949
  • published26 Jan 2022
  • disclosed25 Jun 2009
  • creditUnknown

Introduced: 25 Jun 2009

CVE-2009-2185  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade strongswan to version 2.4.15, 2.6.22, 2.8.10, 4.2.16, 4.3.2 or higher.

Overview

Affected versions of this package are vulnerable to Improper Input Validation. The ASN.1 parser (pluto/asn1.c, libstrongswan/asn1/asn1.c, libstrongswan/asn1/asn1_parser.c) in (a) strongSwan 2.8 before 2.8.10, 4.2 before 4.2.16, and 4.3 before 4.3.2; and (b) openSwan 2.6 before 2.6.22 and 2.4 before 2.4.15 allows remote attackers to cause a denial of service (pluto IKE daemon crash) via an X.509 certificate with (1) crafted Relative Distinguished Names (RDNs), (2) a crafted UTCTIME string, or (3) a crafted GENERALIZEDTIME string.

CVSS Scores

version 3.1