{"schemaVersion":3,"id":"CVE-2024-51504","aliases":["UBUNTU-CVE-2024-51504","DEBIAN-CVE-2024-51504","CGA-472j-2rgp-h37p","CGA-485r-wpjq-pjh2","CGA-6866-hfqc-45vf","CGA-7rhh-8gfp-h44q","CGA-88pr-m25m-gmv4","CGA-98wf-wf92-qgrx","CGA-g86r-5q24-3h96","CGA-hfff-4qqg-ch8p","CGA-mpgj-vhcj-j73w","CGA-p6xh-8fw6-26m8","CGA-q2gg-jrm8-cph8","CGA-q7xx-qh52-w4cj","CGA-qccx-wpcp-qc9x","CGA-vhxp-j27m-rw8f","GHSA-g93m-8x6h-g5gv","BIT-zookeeper-2024-51504"],"status":"published","duplicateOf":null,"title":null,"description":"When using IPAuthenticationProvider in ZooKeeper Admin Server there is a possibility of Authentication Bypass by Spoofing -- this only impacts IP based authentication implemented in ZooKeeper Admin Server. Default configuration of client's IP address detection in IPAuthenticationProvider, which uses HTTP request headers, is weak and allows an attacker to bypass authentication via spoofing client's IP address in request headers. Default configuration honors X-Forwarded-For HTTP header to read client's IP address. X-Forwarded-For request header is mainly used by proxy servers to identify the client and can be easily spoofed by an attacker pretending that the request comes from a different IP address. Admin Server commands, such as snapshot and restore arbitrarily can be executed on successful exploitation which could potentially lead to information leakage or service availability issues. Users are recommended to upgrade to version 3.9.3, which fixes this issue.","dates":{"published":"2024-11-07T09:52:03.957Z","modified":"2024-11-07T16:33:08.247Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.1,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":9.1,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":9.1,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","exploitability":10,"impact":8.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":9.1,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","exploitability":10,"impact":8.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Wolfi","score":9.1,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","exploitability":10,"impact":8.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Chainguard","score":9.1,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","exploitability":10,"impact":8.7,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Maven","score":8.8,"severity":"high","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:H/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":9.1,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00918,"percentile":0.59533,"severity":"low","asOf":"2026-10-18T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-18T00:00:00.000Z","baselineScore":0.00918},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00918,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00918,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00918,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00918,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00918,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00918,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00918,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00918,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00918,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00918,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00918,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00918,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00918,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00918,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00918,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00918,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00918,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00918,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00918,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00918,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00918,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00918,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00918,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00918,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00918,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00918,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00918,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00918,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00918,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00918,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00918,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00918,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00918,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00918,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00918,"percentile":0.59533}],"last30":[{"date":"2026-09-18T00:00:00.000Z","score":0.00918,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00918,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00918,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00918,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00918,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00918,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00918,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00918,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00918,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00918,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00918,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00918,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00918,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00918,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00918,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00918,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00918,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00918,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00918,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00918,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00918,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00918,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00918,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00918,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00918,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00918,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00918,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00918,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00918,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00918,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00918,"percentile":0.59533}]},"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-290","name":"Authentication Bypass by Spoofing","description":"This attack-focused weakness is caused by incorrectly implemented authentication schemes that are subject to spoofing attacks.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/290.html"}],"affected":[{"vendor":"apache software foundation","product":"apache zookeeper","name":"Apache ZooKeeper","label":"apache zookeeper","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 3.9.0, < 3.9.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 3.9.0, < 3.9.3","eol":null,"hubHref":"/vendor/apache_software_foundation/apache_zookeeper"},{"vendor":"apache","product":"zookeeper","name":"zookeeper","label":"zookeeper","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 3.9.0, < 3.9.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 3.9.0, < 3.9.3","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"zookeeper","label":"Apache ZooKeeper","category":"server-app"}},"hubHref":"/vendor/apache/zookeeper"},{"vendor":"chainguard","product":"solr","name":"solr","label":"solr","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/solr","purlType":"apk","versions":[{"text":"< 9.8.1-r1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 9.8.1-r1","eol":null,"hubHref":null},{"vendor":"chainguard","product":"solr-oci-compat","name":"solr-oci-compat","label":"solr-oci-compat","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/solr-oci-compat","purlType":"apk","versions":[{"text":"< 9.8.1-r1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 9.8.1-r1","eol":null,"hubHref":null},{"vendor":"chainguard","product":"thingsboard","name":"thingsboard","label":"thingsboard","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/thingsboard","purlType":"apk","versions":[{"text":"< 4.0.1-r51","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.0.1-r51","eol":null,"hubHref":null},{"vendor":"chainguard","product":"thingsboard-tb-js-executor","name":"thingsboard-tb-js-executor","label":"thingsboard-tb-js-executor","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/thingsboard-tb-js-executor","purlType":"apk","versions":[{"text":"< 4.0.1-r51","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.0.1-r51","eol":null,"hubHref":null},{"vendor":"chainguard","product":"thingsboard-tb-mqtt-transport","name":"thingsboard-tb-mqtt-transport","label":"thingsboard-tb-mqtt-transport","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/thingsboard-tb-mqtt-transport","purlType":"apk","versions":[{"text":"< 4.0.1-r51","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.0.1-r51","eol":null,"hubHref":null},{"vendor":"chainguard","product":"thingsboard-tb-node","name":"thingsboard-tb-node","label":"thingsboard-tb-node","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/thingsboard-tb-node","purlType":"apk","versions":[{"text":"< 4.0.1-r51","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.0.1-r51","eol":null,"hubHref":null},{"vendor":"chainguard","product":"thingsboard-tb-web-ui","name":"thingsboard-tb-web-ui","label":"thingsboard-tb-web-ui","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/thingsboard-tb-web-ui","purlType":"apk","versions":[{"text":"< 4.0.1-r51","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.0.1-r51","eol":null,"hubHref":null},{"vendor":"wolfi","product":"solr","name":"solr","label":"solr","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/solr","purlType":"apk","versions":[{"text":"< 9.8.1-r1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 9.8.1-r1","eol":null,"hubHref":null},{"vendor":"wolfi","product":"solr-oci-compat","name":"solr-oci-compat","label":"solr-oci-compat","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/solr-oci-compat","purlType":"apk","versions":[{"text":"< 9.8.1-r1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 9.8.1-r1","eol":null,"hubHref":null},{"vendor":"wolfi","product":"thingsboard","name":"thingsboard","label":"thingsboard","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/thingsboard","purlType":"apk","versions":[{"text":"< 4.0.1-r51","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.0.1-r51","eol":null,"hubHref":null},{"vendor":"wolfi","product":"thingsboard-tb-js-executor","name":"thingsboard-tb-js-executor","label":"thingsboard-tb-js-executor","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/thingsboard-tb-js-executor","purlType":"apk","versions":[{"text":"< 4.0.1-r51","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.0.1-r51","eol":null,"hubHref":null},{"vendor":"wolfi","product":"thingsboard-tb-mqtt-transport","name":"thingsboard-tb-mqtt-transport","label":"thingsboard-tb-mqtt-transport","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/thingsboard-tb-mqtt-transport","purlType":"apk","versions":[{"text":"< 4.0.1-r51","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.0.1-r51","eol":null,"hubHref":null},{"vendor":"wolfi","product":"thingsboard-tb-node","name":"thingsboard-tb-node","label":"thingsboard-tb-node","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/thingsboard-tb-node","purlType":"apk","versions":[{"text":"< 4.0.1-r51","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.0.1-r51","eol":null,"hubHref":null},{"vendor":"wolfi","product":"thingsboard-tb-web-ui","name":"thingsboard-tb-web-ui","label":"thingsboard-tb-web-ui","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/thingsboard-tb-web-ui","purlType":"apk","versions":[{"text":"< 4.0.1-r51","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.0.1-r51","eol":null,"hubHref":null},{"vendor":"debian","product":"zookeeper","name":"zookeeper","label":"zookeeper","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/zookeeper","purlType":"deb","versions":[{"text":"< 3.9.3-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.9.3-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"zookeeper","name":"zookeeper","label":"zookeeper","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/zookeeper","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"org.apache.zookeeper","product":"zookeeper","name":"org.apache.zookeeper:zookeeper","label":"zookeeper","ecosystem":"Maven","cpePart":null,"purl":"pkg:maven/org.apache.zookeeper/zookeeper","purlType":"maven","versions":[{"text":"≥ 3.9.0, < 3.9.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 3.9.0, < 3.9.3","eol":null,"hubHref":null}],"affectedCount":19,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://lists.apache.org/thread/b3qrmpkto5r6989qr61fw9y2x646kqlh","label":"lists.apache.org/thread/b3qrmpkto5r6989qr61fw9y2x646kqlh","hostname":"lists.apache.org","tags":["Vendor Advisory","REPORT","Advisory","WEB","Mailing List"]},{"url":"http://www.openwall.com/lists/oss-security/2024/11/06/5","label":"www.openwall.com/lists/oss-security/2024/11/06/5","hostname":"www.openwall.com","tags":["WEB","Mailing List","Third Party Advisory"]},{"url":"https://ubuntu.com/security/CVE-2024-51504","label":"ubuntu.com/security/CVE-2024-51504","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2024-51504","label":"www.cve.org/CVERecord?id=CVE-2024-51504","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2024-51504","label":"security-tracker.debian.org/tracker/CVE-2024-51504","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://repo.maven.apache.org/maven2","label":"repo.maven.apache.org/maven2","hostname":"repo.maven.apache.org","tags":["WEB"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/51xxx/CVE-2024-51504.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2024/51xxx/CVE-2024-51504.json","hostname":"github.com","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-51504","label":"nvd.nist.gov/vuln/detail/CVE-2024-51504","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/apache/zookeeper/commit/2c2b74c1c11b6531aabb1bf06782e859048d5983","label":"github.com/apache/zookeeper/commit/2c2b74c1c11b6531aabb1bf06782e859048d5983","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/apache/zookeeper","label":"github.com/apache/zookeeper","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":["CGA-GJM9-4H28-X345"]},"timeline":[{"kind":"published","date":"2024-11-07T09:52:03.957Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-11-07T16:33:08.247Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T02:18:46.733Z","stale":false,"partial":false}}