VDB
GHSA-hmm9-r2m2-qg9w
GHSA-hmm9-r2m2-qg9w
PUBLISHED
CVSS 7.5 HIGH
Nil dereference in NATS JWT causing DoS of nats-server
Record from GitHub Advisory Database · Published May 21, 2021
github.com/nats-io/nats-server/v2 is fixed in 2.1.9 (Go Modules)
Nil dereference in NATS JWT causing DoS of nats-server
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| github.com/nats-io/nats-server/v2 | Go Modules | 2.1.9 |
Risk scores
CVSS 3.1
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Affected products
| Vendor | Product | Versions |
|---|---|---|
| chainguard | nats-server | * |
| github.com | nats-io/nats-server/v2 | 0 |
| wolfi | nats-server | * |
Timeline
- May 21, 2021 CVE Published
- Oct 3, 2025 CVE Updated
- Mar 17, 2026 Security Advisory
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln GHSA-hmm9-r2m2-qg9w
vulnetix vdb fixes GHSA-hmm9-r2m2-qg9w
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/GHSA-hmm9-r2m2-qg9w/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/advisories/GHSA-hmm9-r2m2-qg9w advisory
- https://github.com/nats-io/nats-server/security/advisories/GHSA-hmm9-r2m2-qg9w url
- https://nvd.nist.gov/vuln/detail/CVE-2020-26521 advisory
- https://github.com/nats-io/jwt/pull/107 url
- https://advisories.nats.io/CVE/CVE-2020-26521.txt url
- https://github.com/nats-io/nats-server package
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VT67XCLIIBYRT762SVFBYFFTQFVSM3SI url
- https://www.openwall.com/lists/oss-security/2020/11/02/2 url
- GitHub Advisory GHSA-h2fg-54x9-5qhq vendor-advisory
- https://github.com/nats-io/jwt/security/advisories/GHSA-h2fg-54x9-5qhq url
- https://github.com/nats-io/nats-server/commits/master url
- http://www.openwall.com/lists/oss-security/2020/11/02/2 url
- https://github.com/nats-io/jwt package
- https://pkg.go.dev/vuln/GO-2022-0402 url
- https://github.com/nats-io/nats-server/commit/9ff8bcde2e46009e98bd9e88f598af355f62c168 fix