CVEfocus › CVE database › CVE-2022-4967

CVE-2022-4967

CVSS 7.7 HighEPSS 0.5% (higher than 39% of CVEs)Published 2024-05-13Updated 2025-02-13Assigner: canonical

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).

What to do

Fixed builds are available from Debian, Ubuntu: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

4Fixed
2Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 24.04strongswanNot affected
vulnerable_code_not_present
Ubuntu 22.04strongswanFixed5.9.5-2ubuntu2.3UBUNTU-CVE-2022-4967
Ubuntu 20.04strongswanNot affected
vulnerable_code_not_present
Debian 14strongswanFixed5.9.6-1DEBIAN-CVE-2022-4967
Debian 13strongswanFixed5.9.6-1DEBIAN-CVE-2022-4967
Debian 12strongswanFixed5.9.6-1DEBIAN-CVE-2022-4967

What the vendor says

As published in the CVE record by canonical, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.