{"schemaVersion":3,"id":"CVE-2021-22160","aliases":["GHSA-3cv4-xxv7-934q"],"status":"published","duplicateOf":null,"title":null,"description":"If Apache Pulsar is configured to authenticate clients using tokens based on JSON Web Tokens (JWT), the signature of the token is not validated if the algorithm of the presented token is set to \"none\". This allows an attacker to connect to Pulsar instances as any user (incl. admins).","dates":{"published":"2021-05-26T12:22:31.000Z","modified":"2024-08-03T18:37:18.090Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.8,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"OSV · Maven","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":7.5,"severity":"high","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.52926,"percentile":0.98967,"severity":"critical","asOf":"2026-10-18T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-18T00:00:00.000Z","baselineScore":0.52926},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.52926,"percentile":0.98967}],"last30":[{"date":"2026-09-18T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.52926,"percentile":0.98967}]},"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-347","name":"Improper Verification of Cryptographic Signature","description":"The product does not verify, or incorrectly verifies, the cryptographic signature for data.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/347.html"}],"affected":[{"vendor":"apache software foundation","product":"apache pulsar","name":"Apache Pulsar","label":"apache pulsar","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ Apache Pulsar, < 2.7.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ Apache Pulsar, < 2.7.1","eol":null,"hubHref":"/vendor/apache_software_foundation/apache_pulsar"},{"vendor":"apache","product":"pulsar","name":"pulsar","label":"pulsar","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 2.7.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.7.1","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"apache-pulsar","label":"Apache Pulsar","category":"server-app"}},"hubHref":"/vendor/apache/pulsar"},{"vendor":"org.apache.pulsar","product":"pulsar","name":"org.apache.pulsar:pulsar","label":"pulsar","ecosystem":"Maven","cpePart":null,"purl":"pkg:maven/org.apache.pulsar/pulsar","purlType":"maven","versions":[{"text":"< 2.7.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.7.2","eol":null,"hubHref":null}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://lists.apache.org/thread.html/r347650d15a3e9c5f58b83e918b6ad6dedc2a63d3eb63da8e6a7be87e%40%3Cusers.pulsar.apache.org%3E","label":"lists.apache.org/thread.html/…","hostname":"lists.apache.org","tags":["X Refsource MISC","WEB","Mailing List","Vendor Advisory"]},{"url":"https://lists.apache.org/thread.html/rf2e90942996dceebac8296abf39257cfeb5ae918f82f7af3d37a48c5%40%3Cdev.pulsar.apache.org%3E","label":"lists.apache.org/thread.html/…","hostname":"lists.apache.org","tags":["Mailing List","X Refsource MLIST"]},{"url":"https://lists.apache.org/thread.html/ra49cb62105154e4795b259c79a6b27d63bfa2ab5787ff8529b089550%40%3Cdev.pulsar.apache.org%3E","label":"lists.apache.org/thread.html/…","hostname":"lists.apache.org","tags":["Mailing List","X Refsource MLIST"]},{"url":"https://lists.apache.org/thread.html/ra49cb62105154e4795b259c79a6b27d63bfa2ab5787ff8529b089550%40%3Cusers.pulsar.apache.org%3E","label":"lists.apache.org/thread.html/…","hostname":"lists.apache.org","tags":["Mailing List","X Refsource MLIST"]},{"url":"https://lists.apache.org/thread.html/r8e545559781231a83bf0644548c660255859e52feb86bbfcd42590da%40%3Cdev.pulsar.apache.org%3E","label":"lists.apache.org/thread.html/…","hostname":"lists.apache.org","tags":["Mailing List","X Refsource MLIST"]},{"url":"https://lists.apache.org/thread.html/r9a12b4da2f26ce9b8f7e7117a879efaa973dab7e54717bbc7923fab1%40%3Cdev.pulsar.apache.org%3E","label":"lists.apache.org/thread.html/…","hostname":"lists.apache.org","tags":["Mailing List","X Refsource MLIST","WEB","Vendor Advisory"]},{"url":"https://lists.apache.org/thread.html/rbe845aa1573a61769b9c5916c62971f4b10de87c2ea5f38a97f0cf84%40%3Cdev.pulsar.apache.org%3E","label":"lists.apache.org/thread.html/…","hostname":"lists.apache.org","tags":["Mailing List","X Refsource MLIST"]},{"url":"https://lists.apache.org/thread.html/rca54f4b26ba5e6f2e39732b47ec51640e89f57e3b6a38ac3bab314df%40%3Cdev.pulsar.apache.org%3E","label":"lists.apache.org/thread.html/…","hostname":"lists.apache.org","tags":["Mailing List","X Refsource MLIST"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-22160","label":"nvd.nist.gov/vuln/detail/CVE-2021-22160","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/apache/pulsar/releases/tag/v2.7.2","label":"github.com/apache/pulsar/releases/tag/v2.7.2","hostname":"github.com","tags":["WEB"]},{"url":"https://lists.apache.org/thread.html/r08c7df60cae031361df7fbac39d08b6d5b5079e74db5195d409db9a2@%3Cdev.pulsar.apache.org%3E","label":"lists.apache.org/thread.html/…","hostname":"lists.apache.org","tags":["WEB"]},{"url":"https://lists.apache.org/thread.html/r8e545559781231a83bf0644548c660255859e52feb86bbfcd42590da@%3Cdev.pulsar.apache.org%3E","label":"lists.apache.org/thread.html/…","hostname":"lists.apache.org","tags":["WEB"]},{"url":"https://lists.apache.org/thread.html/ra49cb62105154e4795b259c79a6b27d63bfa2ab5787ff8529b089550@%3Cdev.pulsar.apache.org%3E","label":"lists.apache.org/thread.html/…","hostname":"lists.apache.org","tags":["WEB"]},{"url":"https://lists.apache.org/thread.html/ra49cb62105154e4795b259c79a6b27d63bfa2ab5787ff8529b089550@%3Cusers.pulsar.apache.org%3E","label":"lists.apache.org/thread.html/…","hostname":"lists.apache.org","tags":["WEB"]},{"url":"https://lists.apache.org/thread.html/rbe845aa1573a61769b9c5916c62971f4b10de87c2ea5f38a97f0cf84@%3Cdev.pulsar.apache.org%3E","label":"lists.apache.org/thread.html/…","hostname":"lists.apache.org","tags":["WEB"]},{"url":"https://lists.apache.org/thread.html/rca54f4b26ba5e6f2e39732b47ec51640e89f57e3b6a38ac3bab314df@%3Cdev.pulsar.apache.org%3E","label":"lists.apache.org/thread.html/…","hostname":"lists.apache.org","tags":["WEB"]},{"url":"https://lists.apache.org/thread.html/re2ae364e0c02093dc721699698c6f23cfbba0220c78b5e28cafeae81@%3Ccommits.pulsar.apache.org%3E","label":"lists.apache.org/thread.html/…","hostname":"lists.apache.org","tags":["WEB"]},{"url":"https://lists.apache.org/thread.html/rf2e90942996dceebac8296abf39257cfeb5ae918f82f7af3d37a48c5@%3Cdev.pulsar.apache.org%3E","label":"lists.apache.org/thread.html/…","hostname":"lists.apache.org","tags":["WEB"]},{"url":"https://lists.apache.org/thread.html/rf54fefc25c49d4715d484133d438f13bf2e515a5fed5d3a745d4f6e7@%3Ccommits.pulsar.apache.org%3E","label":"lists.apache.org/thread.html/…","hostname":"lists.apache.org","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2021-05-26T12:22:31.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-03T18:37:18.090Z","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-19T13:29:57.277Z","stale":false,"partial":false}}