NULL Pointer Dereference Affecting strongswan package, versions <5.9.1-r4


Severity

Recommended
0.0
critical
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
2.78% (85th 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-ALPINE324-STRONGSWAN-17298301
  • published11 Jun 2026
  • disclosed31 Jan 2022

Introduced: 31 Jan 2022

CVE-2021-45079  (opens in a new tab)
CWE-476  (opens in a new tab)

How to fix?

Upgrade Alpine:3.24 strongswan to version 5.9.1-r4 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream strongswan package and not the strongswan package as distributed by Alpine. See How to fix? for Alpine:3.24 relevant fixed versions and status.

In strongSwan before 5.9.5, a malicious responder can send an EAP-Success message too early without actually authenticating the client and (in the case of EAP methods with mutual authentication and EAP-only authentication for IKEv2) even without server authentication.

CVSS Base Scores

version 3.1