Advisory

GHSA-ff7q-6vwh-v9m4

Also known as: CVE-2023-52892

Summary

Name confusion in x509 Subject Alternative Name fields

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2024-06-28 00:33 UTC
Modified
2024-06-28 19:13 UTC

Affected packages and fixes

phpseclib/phpseclib

Packagist · All systems

Affected

  • introduced 0, fixed 1.0.22 (ecosystem)

Fixed versions

1.0.22

Fix

The export has no generic command for this ecosystem.

phpseclib/phpseclib

Packagist · All systems

Affected

  • introduced 2.0.0, fixed 2.0.46 (ecosystem)

Fixed versions

2.0.46

Fix

The export has no generic command for this ecosystem.

phpseclib/phpseclib

Packagist · All systems

Affected

  • introduced 3.0.0, fixed 3.0.33 (ecosystem)

Fixed versions

3.0.33

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences