{"schemaVersion":4,"id":"CVE-2021-22160","aliases":["GHSA-3cv4-xxv7-934q"],"status":"published","duplicateOf":null,"title":"Authentication with JWT allows use of “none”-algorithm","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.98999,"severity":"critical","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-11-04T00: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":null},{"date":"2026-10-19T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-10-23T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-10-24T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-10-25T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-10-26T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-10-27T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-10-28T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-10-29T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-10-30T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-10-31T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-11-01T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-11-02T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-11-03T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-11-04T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.52926,"percentile":0.98999}],"last30":[{"date":"2026-11-04T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.52926,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.52926,"percentile":0.98999}]},"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,"bounds":{"kind":"range","start":"Apache Pulsar","startInclusive":true,"end":"2.7.1","endInclusive":false}}],"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,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"2.7.1","endInclusive":false}}],"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,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"2.7.2","endInclusive":false}}],"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}],"priority":{"label":"prioritise","tag":"severe","reason":"Severe, CVSS 9.8 (NVD); no exploitation reported by the 5 checked sources; EPSS 53% (FIRST, 04-12-2026)","nextStep":"Check applicability and the vendor advisory: no fix release is recorded here","rank":[0,0,0,0,53,98],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.52926,"stale":false,"promoted":null},{"type":"cvss","source":"osv_maven","date":"2024-08-03T18:37:18.090Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},{"type":"cvss","source":"nvd","date":"2024-08-03T18:37:18.090Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1","headline":true},{"type":"cvss","source":"nvd","date":"2024-08-03T18:37:18.090Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","version":"2.0"}],"epss":{"value":0.52926,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T06:02:28.822Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T06:02:29.295Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T06:02:29.506Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T06:00:56.363Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T06:02:27.202Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T06:02:26.240Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T06:30:20.775Z","stale":false,"partial":false}}