Skip to main content
← All vulnerabilities
CVE-2023-52892GHSA-FF7Q-6VWH-V9M4

In phpseclib before 1.0.22, 2.x before 2.0.46, and 3.x before 3.0.33, some characters in Subject Alternative Name fields in TLS certificates

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.0.22, 2.0.46, 3.0.33
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: total

Summary

In phpseclib before 1.0.22, 2.x before 2.0.46, and 3.x before 3.0.33, some characters in Subject Alternative Name fields in TLS certificates are incorrectly allowed to have a special meaning in regular expressions (such as a + wildcard), leading to name confusion in X.509 certificate host verification.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: total

  3. Record last updated

Affected versions

  • n/a n/a

    Version range not reported

  • phpseclib/phpseclibPackagist

    fixed in 1.0.22

  • phpseclib/phpseclibPackagist

    From 2.0.0 · fixed in 2.0.46

  • phpseclib/phpseclibPackagist

    From 3.0.0 · fixed in 3.0.33

References 4

GitHub · phpseclib/phpseclib

GitHub · x509-name-testing/name_testing_artifacts