{"id":"CVE-2022-32531","aliases":["EUVD-2022-0020","GHSA-gxq5-79m2-gvvq","PYSEC-2022-43060","UBUNTU-CVE-2022-32531"],"status":"published","title":"Apache BookKeeper: Java Client Uses Connection to Host that Failed Hostname Verification","description":"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.","severity":{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-11","score":0.01088,"percentile":0.65754,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-295"],"published":"2022-12-15T10:17:19Z","modified":"2026-10-28T02:30:27Z","fixes":[{"ecosystem":"Maven","package":"org.apache.bookkeeper:bookkeeper-common","fixed_in":["4.14.6","4.15.1"],"sources":["ghsa","osv"]},{"ecosystem":"PyPI","package":"apache-bookkeeper-client","fixed_in":["4.14.6"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"Maven","package":"org.apache.bookkeeper:bookkeeper-common","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.14.6"}]}]},{"source":"ghsa","ecosystem":"Maven","package":"org.apache.bookkeeper:bookkeeper-common","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.15.0"},{"last_affected":"4.15.0"},{"fixed":"4.15.1"}]}],"versions":["4.15.0"]},{"source":"osv","ecosystem":"Maven","package":"org.apache.bookkeeper:bookkeeper-common","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.14.6"}]}],"versions":["4.10.0","4.11.0","4.11.1","4.12.0","4.12.1","4.13.0","4.14.0","4.14.1","4.14.2","4.14.3","4.14.4","4.14.5","4.6.0","4.6.1","4.6.2","4.7.0","4.7.1","4.7.2","4.7.3","4.8.0","4.8.1","4.8.2","4.9.0","4.9.1","4.9.2"]},{"source":"osv","ecosystem":"Maven","package":"org.apache.bookkeeper:bookkeeper-common","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.15.0"},{"fixed":"4.15.1"}]}],"versions":["4.15.0"]},{"source":"osv","ecosystem":"PyPI","package":"apache-bookkeeper-client","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.14.6"}]}],"versions":["4.10.0","4.11.0","4.11.1","4.12.0","4.12.0a0","4.12.1","4.13.0","4.14.0","4.14.1","4.14.2","4.14.5","4.9.0","4.9.0a1","4.9.0a2","4.9.0a3","4.9.1","4.9.2"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"bookkeeper","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.2.4-2","4.2.4-3"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"bookkeeper","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.4.0-1"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"bookkeeper","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.4.0-1"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"bookkeeper","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.4.0-1"]}],"products":[{"vendor":"apache","product":"bookkeeper"},{"vendor":"apache software foundation","product":"apache bookkeeper"}],"references":[{"url":"https://lists.apache.org/thread/xyk2lfc7lzof8mksmwyympbqxts1b5s9","tags":["vendor-advisory","x_transferred","Mailing List","Vendor Advisory","advisory","web","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-32531","tags":["advisory"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/apache-bookkeeper-client/PYSEC-2022-43060.yaml","tags":["web"]},{"url":"https://github.com/advisories/GHSA-gxq5-79m2-gvvq"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/32xxx/CVE-2022-32531.json","tags":["advisory"]},{"url":"https://github.com/apache/bookkeeper","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2022-32531","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-32531","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2022-32531","title":"Apache BookKeeper: Java Client Uses Connection to Host that Failed Hostname Verification","description":"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.","status":"published","published":"2022-12-15T10:17:19.66Z","modified":"2025-04-17T18:20:47.178Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"medium","assessor":"adp"}],"cwes":["CWE-295"],"updated_at":"2026-11-02T14:34:36.917505Z"}],"euvd":[{"id":"EUVD-2022-0020","description":"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.","status":"published","published":"2022-12-15T10:17:19Z","modified":"2025-04-17T18:20:47Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"medium"}],"updated_at":"2026-11-02T20:52:21.05399Z"}],"ghsa":[{"id":"GHSA-gxq5-79m2-gvvq","title":"Apache Bookkeeper vulnerable to Improper Certificate Validation","description":"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 the bookkeeper client vulnerable to a man in the middle attack. The problem affects BookKeeper client prior to versions 4.14.6 and 4.15.1.","status":"published","published":"2022-12-15T21:30:29Z","modified":"2023-11-07T22:10:21Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"medium"}],"cwes":["CWE-295"],"updated_at":"2026-11-02T14:37:16.721714Z"}],"nvd":[{"id":"CVE-2022-32531","description":"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.","status":"published","published":"2022-12-15T19:15:17.673Z","modified":"2026-06-17T04:47:29.18Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"medium","assessor":"primary"},{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"medium","assessor":"secondary"}],"cwes":["CWE-295"],"updated_at":"2026-11-02T14:07:33.649381Z"}],"osv":[{"id":"CVE-2022-32531","title":"Apache BookKeeper: Java Client Uses Connection to Host that Failed Hostname Verification","description":"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.","status":"published","published":"2022-12-15T10:17:19.66Z","modified":"2026-10-28T02:30:27.880798104Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"medium"}],"cwes":["CWE-295"],"updated_at":"2026-11-02T15:44:25.860945Z"},{"id":"GHSA-gxq5-79m2-gvvq","title":"Apache Bookkeeper vulnerable to Improper Certificate Validation","description":"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 the bookkeeper client vulnerable to a man in the middle attack. The problem affects BookKeeper client prior to versions 4.14.6 and 4.15.1.","status":"published","published":"2022-12-15T21:30:29Z","modified":"2024-02-16T08:13:45.163019Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"medium"}],"cwes":["CWE-295"],"updated_at":"2026-11-02T15:46:48.546324Z"},{"id":"PYSEC-2022-43060","description":"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.","status":"published","published":"2022-12-15T19:15:00Z","modified":"2023-11-08T04:09:36.700014Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"medium"}],"updated_at":"2026-11-02T15:52:53.449407Z"},{"id":"UBUNTU-CVE-2022-32531","description":"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 the bookkeeper client vulnerable to a man in the middle attack. The problem affects BookKeeper client prior to versions 4.14.6 and 4.15.1.","status":"published","published":"2022-12-15T19:15:00Z","modified":"2025-10-24T04:53:43Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"medium"},{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"medium"}],"updated_at":"2026-11-02T16:53:54.697021Z"}]}}
