CVE-2022-4967
published high CVSS 3.1 · 7.7strongswan: potential authorization bypass with TLS-based EAP methods
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| strongSwan | — | strongswanstrongSwan · 5.9.2 to < 5.9.6 · Platforms: Linux | Affected | Not stated | canonical |
| Ubuntu | jammy | strongswan | Advisory build | 5.9.5-2ubuntu2.3 | USN-6772-1 |
| Ubuntu | jammy | charon-cmd | Advisory build | 5.9.5-2ubuntu2.3 | USN-6772-1 |
| Ubuntu | jammy | charon-systemd | Advisory build | 5.9.5-2ubuntu2.3 | USN-6772-1 |
| Ubuntu | jammy | libcharon-extauth-plugins | Advisory build | 5.9.5-2ubuntu2.3 | USN-6772-1 |
| Ubuntu | jammy | libcharon-extra-plugins | Advisory build | 5.9.5-2ubuntu2.3 | USN-6772-1 |
| Ubuntu | jammy | libstrongswan | Advisory build | 5.9.5-2ubuntu2.3 | USN-6772-1 |
| Ubuntu | jammy | libstrongswan-extra-plugins | Advisory build | 5.9.5-2ubuntu2.3 | USN-6772-1 |
Show 8 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | jammy | libstrongswan-standard-plugins | Advisory build | 5.9.5-2ubuntu2.3 | USN-6772-1 |
| Ubuntu | jammy | strongswan-charon | Advisory build | 5.9.5-2ubuntu2.3 | USN-6772-1 |
| Ubuntu | jammy | strongswan-libcharon | Advisory build | 5.9.5-2ubuntu2.3 | USN-6772-1 |
| Ubuntu | jammy | strongswan-nm | Advisory build | 5.9.5-2ubuntu2.3 | USN-6772-1 |
| Ubuntu | jammy | strongswan-pki | Advisory build | 5.9.5-2ubuntu2.3 | USN-6772-1 |
| Ubuntu | jammy | strongswan-scepclient | Advisory build | 5.9.5-2ubuntu2.3 | USN-6772-1 |
| Ubuntu | jammy | strongswan-starter | Advisory build | 5.9.5-2ubuntu2.3 | USN-6772-1 |
| Ubuntu | jammy | strongswan-swanctl | Advisory build | 5.9.5-2ubuntu2.3 | USN-6772-1 |
Description
strongSwan versions 5.9.2 through 5.9.5 are affected by authorization bypass through improper validation of certificate with host mismatch (CWE-297). When certificates are used to authenticate clients in TLS-based EAP methods, the IKE or EAP identity supplied by a client is not enforced to be contained in the client's certificate. So clients can authenticate with any trusted certificate and claim an arbitrary IKE/EAP identity as their own. This is problematic if the identity is used to make policy decisions. A fix was released in strongSwan version 5.9.6 in August 2022 (e4b4aabc4996fc61c37deab7858d07bc4d220136).
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.7 / 10
- Severity
- high
- Provider
- canonical · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| strongSwan | strongSwan | 5.9.2 to < 5.9.6 (affected · semver) | canonical · cna |
Weaknesses
1- CWE-297
References
4Provider assertions
3canonical · cna
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- cf4f1e3d8b2b21958c2f9de8e69f6a90e95b6f79df829b52bdb186053bb7ecfc
- Ingested
- 23 Sep 2026, 08:04:39 UTC
- Source record
- Official CVE record