Out-of-Bounds Affecting strongswan package, versions [0,5.1.1)


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

Exploit Maturity
Not Defined
EPSS
0.57% (79th 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 IDSNYK-UNMANAGED-STRONGSWAN-2371963
  • published26 Jan 2022
  • disclosed2 Nov 2013
  • creditUnknown

Introduced: 2 Nov 2013

CVE-2013-6075  (opens in a new tab)
CWE-119  (opens in a new tab)

How to fix?

Upgrade strongswan to version 5.1.1 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-Bounds. The compare_dn function in utils/identification.c in strongSwan 4.3.3 through 5.1.1 allows (1) remote attackers to cause a denial of service (out-of-bounds read, NULL pointer dereference, and daemon crash) or (2) remote authenticated users to impersonate arbitrary users and bypass access restrictions via a crafted ID_DER_ASN1_DN ID, related to an "insufficient length check" during identity comparison.

References

CVSS Scores

version 3.1