Vulnerability · Published May 13, 2024 · Assigned by canonical
CVE-2022-4967
High 7.7
In plain English
A high-severity security flaw in strongSwan from strongSwan. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 40% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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).
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | strongswan | 5.9.6-1 | DEBIAN-CVE-2022-4967 |
| Debian:13 | strongswan | 5.9.6-1 | DEBIAN-CVE-2022-4967 |
| Debian:14 | strongswan | 5.9.6-1 | DEBIAN-CVE-2022-4967 |
| Ubuntu:22.04:LTS | strongswan | 5.9.5-2ubuntu2.3 | USN-6772-1 |
| Ubuntu:22.04:LTS | strongswan | 5.9.5-2ubuntu2.3 | UBUNTU-CVE-2022-4967 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| strongSwan | strongSwan | 5.9.2 – before 5.9.6 |
References
- https://github.com/strongswan/strongswan/commit/e4b4aabc4996fc61c37deab7858d07bc4d220136 patch
- https://www.strongswan.org/blog/2024/05/13/strongswan-vulnerability-(cve-2022-4967).html vendor-advisory
- https://www.cve.org/CVERecord?id=CVE-2022-4967 issue-tracking
- https://security.netapp.com/advisory/ntap-20240614-0006/