Every CVE Search/ Get API key

CVE-2022-32531

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

5.9 MediumFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
High
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
None
Integrity
High
Availability
None

Exploit likelihood

1.09%Up 0.2 points since Dec 16, 2022
90%50%10%1%

What each source reports

NVD Score used 5.9

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.

Record
CVE-2022-32531
CVSS 3.1
5.9 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
Weakness
CWE-295
Updated
2026-11-02
CVE List 5.9

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

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.

Record
CVE-2022-32531
CVSS 3.1
5.9 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
Weakness
CWE-295
Updated
2026-11-02
EUVDEUVD-2022-0020 5.9

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.

Record
EUVD-2022-0020
CVSS 3.1
5.9 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
Updated
2026-11-02
GitHub AdvisoriesGHSA-gxq5-79m2-gvvq 5.9

Apache Bookkeeper vulnerable to Improper Certificate Validation

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.

Record
GHSA-gxq5-79m2-gvvq
CVSS 3.1
5.9 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
Weakness
CWE-295
Updated
2026-11-02
OSV 5.9

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

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.

Record
CVE-2022-32531
CVSS 3.1
5.9 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
Weakness
CWE-295
Updated
2026-11-02
OSVGHSA-gxq5-79m2-gvvq 5.9

Apache Bookkeeper vulnerable to Improper Certificate Validation

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.

Record
GHSA-gxq5-79m2-gvvq
CVSS 3.1
5.9 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
Weakness
CWE-295
Updated
2026-11-02
OSVPYSEC-2022-43060 5.9

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.

Record
PYSEC-2022-43060
CVSS 3.1
5.9 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
Updated
2026-11-02
OSVUBUNTU-CVE-2022-32531 5.9

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.

Record
UBUNTU-CVE-2022-32531
CVSS 3.1
5.9 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
org.apache.bookkeeper:bookkeeper-common
Maven
before 4.14.6
4.14.6
org.apache.bookkeeper:bookkeeper-common
Maven
4.15.0 to 4.15.0
4.15.1
org.apache.bookkeeper:bookkeeper-common
Maven
before 4.14.6, plus listed versions
4.10.04.11.04.11.14.12.04.12.1
Show 20 moreShow less
4.13.04.14.04.14.14.14.24.14.34.14.44.14.54.6.04.6.14.6.24.7.04.7.14.7.24.7.34.8.04.8.14.8.24.9.04.9.14.9.2
4.14.6
org.apache.bookkeeper:bookkeeper-common
Maven
4.15.0 up to 4.15.1
4.15.1
apache-bookkeeper-client
PyPI
before 4.14.6, plus listed versions
4.10.04.11.04.11.14.12.04.12.0a0
Show 12 moreShow less
4.12.14.13.04.14.04.14.14.14.24.14.54.9.04.9.0a14.9.0a24.9.0a34.9.14.9.2
4.14.6
bookkeeper
Ubuntu:16.04:LTS
All versions, plus listed versions
4.2.4-24.2.4-3
None known
bookkeeper
Ubuntu:18.04:LTS
All versions, plus listed versions
4.4.0-1
None known
bookkeeper
Ubuntu:20.04:LTS
All versions, plus listed versions
4.4.0-1
None known
bookkeeper
Ubuntu:22.04:LTS
All versions, plus listed versions
4.4.0-1
None known

History

History
RecordedChangedSources
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2022-32531 is a medium vulnerability (CVSS 5.9) in Apache Bookkeeper, published December 15, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.09%, the 65th percentile. Fixed in org.apache.bookkeeper:bookkeeper-common 4.14.6.

References

MoveEnter Open