{"id":"ECHO-eeb1-df32-dbaa","summary":"The vulnerable code postdates this version. The Python \u003e= 3.12 no-op\nhost-name matcher (sslcompat returning True when ssl.match_hostname is\nmissing) was introduced by 23e0e5ce (first released in 0.22.0) and is not\nan ancestor of v0.19.0. On trixie's Python 3.13 this version's sslcompat\nfalls back to legacy_validate_callback, which compares the certificate\ncommonName and raises on a mismatch; TSSLSocket uses PROTOCOL_SSLv23\n(the PROTOCOL_TLS alias) with check_hostname off, so that callback is\nthe check that runs. Verified with real handshakes\nagainst the built lib on Python 3.13.5: a certificate for \"localhost\"\noffered to a client expecting \"wrong.example\" is refused with the\ndefault ssl_version, with an explicit PROTOCOL_TLS (the upstream\nregression case) and with PROTOCOL_TLSv1_2, and TSSLServerSocket refuses\na trusted client certificate issued for another identity. The same\nscript against upstream v0.24.0's lib accepts both explicit-ssl_version\nmismatches, as the CVE describes. The fix d6782a87 restores a real\nmatcher in sslcompat (code this version never lost) and turns on\ncheck_hostname for explicit-ssl_version contexts, which 0.19.0 does not\nneed because open() always runs _validate_callback. Same reasoning as\nCVE-2026-66053.\n","modified":"2026-11-12T08:20:26.726286830Z","published":"2026-10-02T12:17:21.640Z","withdrawn":"2026-11-12T08:00:07.582Z","upstream":["CVE-2026-85087"],"references":[{"type":"WEB","url":"https://advisory.echohq.com/cve/CVE-2026-85087"}],"affected":[{"package":{"name":"thrift","ecosystem":"Echo","purl":"pkg:deb/echo/thrift"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.19.0-4"}]}],"database_specific":{"source":"https://advisory.echohq.com/osv/ECHO-eeb1-df32-dbaa.json"}}],"schema_version":"1.9.2"}