{"id":"CVE-2025-58189","state":"PUBLISHED","title":"ALPN negotiation error contains attacker controlled information in crypto/tls","description":"When Conn.Handshake fails during ALPN negotiation the error contains attacker controlled information (the ALPN protocols sent by the client) which is not escaped.","publishedAt":"2025-10-29T22:10:12.947Z","updatedAt":"2025-11-04T21:13:39.428Z","severity":{"score":5.3,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","source":"CISA-ADP"},"assigner":"Go","products":["Go standard library crypto/tls"],"affected":[{"vendor":"Go standard library","product":"crypto/tls","packageName":"crypto/tls","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"1.24.8","versionType":"semver"},{"version":"1.25.0","status":"affected","lessThan":"1.25.2","versionType":"semver"}],"collectionURL":"https://pkg.go.dev","programRoutines":[{"name":"negotiateALPN"},{"name":"Conn.Handshake"},{"name":"Conn.HandshakeContext"},{"name":"Conn.Read"},{"name":"Conn.Write"},{"name":"Dial"},{"name":"DialWithDialer"},{"name":"Dialer.Dial"},{"name":"Dialer.DialContext"},{"name":"QUICConn.Start"}]}],"references":["https://go.dev/cl/707776","https://go.dev/issue/75652","https://groups.google.com/g/golang-announce/c/4Emdl2iQ_bI","https://pkg.go.dev/vuln/GO-2025-4008","http://www.openwall.com/lists/oss-security/2025/10/08/1"],"weaknesses":[],"ingestedAt":"2026-10-29T20:09:39.787Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/58xxx/CVE-2025-58189.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-58189","state":"PUBLISHED","datePublished":"2025-10-29T22:10:12.947Z","dateUpdated":"2025-11-04T21:13:39.428Z","assignerShortName":"Go","assignerOrgId":"1bb62c36-49e3-4200-9d77-64a1400537cc","dateReserved":"2025-08-27T14:50:58.692Z"},"containers":{"cna":{"title":"ALPN negotiation error contains attacker controlled information in crypto/tls","descriptions":[{"lang":"en","value":"When Conn.Handshake fails during ALPN negotiation the error contains attacker controlled information (the ALPN protocols sent by the client) which is not escaped."}],"affected":[{"vendor":"Go standard library","product":"crypto/tls","packageName":"crypto/tls","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"1.24.8","versionType":"semver"},{"version":"1.25.0","status":"affected","lessThan":"1.25.2","versionType":"semver"}],"collectionURL":"https://pkg.go.dev","programRoutines":[{"name":"negotiateALPN"},{"name":"Conn.Handshake"},{"name":"Conn.HandshakeContext"},{"name":"Conn.Read"},{"name":"Conn.Write"},{"name":"Dial"},{"name":"DialWithDialer"},{"name":"Dialer.Dial"},{"name":"Dialer.DialContext"},{"name":"QUICConn.Start"}]}],"references":[{"url":"https://go.dev/cl/707776"},{"url":"https://go.dev/issue/75652"},{"url":"https://groups.google.com/g/golang-announce/c/4Emdl2iQ_bI"},{"url":"https://pkg.go.dev/vuln/GO-2025-4008"}],"problemTypes":[{"descriptions":[{"lang":"en","description":"CWE-117: Improper Output Neutralization for Logs"}]}],"providerMetadata":{"shortName":"Go","orgId":"1bb62c36-49e3-4200-9d77-64a1400537cc","dateUpdated":"2025-10-29T22:10:12.947Z"},"credits":[{"lang":"en","value":"National Cyber Security Centre Finland"}]},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":5.3,"attackVector":"NETWORK","baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","integrityImpact":"NONE","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"NONE","privilegesRequired":"NONE","confidentialityImpact":"LOW"}},{"other":{"type":"ssvc","content":{"timestamp":"2025-11-03T19:50:48.668117Z","id":"CVE-2025-58189","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-11-03T19:51:22.704Z"}},{"title":"CVE Program Container","references":[{"url":"http://www.openwall.com/lists/oss-security/2025/10/08/1"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2025-11-04T21:13:39.428Z"}}]}}}