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

- Priority: **Routine**
- Reason: Not severe (CVSS 5.9, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2022-12-15 · Modified: 2025-04-17
- Aliases: PYSEC-2022-43060, GHSA-gxq5-79m2-gvvq, UBUNTU-CVE-2022-32531
- Record: https://cvemate.com/vulnerability/CVE-2022-32531 · JSON: https://cvemate.com/vulnerability/CVE-2022-32531/json

## Description

```text
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.
```

## Signals

- CVSS: 5.9 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
- EPSS: 1.127%, percentile 67.415%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- apache software foundation apache bookkeeper: ≤ 4.14.5 \| 4.15.0
- apache bookkeeper: \< 4.14.6 \| 4.15.0 \| 4.15.0:rc0
- ubuntu bookkeeper (Ubuntu): All versions (No fix recorded)
- org.apache.bookkeeper bookkeeper-common (Maven): \< 4.14.6 \| ≥ 4.15.0, \< 4.15.1
- PyPI apache-bookkeeper-client (PyPI): \< 4.14.6

## References

- <https://lists.apache.org/thread/xyk2lfc7lzof8mksmwyympbqxts1b5s9>
- <https://ubuntu.com/security/CVE-2022-32531>
- <https://www.cve.org/CVERecord?id=CVE-2022-32531>
- <https://nvd.nist.gov/vuln/detail/CVE-2022-32531>
- <https://github.com/apache/bookkeeper>
- <https://github.com/pypa/advisory-database/tree/main/vulns/apache-bookkeeper-client/PYSEC-2022-43060.yaml>

---

Data as of 2026-12-05T04:23:18.469Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
