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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| 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.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| 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
- https://lists.apache.org/thread/xyk2lfc7lzof8mksmwyympbqxts1b5s9 vendor-advisory