Skip to content
OpenAdvisories
Medium · 5.9 CVE-2022-32531 EUVD-2022-0020GHSA-gxq5-79m2-gvvqPYSEC-2022-43060

Apache BookKeeper: Java Client Uses Connection to Host that Failed Hostname Verification

Published Dec 15, 2022 · Updated Apr 17, 2025 · 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.

Affected products

VendorProductAffectedFixed
Apache Software Foundation Apache BookKeeper ≤ 4.14.5, 4.15.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS bookkeeper No fix yet —
Ubuntu 20.04 LTS bookkeeper No fix yet —
Ubuntu 18.04 LTS bookkeeper No fix yet —
Ubuntu 16.04 LTS bookkeeper No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.apache.bookkeeper:bookkeeper-common < 4.14.6 4.14.6 GHSA-gxq5-79m2-gvvq
Maven org.apache.bookkeeper:bookkeeper-common >= 4.15.0, < 4.15.1 4.15.1 GHSA-gxq5-79m2-gvvq
PyPI apache-bookkeeper-client < 4.14.6 4.14.6 PYSEC-2022-43060

References