Vulnerabilities / CVE-2021-45079

critical

CVE-2021-45079

In strongSwan before 5.9.5, a malicious responder can send an EAP-Succ ...

Published Modified CWE 476
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H

Trivy's own label is CRITICAL. Rated critical by NVD, CBL-Mariner, Photon OS. Rated lower by Ubuntu (medium).

Description

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.

Affected packages and fixed versions

SourcePackageFixed in
CBL-Mariner 1.0strongswan0:5.7.2-5.cm1
CBL-Mariner 2.0strongswan0:5.9.5-1.cm2
Photon OS 1.0strongswan5.5.2-6.ph1
Photon OS 2.0strongswan5.5.2-8.ph2
Photon OS 3.0strongswan5.6.3-6.ph3
Photon OS 4.0strongswan5.9.0-4.ph4
alpine 3.13strongswan5.9.1-r2
alpine 3.14strongswan5.9.1-r3
alpine 3.15strongswan5.9.1-r4
alpine 3.16strongswan5.9.1-r4
alpine 3.17strongswan5.9.1-r4
alpine 3.18strongswan5.9.1-r4
Show all 43 entries from 43 sources
SourcePackageFixed in
CBL-Mariner 1.0strongswan0:5.7.2-5.cm1
CBL-Mariner 2.0strongswan0:5.9.5-1.cm2
Photon OS 1.0strongswan5.5.2-6.ph1
Photon OS 2.0strongswan5.5.2-8.ph2
Photon OS 3.0strongswan5.6.3-6.ph3
Photon OS 4.0strongswan5.9.0-4.ph4
alpine 3.13strongswan5.9.1-r2
alpine 3.14strongswan5.9.1-r3
alpine 3.15strongswan5.9.1-r4
alpine 3.16strongswan5.9.1-r4
alpine 3.17strongswan5.9.1-r4
alpine 3.18strongswan5.9.1-r4
alpine 3.19strongswan5.9.1-r4
alpine 3.20strongswan5.9.1-r4
alpine 3.21strongswan5.9.1-r4
alpine 3.22strongswan5.9.1-r4
alpine 3.23strongswan5.9.1-r4
alpine 3.24strongswan5.9.1-r4
alpine edgestrongswan5.9.1-r4
debian 10strongswan5.7.2-1+deb10u2
debian 11strongswan5.9.1-1+deb11u2
debian 12strongswan5.9.5-1
debian 13strongswan5.9.5-1
debian 14strongswan5.9.5-1
debian 9strongswan5.5.1-4+deb9u6
echostrongswan5.9.5-1
ubuntu 14.04-ESMstrongswan5.1.2-0ubuntu2.11+esm2
ubuntu 16.04-ESMstrongswan5.3.5-1ubuntu3.8+esm2
ubuntu 18.04strongswan5.6.2-1ubuntu2.8
ubuntu 18.04-ESMstrongswan5.6.2-1ubuntu2.8
ubuntu 20.04strongswan5.8.2-1ubuntu3.4
ubuntu 20.04-ESMstrongswan5.8.2-1ubuntu3.4
ubuntu 21.10strongswan5.9.1-1ubuntu3.2
ubuntu 22.04strongswan5.9.4-1ubuntu4
ubuntu 22.10strongswan5.9.4-1ubuntu4
ubuntu 23.04strongswan5.9.4-1ubuntu4
ubuntu 23.10strongswan5.9.4-1ubuntu4
ubuntu 24.04strongswan5.9.4-1ubuntu4
ubuntu 24.10strongswan5.9.4-1ubuntu4
ubuntu 25.04strongswan5.9.4-1ubuntu4
ubuntu 25.10strongswan5.9.4-1ubuntu4
ubuntu 26.04strongswan5.9.4-1ubuntu4
ubuntu 26.10strongswan5.9.4-1ubuntu4

References

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.