CVEfocus › CVE database › CVE-2022-32531

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

CVSS 5.9 MediumEPSS 1.0% (higher than 61% of CVEs)Published 2022-12-15Updated 2025-04-17Assigner: apache

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.

CWE-295

What to do

Fixed builds are available from Maven, PyPI: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

2Fixed
3Fix pending
1Under investigation

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 22.04bookkeeperUnder investigationUBUNTU-CVE-2022-32531
Ubuntu 20.04bookkeeperFix pendingUBUNTU-CVE-2022-32531
Ubuntu 18.04bookkeeperFix pendingUBUNTU-CVE-2022-32531
Ubuntu 16.04bookkeeperFix pendingUBUNTU-CVE-2022-32531
PyPI libraryapache-bookkeeper-clientFixed4.14.6PYSEC-2022-43060
Maven libraryorg.apache.bookkeeper:bookkeeper-commonFixed4.15.1GHSA-gxq5-79m2-gvvq

What the vendor says

As published in the CVE record by apache, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Solution: Upgrade to 4.14.6 or to 4.15.1

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.