Skip to content
OpenAdvisories
High · 7.7 CVE-2022-4967 EUVD-2022-52219GHSA-2hrc-c28p-9f59

strongSwan versions 5.9.2 through 5.9.5 are affected by authorization bypass through improper validation of certificate with host mismatch …

Published May 13, 2024 · Updated Feb 13, 2025 · Assigned by canonical

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 products

VendorProductAffectedFixed
strongSwan strongSwan 5.9.2 – < 5.9.6 5.9.6

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 strongswan 5.9.6-1 —
Debian 13 strongswan 5.9.6-1 —
Debian 12 strongswan 5.9.6-1 —
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS strongswan 5.9.5-2ubuntu2.3 USN-6772-1

Advisories 2

References