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.

Severity (CVSS 3.1)7.7High
Exploit odds (30 days)0.5%top 59.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Debian:12strongswan5.9.6-1DEBIAN-CVE-2022-4967
Debian:13strongswan5.9.6-1DEBIAN-CVE-2022-4967
Debian:14strongswan5.9.6-1DEBIAN-CVE-2022-4967
Ubuntu:22.04:LTSstrongswan5.9.5-2ubuntu2.3USN-6772-1
Ubuntu:22.04:LTSstrongswan5.9.5-2ubuntu2.3UBUNTU-CVE-2022-4967

Affected products (as reported)

VendorProductVersions
strongSwan strongSwan 5.9.2 – before 5.9.6

References