# CVE-2022-32531: Apache BookKeeper: Java Client Uses Connection to Host that Failed Hostname Verification

- Severity: Medium 5.9 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.13%, higher than 67% of CVEs (2026-12-01)
- Published: 2022-12-15T10:17:19.660Z
- Modified: 2026-06-17T04:47:29.180Z
- Also known as: GHSA-gxq5-79m2-gvvq, PYSEC-2022-43060
- Weaknesses: CWE-295
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: apache

## 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.

(As written by CVE List.)

## Affected

- Apache Software Foundation Apache BookKeeper: up to 4.14.5; 4.15.0
- org.apache.bookkeeper:bookkeeper-common (Maven): before 4.14.6; from 4.15.0 before 4.15.1
- apache bookkeeper: before 4.14.6; 4.15.0
- apache-bookkeeper-client (PyPI): before 4.14.6

## Every score

- CISA-ADP: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N`
- GitHub: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N`
- NVD: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N`
- PyPA Advisory Database: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N`

## References

- <https://lists.apache.org/thread/xyk2lfc7lzof8mksmwyympbqxts1b5s9> (advisory, mailing-list, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-32531> (advisory)
- <https://github.com/apache/bookkeeper> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/apache-bookkeeper-client/PYSEC-2022-43060.yaml> (web)

## Sources

- CVE List: [CVE-2022-32531](https://www.cve.org/CVERecord?id=CVE-2022-32531), CVE Terms of Use, modified 2025-04-17
- GitHub Advisory Database: [GHSA-gxq5-79m2-gvvq](https://github.com/advisories/GHSA-gxq5-79m2-gvvq), CC-BY-4.0, modified 2024-02-16
- NVD: [CVE-2022-32531](https://nvd.nist.gov/vuln/detail/CVE-2022-32531), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2022-43060](https://osv.dev/vulnerability/PYSEC-2022-43060), CC-BY-4.0, modified 2023-11-08

---

Page: https://cve.day/CVE-2022-32531 · Whole record: https://cve.day/CVE-2022-32531.json · Rebuilt by cve.day 2026-11-25T22:58:17.556Z
