{"id":"GHSA-hmm9-r2m2-qg9w","revision":null,"records":[{"revision":"cf5fa18f5334478b89977007485f3175","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2020-26521","aliases":[],"title":"The JWT library in NATS nats-server before 2.1.9 allows a denial of service (a nil dereference in Go code).","description":"The JWT library in NATS nats-server before 2.1.9 allows a denial of service (a nil dereference in Go code).","state":0,"publishedAt":"2020-11-06T07:35:12+00:00","modifiedAt":"2024-08-04T15:56:04.653+00:00","affected":[{"ecosystem":"Vendor product","name":"n/a","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"n/a\",\n                    \"vendor\": \"n/a\",\n                    \"versions\": [\n                        {\n                            \"status\": \"affected\",\n                            \"version\": \"n/a\"\n                        }\n                    ]\n                }"}],"metrics":[],"references":["https://github.com/nats-io/nats-server/commits/master","http://www.openwall.com/lists/oss-security/2020/11/02/2","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VT67XCLIIBYRT762SVFBYFFTQFVSM3SI/"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2020-26521","license":"CVE Program Terms of Use","key":"cve-program:CVE-2020-26521","identifiers":["CVE-2020-26521"]},"retained":false,"historicalAffected":[]},{"revision":"8f00db367b7c4fc58b96ac6e0e2e159d","observedAt":"2026-11-18T06:31:36.631+00:00","statement":{"source":"euvd","id":"EUVD-2022-1028","aliases":["CVE-2020-26521","GHSA-h2fg-54x9-5qhq"],"title":"The JWT library in NATS nats-server before 2.1.9 allows a denial of service (a nil dereference in Go code).","description":"The JWT library in NATS nats-server before 2.1.9 allows a denial of service (a nil dereference in Go code).","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[],"references":["https://github.com/nats-io/nats-server/commits/master","http://www.openwall.com/lists/oss-security/2020/11/02/2","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VT67XCLIIBYRT762SVFBYFFTQFVSM3SI/"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2022-1028","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Nov 6, 2020, 7:35:12 AM","dateUpdated":"Aug 4, 2024, 3:56:04 PM"},"relatedAdvisories":[],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2022-1028","identifiers":["EUVD-2022-1028","CVE-2020-26521","GHSA-h2fg-54x9-5qhq"]},"retained":false,"historicalAffected":[]},{"revision":"e4c6c4c9c81b4d45a296c88377b1f8d2","observedAt":"2026-10-24T16:17:32.505+00:00","statement":{"source":"nvd","id":"CVE-2020-26521","aliases":[],"title":"The JWT library in NATS nats-server before 2.1.9 allows a denial of service (a nil dereference in Go code).","description":"The JWT library in NATS nats-server before 2.1.9 allows a denial of service (a nil dereference in Go code).","state":0,"publishedAt":"2020-11-06T08:15:13.563+00:00","modifiedAt":"2026-06-17T03:08:08.27+00:00","affected":[],"metrics":[{"system":"CVSS 3.1 · nvd@nist.gov · Primary","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"severity":"HIGH"},{"system":"CVSS 2.0 · nvd@nist.gov · Primary","vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","score":5,"severity":"MEDIUM"}],"references":["http://www.openwall.com/lists/oss-security/2020/11/02/2","https://github.com/nats-io/nats-server/commits/master","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VT67XCLIIBYRT762SVFBYFFTQFVSM3SI/"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2020-26521","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Modified","weaknesses":["CWE-476"],"productCriteria":["cpe:2.3:a:linuxfoundation:nats-server:*:*:*:*:*:*:*:*","cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*"],"sourceDates":{"published":"2020-11-06T08:15:13.563","lastModified":"2026-06-17T03:08:08.270"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2020-26521","identifiers":["CVE-2020-26521"]},"retained":false,"historicalAffected":[]},{"revision":"6e2095ca42964e498ee7100770145933","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-h2fg-54x9-5qhq","aliases":["CVE-2020-26521","GHSA-hmm9-r2m2-qg9w","GO-2022-0402"],"title":"Nil dereference in NATS JWT, DoS of nats-server","description":"## Problem Description\n\nThe NATS account system has an Operator trusted by the servers, which signs Accounts, and each Account can then create and sign Users within their account.  The Operator should be able to safely issue Accounts to other entities which it does not fully trust.\n\nA malicious Account could create and sign a User JWT with a state not created by the normal tooling, such that decoding by the NATS JWT library (written in Go) would attempt a nil dereference, aborting execution.\n\nThe NATS Server is known to be impacted by this.\n\n\n## Affected versions\n\n#### JWT library\n\n * all versions prior to 1.1.0\n\n#### NATS Server\n\n * Version 2 prior to 2.1.9\n\n\n## Impact\n\n#### JWT library\n\n * Programs would nil dereference and panic, aborting execution by default.\n\n#### NATS server\n\n * Denial of Service caused by process termination\n\n\n## Workaround\n\nIf your NATS servers do not trust any accounts which are managed by untrusted entities, then malformed User credentials are unlikely to be encountered.\n\n\n## Solution\n\nUpgrade the JWT dependency in any application using it.\n\nUpgrade the NATS server if using NATS Accounts.","state":0,"publishedAt":"2022-02-11T23:43:13+00:00","modifiedAt":"2026-09-10T03:49:12.1472425+00:00","affected":[{"ecosystem":"Go","name":"github.com/nats-io/jwt","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"1.1.0"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://github.com/nats-io/jwt/security/advisories/GHSA-h2fg-54x9-5qhq","https://nvd.nist.gov/vuln/detail/CVE-2020-26521","https://github.com/nats-io/jwt/pull/107","https://github.com/nats-io/nats-server/commit/9ff8bcde2e46009e98bd9e88f598af355f62c168","https://advisories.nats.io/CVE/CVE-2020-26521.txt","https://github.com/nats-io/jwt","https://github.com/nats-io/nats-server/commits/master","https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VT67XCLIIBYRT762SVFBYFFTQFVSM3SI","https://pkg.go.dev/vuln/GO-2022-0402","http://www.openwall.com/lists/oss-security/2020/11/02/2"],"sourceUrl":"https://github.com/advisories/GHSA-h2fg-54x9-5qhq","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-h2fg-54x9-5qhq","identifiers":["GHSA-h2fg-54x9-5qhq","CVE-2020-26521","GHSA-hmm9-r2m2-qg9w","GO-2022-0402"]},"retained":false,"historicalAffected":[]},{"revision":"0fbfa977c30941f198bb4d21559239e1","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-hmm9-r2m2-qg9w","aliases":["CVE-2020-26521","GHSA-h2fg-54x9-5qhq","GO-2022-0402"],"title":"Nil dereference in NATS JWT causing DoS of nats-server","description":"(This advisory is canonically <https://advisories.nats.io/CVE/CVE-2020-26521.txt>)\n\n## Problem Description\n\nThe NATS account system has an Operator trusted by the servers, which signs Accounts, and each Account can then create and sign Users within their account.  The Operator should be able to safely issue Accounts to other entities which it does not fully trust.\n\nA malicious Account could create and sign a User JWT with a state not created by the normal tooling, such that decoding by the NATS JWT library (written in Go) would attempt a nil dereference, aborting execution.\n\nThe NATS Server is known to be impacted by this.\n\n\n## Affected versions\n\n#### JWT library\n\n * all versions prior to 1.1.0\n\n#### NATS Server\n\n * Version 2 prior to 2.1.9\n\n\n## Impact\n\n#### JWT library\n\n * Programs would nil dereference and panic, aborting execution by default.\n\n#### NATS server\n\n * Denial of Service caused by process termination\n\n\n## Workaround\n\nIf your NATS servers do not trust any accounts which are managed by untrusted entities, then malformed User credentials are unlikely to be encountered.\n\n\n## Solution\n\nUpgrade the JWT dependency in any application using it.\n\nUpgrade the NATS server if using NATS Accounts.","state":0,"publishedAt":"2021-05-21T16:22:10+00:00","modifiedAt":"2026-09-10T03:49:14.6797444+00:00","affected":[{"ecosystem":"Go","name":"github.com/nats-io/nats-server/v2","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"2.1.9"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://github.com/nats-io/nats-server/security/advisories/GHSA-hmm9-r2m2-qg9w","https://nvd.nist.gov/vuln/detail/CVE-2020-26521","https://github.com/nats-io/jwt/pull/107","https://advisories.nats.io/CVE/CVE-2020-26521.txt","https://github.com/nats-io/nats-server","https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VT67XCLIIBYRT762SVFBYFFTQFVSM3SI","https://www.openwall.com/lists/oss-security/2020/11/02/2"],"sourceUrl":"https://github.com/advisories/GHSA-hmm9-r2m2-qg9w","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-hmm9-r2m2-qg9w","identifiers":["GHSA-hmm9-r2m2-qg9w","CVE-2020-26521","GHSA-h2fg-54x9-5qhq","GO-2022-0402"]},"retained":false,"historicalAffected":[]},{"revision":"5e4b4ca729b84298b0b2acf525bf9603","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GO-2022-0402","aliases":["CVE-2020-26521","GHSA-h2fg-54x9-5qhq","GHSA-hmm9-r2m2-qg9w"],"title":"Panic in NATS JWT decoding in github.com/nats-io/jwt","description":"A malicious account can create and sign a User JWT which causes a panic when decoded by the NATS JWT library.","state":0,"publishedAt":"2022-07-01T20:10:43+00:00","modifiedAt":"2026-02-04T03:01:19.864397+00:00","affected":[{"ecosystem":"Go","name":"github.com/nats-io/jwt","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"1.1.0"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[],"references":["https://github.com/nats-io/jwt/pull/107","https://advisories.nats.io/CVE/CVE-2020-26521.txt"],"sourceUrl":"https://osv.dev/vulnerability/GO-2022-0402","license":"OSV · upstream source license applies","key":"osv:GO-2022-0402","identifiers":["GO-2022-0402","CVE-2020-26521","GHSA-h2fg-54x9-5qhq","GHSA-hmm9-r2m2-qg9w"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-19T05:22:48.4383343+00:00","complete":true,"records":1786,"lastAttemptAt":"2026-11-19T05:22:48.4383343+00:00","lastSuccessAt":"2026-11-19T05:22:48.5819004+00:00","error":null,"lastVerifiedAt":"2026-11-19T05:22:48.581904+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-e55c589538e0700b45c7d6d41fe1447a79199283262c371c864535c791a040b9-a3c5d1f50b99987b637138fdc7cd9e1e0d772b1c81dbbff4bcc8be865c192a98","complete":true,"records":428232,"lastAttemptAt":"2026-11-19T05:22:47.9486287+00:00","lastSuccessAt":"2026-11-19T05:22:47.9265788+00:00","error":null,"lastVerifiedAt":"2026-11-19T05:22:47.9486287+00:00","snapshotPublishedAt":"2026-11-19T04:33:18+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-7c1103063ba0426d8e585240e558964c","complete":false,"records":13861,"lastAttemptAt":"2026-11-19T05:32:28.4240909+00:00","lastSuccessAt":"2026-11-19T05:32:27.403+00:00","error":"218 identifier lookups failed; latest failures include AccessDenied (HTTP 403). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-19T05:32:27.403+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13568,"expectedIdentifiers":13908,"failedIdentifiers":218},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-19T05:22:48.4383343+00:00","complete":true,"records":1125,"lastAttemptAt":"2026-11-19T05:22:48.4383343+00:00","lastSuccessAt":"2026-11-19T05:22:48.5827402+00:00","error":null,"lastVerifiedAt":"2026-11-19T05:22:48.5827403+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-84b4b212d7ef41cb9ec24b71e9d8e5d8","complete":true,"records":13873,"lastAttemptAt":"2026-11-19T05:22:49.1394496+00:00","lastSuccessAt":"2026-11-19T04:24:39.391+00:00","error":null,"lastVerifiedAt":"2026-11-19T04:24:39.391+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13908,"expectedIdentifiers":13908,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-76574c95b6792d47ba90af64983ed5843633f14426346d676016e94a5f383202","complete":true,"records":9963,"lastAttemptAt":"2026-11-19T05:22:48.2819697+00:00","lastSuccessAt":"2026-11-19T01:24:31.4213722+00:00","error":null,"lastVerifiedAt":"2026-11-19T05:22:48.2819697+00:00","snapshotPublishedAt":"2026-11-19T01:03:15+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-f4424d7d4861b1af1404bd15abcb83f295dcd003412a9340ca99dc8200aa148a","complete":true,"records":2014,"lastAttemptAt":"2026-11-19T05:22:48.0028407+00:00","lastSuccessAt":"2026-11-13T19:57:08.2864435+00:00","error":null,"lastVerifiedAt":"2026-11-19T05:22:48.0028407+00:00","snapshotPublishedAt":"2026-11-13T19:33:10+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-c0d9c71c6fa06d617f979e7bec0d97aca70ca5aea1558184002f8e44516f2fac","complete":true,"records":3177,"lastAttemptAt":"2026-11-19T05:22:48.391557+00:00","lastSuccessAt":"2026-11-18T21:25:09.5127964+00:00","error":null,"lastVerifiedAt":"2026-11-19T05:22:48.391557+00:00","snapshotPublishedAt":"2026-11-18T21:18:06+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-2556fa291ec863b7fd77332e55dcff5569878e06b48ea32c182e52878cdd1ce8","complete":true,"records":232702,"lastAttemptAt":"2026-11-19T05:22:48.1723185+00:00","lastSuccessAt":"2026-11-19T04:24:35.8955272+00:00","error":null,"lastVerifiedAt":"2026-11-19T05:22:48.1723185+00:00","snapshotPublishedAt":"2026-11-19T03:33:12+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}