{"id":"CVE-2022-32531","summary":"Apache BookKeeper: Java Client Uses Connection to Host that Failed Hostname Verification","details":"The Apache Bookkeeper Java Client (before 4.14.6 and also 4.15.0) does not close the connection to the bookkeeper server when TLS hostname verification fails. This leaves\nthe bookkeeper client vulnerable to a man in the middle attack.\n\nThe problem affects BookKeeper client prior to versions 4.14.6 and 4.15.1.","aliases":["GHSA-gxq5-79m2-gvvq","PYSEC-2022-43060"],"modified":"2026-08-12T03:51:40.738198342Z","published":"2022-12-15T10:17:19.660Z","database_specific":{"cwe_ids":["CWE-295"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/32xxx/CVE-2022-32531.json","unresolved_ranges":[{"source":"AFFECTED_FIELD","extracted_events":[{"last_affected":"4.14.5"},{"introduced":"4.15.0"},{"last_affected":"4.15.0"}]}],"cna_assigner":"apache"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/32xxx/CVE-2022-32531.json"},{"type":"ADVISORY","url":"https://lists.apache.org/thread/xyk2lfc7lzof8mksmwyympbqxts1b5s9"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-32531"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/apache/bookkeeper","events":[{"introduced":"0"},{"fixed":"a96884ec279f5fbcd628c7ae3791d99a8e19ca69"},{"introduced":"f771b7664f7f83ae4ae3e8eaa516c879c4bc7897"},{"last_affected":"f771b7664f7f83ae4ae3e8eaa516c879c4bc7897"}],"database_specific":{"cpe":["cpe:2.3:a:apache:bookkeeper:*:*:*:*:*:*:*:*","cpe:2.3:a:apache:bookkeeper:4.15.0:-:*:*:*:*:*:*"],"extracted_events":[{"introduced":"0"},{"fixed":"4.14.6"},{"introduced":"4.15.0-NA"},{"last_affected":"4.15.0-NA"}],"source":["CPE_RANGE","CPE_STRING"]}}],"versions":["4.15.0-NA","release-4.15.0","release-4.14.5","release-4.14.4-docker","release-4.14.4","release-4.14.3","release-4.14.2","release-4.14.1","release-4.14.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-32531.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N"}]}