CVE-2020-26521
HIGH7.5EPSS 0.68%Panic in NATS JWT decoding in github.com/nats-io/jwt
Published: 2/11/2022Modified: 4/28/2026
Description
The JWT library in NATS nats-server before 2.1.9 allows a denial of service (a nil dereference in Go code).
Affected packages (4)
- Debian/golang-github-nats-io-jwtfrom 0, < 2.2.0-1
- Go/github.com/nats-io/jwtfrom 0, < 1.1.0
- Go/github.com/nats-io/jwtfrom 0, < 1.1.0
- Go/github.com/nats-io/nats-server/v2from 0, < 2.1.9
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
References (14)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2020-26521
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2020-26521
- PATCHhttps://github.com/nats-io/jwt
- PATCHhttps://github.com/nats-io/nats-server
- WEBhttps://advisories.nats.io/CVE/CVE-2020-26521.txt
- WEBhttps://github.com/nats-io/jwt/pull/107
- WEBhttps://github.com/nats-io/jwt/security/advisories/GHSA-h2fg-54x9-5qhq
- WEBhttps://github.com/nats-io/nats-server/commit/9ff8bcde2e46009e98bd9e88f598af355f62c168
- WEBhttps://github.com/nats-io/nats-server/commits/master
- WEBhttps://github.com/nats-io/nats-server/security/advisories/GHSA-hmm9-r2m2-qg9w
- WEBhttps://lists.fedoraproject.org/archives/list/[email protected]/message/VT67XCLIIBYRT762SVFBYFFTQFVSM3SI
- WEBhttps://pkg.go.dev/vuln/GO-2022-0402
- WEBhttps://www.openwall.com/lists/oss-security/2020/11/02/2
- WEBhttp://www.openwall.com/lists/oss-security/2020/11/02/2