{"schemaVersion":3,"id":"CVE-2022-32531","aliases":["PYSEC-2022-43060","GHSA-gxq5-79m2-gvvq","UBUNTU-CVE-2022-32531"],"status":"published","duplicateOf":null,"title":null,"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\nthe bookkeeper client vulnerable to a man in the middle attack.\n\nThe problem affects BookKeeper client prior to versions 4.14.6 and 4.15.1.","dates":{"published":"2022-12-15T10:17:19.660Z","modified":"2025-04-17T18:20:47.178Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.9,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":5.9,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Pypi","score":5.9,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","exploitability":5.6,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":5.9,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","exploitability":5.6,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Maven","score":5.9,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","exploitability":5.6,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.9,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.01088,"percentile":0.6484,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0.06700000000000005,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.01021},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01021,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01021,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01021,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01021,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01021,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01021,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01021,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01021,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01021,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01021,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01021,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01049,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01049,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01049,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01049,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01049,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01049,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01049,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01049,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01049,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01049,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01049,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01049,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01049,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01049,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01049,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01049,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01049,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01049,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01049,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01049,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01088,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01088,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01088,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01088,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01088,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01088,"percentile":0.6484}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.01021,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01021,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01021,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01021,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01021,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01049,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01049,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01049,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01049,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01049,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01049,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01049,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01049,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01049,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01049,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01049,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01049,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01049,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01049,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01049,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01049,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01049,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01049,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01049,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01049,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01088,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01088,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01088,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01088,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01088,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01088,"percentile":0.6484}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-295","name":"Improper Certificate Validation","description":"The product does not validate, or incorrectly validates, a certificate.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/295.html"}],"affected":[{"vendor":"apache software foundation","product":"apache bookkeeper","name":"Apache BookKeeper","label":"apache bookkeeper","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 4.14.5","noFixRecorded":false,"fixedIn":null},{"text":"4.15.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 4.14.5 | 4.15.0","eol":null,"hubHref":"/vendor/apache_software_foundation/apache_bookkeeper"},{"vendor":"apache","product":"bookkeeper","name":"bookkeeper","label":"bookkeeper","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 4.14.6","noFixRecorded":false,"fixedIn":null},{"text":"4.15.0","noFixRecorded":false,"fixedIn":null},{"text":"4.15.0:rc0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.14.6 | 4.15.0 | 4.15.0:rc0","eol":null,"hubHref":"/vendor/apache/bookkeeper"},{"vendor":"ubuntu","product":"bookkeeper","name":"bookkeeper","label":"bookkeeper","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/bookkeeper","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"org.apache.bookkeeper","product":"bookkeeper-common","name":"org.apache.bookkeeper:bookkeeper-common","label":"bookkeeper-common","ecosystem":"Maven","cpePart":null,"purl":"pkg:maven/org.apache.bookkeeper/bookkeeper-common","purlType":"maven","versions":[{"text":"< 4.14.6","noFixRecorded":false,"fixedIn":null},{"text":"≥ 4.15.0, < 4.15.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.14.6 | ≥ 4.15.0, < 4.15.1","eol":null,"hubHref":null},{"vendor":"PyPI","product":"apache-bookkeeper-client","name":"apache-bookkeeper-client","label":"apache-bookkeeper-client","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/apache-bookkeeper-client","purlType":"pypi","versions":[{"text":"< 4.14.6","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.14.6","eol":null,"hubHref":null}],"affectedCount":5,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://lists.apache.org/thread/xyk2lfc7lzof8mksmwyympbqxts1b5s9","label":"lists.apache.org/thread/xyk2lfc7lzof8mksmwyympbqxts1b5s9","hostname":"lists.apache.org","tags":["Vendor Advisory","Advisory","REPORT","WEB","Mailing List"]},{"url":"https://ubuntu.com/security/CVE-2022-32531","label":"ubuntu.com/security/CVE-2022-32531","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-32531","label":"www.cve.org/CVERecord?id=CVE-2022-32531","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-32531","label":"nvd.nist.gov/vuln/detail/CVE-2022-32531","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/apache/bookkeeper","label":"github.com/apache/bookkeeper","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/apache-bookkeeper-client/PYSEC-2022-43060.yaml","label":"github.com/pypa/advisory-database/tree/main/vulns/apache-bookkeeper-client/PYSEC-2022-43060.yaml","hostname":"github.com","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2022-12-15T10:17:19.660Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-04-17T18:20:47.178Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":24,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T17:21:03.860Z","stale":false,"partial":false}}