{"schemaVersion":3,"id":"CVE-2020-26521","aliases":["UBUNTU-CVE-2020-26521","DEBIAN-CVE-2020-26521","CGA-4wwf-qg7h-22gg","CGA-662g-5rvw-3vr8","CGA-fx85-h754-vx2m","CGA-q8mw-3cpr-f69j","GHSA-h2fg-54x9-5qhq","GHSA-hmm9-r2m2-qg9w","GO-2022-0402"],"status":"published","duplicateOf":null,"title":null,"description":"The JWT library in NATS nats-server before 2.1.9 allows a denial of service (a nil dereference in Go code).","dates":{"published":"2020-11-06T07:35:12.000Z","modified":"2024-08-04T15:56:04.653Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Wolfi","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Go","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Chainguard","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":5,"severity":"medium","vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.02157,"percentile":0.81907,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0.04099999999999972,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.02116},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.02116,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.02116,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.02116,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.02116,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.02116,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.02116,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02116,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02116,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02116,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02116,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02116,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02157,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02157,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02157,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02157,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02157,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02157,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02157,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02157,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02157,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02157,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02157,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02157,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02157,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02157,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02157,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02157,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02157,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02157,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02157,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02157,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02157,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02157,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02157,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02157,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02157,"percentile":0.81907}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.02116,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02116,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02116,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02116,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02116,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02116,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02157,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02157,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02157,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02157,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02157,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02157,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02157,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02157,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02157,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02157,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02157,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02157,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02157,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02157,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02157,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02157,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02157,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02157,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02157,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02157,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02157,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02157,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02157,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02157,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02157,"percentile":0.81907}]},"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-476","name":"NULL Pointer Dereference","description":"The product dereferences a pointer that it expects to be valid but is NULL.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/476.html"}],"affected":[{"vendor":"chainguard","product":"nats-server","name":"nats-server","label":"nats-server","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/nats-server","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"nats-server-compat","name":"nats-server-compat","label":"nats-server-compat","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/nats-server-compat","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"wolfi","product":"nats-server","name":"nats-server","label":"nats-server","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/nats-server","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"wolfi","product":"nats-server-compat","name":"nats-server-compat","label":"nats-server-compat","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/nats-server-compat","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"debian","product":"golang-github-nats-io-jwt","name":"golang-github-nats-io-jwt","label":"golang-github-nats-io-jwt","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/golang-github-nats-io-jwt","purlType":"deb","versions":[{"text":"< 2.2.0-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.2.0-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"golang-github-nats-io-jwt","name":"golang-github-nats-io-jwt","label":"golang-github-nats-io-jwt","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/golang-github-nats-io-jwt","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"fedoraproject","product":"fedora","name":"fedora","label":"fedora","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"33","noFixRecorded":false,"fixedIn":null}],"versionsText":"33","eol":{"isEol":true,"eolDate":"2021-11-30T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"33","label":"33","eolFrom":"2021-11-30T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":null},"product":{"name":"fedora","label":"Fedora Linux","category":"os"}},"hubHref":"/vendor/fedoraproject/fedora"},{"vendor":"github.com/nats-io","product":"jwt","name":"github.com/nats-io/jwt","label":"jwt","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/github.com/nats-io/jwt","purlType":"golang","versions":[{"text":"< 1.1.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.1.0","eol":null,"hubHref":null},{"vendor":"github.com/nats-io/nats-server","product":"v2","name":"github.com/nats-io/nats-server/v2","label":"v2","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/github.com/nats-io/nats-server/v2","purlType":"golang","versions":[{"text":"< 2.1.9","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.1.9","eol":null,"hubHref":null},{"vendor":"linuxfoundation","product":"nats-server","name":"nats-server","label":"nats-server","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 2.1.9","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.1.9","eol":null,"hubHref":"/vendor/linuxfoundation/nats-server"}],"affectedCount":10,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://github.com/nats-io/nats-server/commits/master","label":"github.com/nats-io/nats-server/commits/master","hostname":"github.com","tags":["X Refsource MISC","FIX","WEB","Patch","Third Party Advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2020/11/02/2","label":"www.openwall.com/lists/oss-security/2020/11/02/2","hostname":"www.openwall.com","tags":["X Refsource CONFIRM","REPORT","Advisory","WEB","Mailing List","Third Party Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VT67XCLIIBYRT762SVFBYFFTQFVSM3SI/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA","WEB"]},{"url":"https://ubuntu.com/security/CVE-2020-26521","label":"ubuntu.com/security/CVE-2020-26521","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://advisories.nats.io/CVE/CVE-2020-26521.txt","label":"advisories.nats.io/CVE/CVE-2020-26521.txt","hostname":"advisories.nats.io","tags":["REPORT","WEB"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-26521","label":"www.cve.org/CVERecord?id=CVE-2020-26521","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://github.com/nats-io/jwt/security/advisories/GHSA-h2fg-54x9-5qhq","label":"github.com/nats-io/jwt/security/advisories/GHSA-h2fg-54x9-5qhq","hostname":"github.com","tags":["REPORT","WEB"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2020-26521","label":"security-tracker.debian.org/tracker/CVE-2020-26521","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-26521","label":"nvd.nist.gov/vuln/detail/CVE-2020-26521","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/nats-io/jwt/pull/107","label":"github.com/nats-io/jwt/pull/107","hostname":"github.com","tags":["WEB","FIX"]},{"url":"https://github.com/nats-io/nats-server/commit/9ff8bcde2e46009e98bd9e88f598af355f62c168","label":"github.com/nats-io/nats-server/commit/9ff8bcde2e46009e98bd9e88f598af355f62c168","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/nats-io/jwt","label":"github.com/nats-io/jwt","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VT67XCLIIBYRT762SVFBYFFTQFVSM3SI","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["WEB"]},{"url":"https://pkg.go.dev/vuln/GO-2022-0402","label":"pkg.go.dev/vuln/GO-2022-0402","hostname":"pkg.go.dev","tags":["WEB"]},{"url":"https://github.com/nats-io/nats-server/security/advisories/GHSA-hmm9-r2m2-qg9w","label":"github.com/nats-io/nats-server/security/advisories/GHSA-hmm9-r2m2-qg9w","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/nats-io/nats-server","label":"github.com/nats-io/nats-server","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://www.openwall.com/lists/oss-security/2020/11/02/2","label":"www.openwall.com/lists/oss-security/2020/11/02/2","hostname":"www.openwall.com","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":["CGA-2V6P-MG24-Q4W7","CGA-9CW7-WF97-9XRJ"]},"timeline":[{"kind":"published","date":"2020-11-06T07:35:12.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-04T15:56:04.653Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":30,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T11:46:03.517Z","stale":false,"partial":false}}