CVE catalog

CVE-2022-4967

strongswan: CVE-2022-4967

[CVE catalog]

Severity
Medium
Published
Source
[NVD] · [CVE record]
EPSS
0.47% · Oct 25, 2026

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

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianstrongswansid6.1.0-2fixed
Debianstrongswanforky6.1.0-2fixed
Debianstrongswantrixie6.0.1-6+deb13u6fixed
Debianstrongswantrixie-security6.0.1-6+deb13u7fixed
Debianstrongswanbookworm5.9.8-5+deb12u5fixed
Debianstrongswanbookworm-security5.9.8-5+deb12u5fixed
Ubuntustrongswan22.045.9.1-1ubuntu3vulnerable
Ubuntustrongswan22.045.9.1-1ubuntu3.1vulnerable
Ubuntustrongswan22.045.9.4-1ubuntu1vulnerable
Ubuntustrongswan22.045.9.4-1ubuntu2vulnerable
Ubuntustrongswan22.045.9.4-1ubuntu3vulnerable
Ubuntustrongswan22.045.9.4-1ubuntu4vulnerable
Ubuntustrongswan22.045.9.5-2ubuntu1vulnerable
Ubuntustrongswan22.045.9.5-2ubuntu2vulnerable
Ubuntustrongswan22.045.9.5-2ubuntu2.1vulnerable
Ubuntustrongswan22.045.9.5-2ubuntu2.2vulnerable
Ubuntustrongswan22.045.9.5-2ubuntu2.3fixed
Ubuntustrongswan22.045.9.1-1ubuntu3vulnerable
Ubuntustrongswan22.045.9.1-1ubuntu3.1vulnerable
Ubuntustrongswan22.045.9.4-1ubuntu1vulnerable
Ubuntustrongswan22.045.9.4-1ubuntu2vulnerable
Ubuntustrongswan22.045.9.4-1ubuntu3vulnerable
Ubuntustrongswan22.045.9.4-1ubuntu4vulnerable
Ubuntustrongswan22.045.9.5-2ubuntu1vulnerable
Ubuntustrongswan22.045.9.5-2ubuntu2vulnerable
Ubuntustrongswan22.045.9.5-2ubuntu2.1vulnerable
Ubuntustrongswan22.045.9.5-2ubuntu2.2vulnerable
Ubuntustrongswan22.045.9.5-2ubuntu2.3fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianstrongswansourcesid5.9.6-1not yet assignedNot reportedNot reported
Debianstrongswansourceforky5.9.6-1not yet assignedNot reportedNot reported
Debianstrongswansourcetrixie5.9.6-1not yet assignedNot reportedNot reported
Debianstrongswansourcebookworm5.9.6-1not yet assignedNot reportedNot reported
Ubuntustrongswandeb22.045.9.5-2ubuntu2.3Not reportedUSN-6772-1Not reported
Ubuntustrongswandeb22.045.9.5-2ubuntu2.3Not reportedUBUNTU-CVE-2022-4967Not reported

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

[Debian 12 (Bookworm)]

  • [charon-cmd]Unknown

    Source package: [strongswan]

    Details (4)
    • 5.9.8-5+deb12u5 · amd64 · bookworm

      Fixed · Fixed: 5.9.6-1

      dsa · strongswan · debian · bookworm

    • 5.9.8-5+deb12u5 · arm64 · bookworm

      Fixed · Fixed: 5.9.6-1

      dsa · strongswan · debian · bookworm

    • 5.9.8-5+deb12u5 · amd64 · bookworm-security

      Fixed · Fixed: 5.9.6-1

      dsa · strongswan · debian · bookworm

    • 5.9.8-5+deb12u5 · arm64 · bookworm-security

      Fixed · Fixed: 5.9.6-1

      dsa · strongswan · debian · bookworm

  • Source package: [strongswan]

    Details (4)
    • 5.9.8-5+deb12u5 · amd64 · bookworm

      Fixed · Fixed: 5.9.6-1

      dsa · strongswan · debian · bookworm

    • 5.9.8-5+deb12u5 · arm64 · bookworm

      Fixed · Fixed: 5.9.6-1

      dsa · strongswan · debian · bookworm

    • 5.9.8-5+deb12u5 · amd64 · bookworm-security

      Fixed · Fixed: 5.9.6-1

      dsa · strongswan · debian · bookworm

    • 5.9.8-5+deb12u5 · arm64 · bookworm-security

      Fixed · Fixed: 5.9.6-1

      dsa · strongswan · debian · bookworm

  • Source package: [strongswan]

    Details (4)
    • 5.9.8-5+deb12u5 · amd64 · bookworm

      Fixed · Fixed: 5.9.6-1

      dsa · strongswan · debian · bookworm

    • 5.9.8-5+deb12u5 · arm64 · bookworm

      Fixed · Fixed: 5.9.6-1

      dsa · strongswan · debian · bookworm

    • 5.9.8-5+deb12u5 · amd64 · bookworm-security

      Fixed · Fixed: 5.9.6-1

      dsa · strongswan · debian · bookworm

    • 5.9.8-5+deb12u5 · arm64 · bookworm-security

      Fixed · Fixed: 5.9.6-1

      dsa · strongswan · debian · bookworm

  • Source package: [strongswan]

    Details (4)
    • 5.9.8-5+deb12u5 · amd64 · bookworm

      Fixed · Fixed: 5.9.6-1

      dsa · strongswan · debian · bookworm

    • 5.9.8-5+deb12u5 · arm64 · bookworm

      Fixed · Fixed: 5.9.6-1

      dsa · strongswan · debian · bookworm

    • 5.9.8-5+deb12u5 · amd64 · bookworm-security

      Fixed · Fixed: 5.9.6-1

      dsa · strongswan · debian · bookworm

    • 5.9.8-5+deb12u5 · arm64 · bookworm-security

      Fixed · Fixed: 5.9.6-1

      dsa · strongswan · debian · bookworm

  • [libstrongswan]Unknown

    Source package: [strongswan]

    Details (4)
    • 5.9.8-5+deb12u5 · amd64 · bookworm

      Fixed · Fixed: 5.9.6-1

      dsa · strongswan · debian · bookworm

    • 5.9.8-5+deb12u5 · arm64 · bookworm

      Fixed · Fixed: 5.9.6-1

      dsa · strongswan · debian · bookworm

    • 5.9.8-5+deb12u5 · amd64 · bookworm-security

      Fixed · Fixed: 5.9.6-1

      dsa · strongswan · debian · bookworm

    • 5.9.8-5+deb12u5 · arm64 · bookworm-security

      Fixed · Fixed: 5.9.6-1

      dsa · strongswan · debian · bookworm

  • Source package: [strongswan]

    Details (4)
    • 5.9.8-5+deb12u5 · amd64 · bookworm

      Fixed · Fixed: 5.9.6-1

      dsa · strongswan · debian · bookworm

    • 5.9.8-5+deb12u5 · arm64 · bookworm

      Fixed · Fixed: 5.9.6-1

      dsa · strongswan · debian · bookworm

    • 5.9.8-5+deb12u5 · amd64 · bookworm-security

      Fixed · Fixed: 5.9.6-1

      dsa · strongswan · debian · bookworm

    • 5.9.8-5+deb12u5 · arm64 · bookworm-security

      Fixed · Fixed: 5.9.6-1

      dsa · strongswan · debian · bookworm

  • Source package: [strongswan]

    Details (4)
    • 5.9.8-5+deb12u5 · amd64 · bookworm

      Fixed · Fixed: 5.9.6-1

      dsa · strongswan · debian · bookworm

    • 5.9.8-5+deb12u5 · arm64 · bookworm

      Fixed · Fixed: 5.9.6-1

      dsa · strongswan · debian · bookworm

    • 5.9.8-5+deb12u5 · amd64 · bookworm-security

      Fixed · Fixed: 5.9.6-1

      dsa · strongswan · debian · bookworm

    • 5.9.8-5+deb12u5 · arm64 · bookworm-security

      Fixed · Fixed: 5.9.6-1

      dsa · strongswan · debian · bookworm

  • [strongswan]Unknown
    Details (4)
    • 5.9.8-5+deb12u5 · all · bookworm

      Fixed · Fixed: 5.9.6-1

      dsa · strongswan · debian · bookworm

    • 5.9.8-5+deb12u5 · all · bookworm

      Fixed · Fixed: 5.9.6-1

      dsa · strongswan · debian · bookworm

    • 5.9.8-5+deb12u5 · all · bookworm-security

      Fixed · Fixed: 5.9.6-1

      dsa · strongswan · debian · bookworm

    • 5.9.8-5+deb12u5 · all · bookworm-security

      Fixed · Fixed: 5.9.6-1

      dsa · strongswan · debian · bookworm

  • Source package: [strongswan]

    Details (4)
    • 5.9.8-5+deb12u5 · amd64 · bookworm

      Fixed · Fixed: 5.9.6-1

      dsa · strongswan · debian · bookworm

    • 5.9.8-5+deb12u5 · arm64 · bookworm

      Fixed · Fixed: 5.9.6-1

      dsa · strongswan · debian · bookworm

    • 5.9.8-5+deb12u5 · amd64 · bookworm-security

      Fixed · Fixed: 5.9.6-1

      dsa · strongswan · debian · bookworm

    • 5.9.8-5+deb12u5 · arm64 · bookworm-security

      Fixed · Fixed: 5.9.6-1

      dsa · strongswan · debian · bookworm

  • Source package: [strongswan]

    Details (4)
    • 5.9.8-5+deb12u5 · amd64 · bookworm

      Fixed · Fixed: 5.9.6-1

      dsa · strongswan · debian · bookworm

    • 5.9.8-5+deb12u5 · arm64 · bookworm

      Fixed · Fixed: 5.9.6-1

      dsa · strongswan · debian · bookworm

    • 5.9.8-5+deb12u5 · amd64 · bookworm-security

      Fixed · Fixed: 5.9.6-1

      dsa · strongswan · debian · bookworm

    • 5.9.8-5+deb12u5 · arm64 · bookworm-security

      Fixed · Fixed: 5.9.6-1

      dsa · strongswan · debian · bookworm

  • [strongswan-nm]Unknown

    Source package: [strongswan]

    Details (4)
    • 5.9.8-5+deb12u5 · amd64 · bookworm

      Fixed · Fixed: 5.9.6-1

      dsa · strongswan · debian · bookworm

    • 5.9.8-5+deb12u5 · arm64 · bookworm

      Fixed · Fixed: 5.9.6-1

      dsa · strongswan · debian · bookworm

    • 5.9.8-5+deb12u5 · amd64 · bookworm-security

      Fixed · Fixed: 5.9.6-1

      dsa · strongswan · debian · bookworm

    • 5.9.8-5+deb12u5 · arm64 · bookworm-security

      Fixed · Fixed: 5.9.6-1

      dsa · strongswan · debian · bookworm

  • Source package: [strongswan]

    Details (4)
    • 5.9.8-5+deb12u5 · amd64 · bookworm

      Fixed · Fixed: 5.9.6-1

      dsa · strongswan · debian · bookworm

    • 5.9.8-5+deb12u5 · arm64 · bookworm

      Fixed · Fixed: 5.9.6-1

      dsa · strongswan · debian · bookworm

    • 5.9.8-5+deb12u5 · amd64 · bookworm-security

      Fixed · Fixed: 5.9.6-1

      dsa · strongswan · debian · bookworm

    • 5.9.8-5+deb12u5 · arm64 · bookworm-security

      Fixed · Fixed: 5.9.6-1

      dsa · strongswan · debian · bookworm

  • Source package: [strongswan]

    Details (4)
    • 5.9.8-5+deb12u5 · amd64 · bookworm

      Fixed · Fixed: 5.9.6-1

      dsa · strongswan · debian · bookworm

    • 5.9.8-5+deb12u5 · arm64 · bookworm

      Fixed · Fixed: 5.9.6-1

      dsa · strongswan · debian · bookworm

    • 5.9.8-5+deb12u5 · amd64 · bookworm-security

      Fixed · Fixed: 5.9.6-1

      dsa · strongswan · debian · bookworm

    • 5.9.8-5+deb12u5 · arm64 · bookworm-security

      Fixed · Fixed: 5.9.6-1

      dsa · strongswan · debian · bookworm

  • Source package: [strongswan]

    Details (4)
    • 5.9.8-5+deb12u5 · amd64 · bookworm

      Fixed · Fixed: 5.9.6-1

      dsa · strongswan · debian · bookworm

    • 5.9.8-5+deb12u5 · arm64 · bookworm

      Fixed · Fixed: 5.9.6-1

      dsa · strongswan · debian · bookworm

    • 5.9.8-5+deb12u5 · amd64 · bookworm-security

      Fixed · Fixed: 5.9.6-1

      dsa · strongswan · debian · bookworm

    • 5.9.8-5+deb12u5 · arm64 · bookworm-security

      Fixed · Fixed: 5.9.6-1

      dsa · strongswan · debian · bookworm

Observed:

References