{"id":"CVE-2023-52892","sourceIdentifier":"cve@mitre.org","published":"2024-06-27T22:15:10.277","lastModified":"2026-06-17T06:43:52.450","vulnStatus":"Analyzed","cveTags":[],"descriptions":[{"lang":"en","value":"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."},{"lang":"es","value":"En phpseclib anterior a 1.0.22, 2.x anterior a 2.0.46 y 3.x anterior a 3.0.33, se permite incorrectamente que algunos caracteres en los campos Nombre alternativo del sujeto en los certificados TLS tengan un significado especial en expresiones regulares (como + comodín), lo que genera confusión de nombres en la verificación del host de certificados X.509."}],"affected":[{"source":"cve@mitre.org","affectedData":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}]},{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","affectedData":[{"vendor":"phpseclib","product":"phpseclib","defaultStatus":"unknown","cpes":["cpe:2.3:a:phpseclib:phpseclib:*:*:*:*:*:*:*:*"],"versions":[{"version":"0","lessThan":"1.0.22","versionType":"custom","status":"affected"},{"version":"2.0","lessThan":"2.0.46","versionType":"custom","status":"affected"},{"version":"3.0","lessThan":"3.0.33","versionType":"custom","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","baseScore":7.5,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"NONE"},"exploitabilityScore":3.9,"impactScore":3.6}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2024-08-21T19:54:11.710267Z","id":"CVE-2023-52892","options":[{"exploitation":"none"},{"automatable":"yes"},{"technicalImpact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","type":"Secondary","description":[{"lang":"en","value":"CWE-436"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:phpseclib:phpseclib:*:*:*:*:*:*:*:*","versionStartIncluding":"1.0.0","versionEndExcluding":"1.0.22","matchCriteriaId":"AC278869-68C8-4B15-9ADE-0B22DCDD2E91"},{"vulnerable":true,"criteria":"cpe:2.3:a:phpseclib:phpseclib:*:*:*:*:*:*:*:*","versionStartIncluding":"2.0.0","versionEndExcluding":"2.0.46","matchCriteriaId":"B3497E33-6207-4B0D-9E11-71C90048695C"},{"vulnerable":true,"criteria":"cpe:2.3:a:phpseclib:phpseclib:*:*:*:*:*:*:*:*","versionStartIncluding":"3.0.0","versionEndExcluding":"3.0.33","matchCriteriaId":"6A3C5942-8313-4EC1-9333-490EA25E26B2"}]}]}],"references":[{"url":"https://github.com/phpseclib/phpseclib/commit/6cd6e8ceab9f2b55c8cd81d2192bf98cbeaf4627","source":"cve@mitre.org","tags":["Patch"]},{"url":"https://github.com/phpseclib/phpseclib/issues/1943","source":"cve@mitre.org","tags":["Exploit","Issue Tracking"]},{"url":"https://github.com/phpseclib/phpseclib/releases/tag/3.0.33","source":"cve@mitre.org","tags":["Release Notes"]},{"url":"https://github.com/x509-name-testing/name_testing_artifacts","source":"cve@mitre.org","tags":["Not Applicable"]},{"url":"https://github.com/phpseclib/phpseclib/commit/6cd6e8ceab9f2b55c8cd81d2192bf98cbeaf4627","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"]},{"url":"https://github.com/phpseclib/phpseclib/issues/1943","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit","Issue Tracking"]},{"url":"https://github.com/phpseclib/phpseclib/releases/tag/3.0.33","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Release Notes"]},{"url":"https://github.com/x509-name-testing/name_testing_artifacts","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Not Applicable"]}]}