CVE-2022-4967 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...
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- UbuntuDebian
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).
Upgrade path
5 packages: 5 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/strongswan(Debian 12) | < 5.9.6-1 | 5.9.6-1 | Fixed |
| debian/strongswan(Debian 13) | < 5.9.6-1 | 5.9.6-1 | Fixed |
| debian/strongswan(Debian 14) | < 5.9.6-1 | 5.9.6-1 | Fixed |
| strongSwan | >= 5.9.2, < 5.9.6 | 5.9.6 | Fixed |
| ubuntu/strongswan(Ubuntu 22.04) | < 5.9.5-2ubuntu2.3; = 5.9.1-1ubuntu3; = 5.9.1-1ubuntu3.1; = 5.9.4-1ubuntu1 +7 more | 5.9.5-2ubuntu2.3 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| strongSwan | >= 5.9.2, < 5.9.6 | 5.9.6 |
| ubuntu/strongswan(Ubuntu:22.04) | < 5.9.5-2ubuntu2.3 | 5.9.5-2ubuntu2.3 |
| ubuntu/strongswan(Ubuntu:22.04) | = 5.9.1-1ubuntu3 | No fix listed |
| ubuntu/strongswan(Ubuntu:22.04) | = 5.9.1-1ubuntu3.1 | No fix listed |
| ubuntu/strongswan(Ubuntu:22.04) | = 5.9.4-1ubuntu1 | No fix listed |
| ubuntu/strongswan(Ubuntu:22.04) | = 5.9.4-1ubuntu2 | No fix listed |
| ubuntu/strongswan(Ubuntu:22.04) | = 5.9.4-1ubuntu3 | No fix listed |
| ubuntu/strongswan(Ubuntu:22.04) | = 5.9.4-1ubuntu4 | No fix listed |
| ubuntu/strongswan(Ubuntu:22.04) | = 5.9.5-2ubuntu1 | No fix listed |
| ubuntu/strongswan(Ubuntu:22.04) | = 5.9.5-2ubuntu2 | No fix listed |
| ubuntu/strongswan(Ubuntu:22.04) | = 5.9.5-2ubuntu2.1 | No fix listed |
| ubuntu/strongswan(Ubuntu:22.04) | = 5.9.5-2ubuntu2.2 | No fix listed |
| debian/strongswan(Debian:12) | < 5.9.6-1 | 5.9.6-1 |
| debian/strongswan(Debian:13) | < 5.9.6-1 | 5.9.6-1 |
| debian/strongswan(Debian:14) | < 5.9.6-1 | 5.9.6-1 |
References
- Debian Security Tracker CVE-2022-4967 vendor-advisory
- github.com patch
- www.strongswan.org issue-tracking mitigation vendor-advisory
- www.cve.org issue-tracking third-party-advisory
- security.netapp.com third-party-advisory
- Ubuntu CVE tracker issue-tracking vendor-advisory
- USN-6772-1 vendor-advisory