
CVE catalog
CVE-2021-3127
golang-github-nats-io-jwt: CVE-2021-3127
- Severity
- Medium
- Published
- Source
- [NVD] · [CVE record]
- EPSS
- 1.45% · Oct 25, 2026
NATS Server 2.x before 2.2.0 and JWT library before 2.0.1 have Incorrect Access Control because Import Token bindings are mishandled.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | nats-server | sid | 2.15.1-1 | not affected |
| Debian | nats-server | forky | 2.15.1-1 | not affected |
| Debian | nats-server | trixie | 2.10.27-1 | not affected |
| Debian | nats-server | bookworm | 2.9.10-1 | not affected |
| Debian | golang-github-nats-io-jwt | sid | 2.8.2-1 | fixed |
| Debian | golang-github-nats-io-jwt | forky | 2.8.2-1 | fixed |
| Debian | golang-github-nats-io-jwt | trixie | 2.7.3-1 | fixed |
| Debian | golang-github-nats-io-jwt | bookworm | 2.3.0-1 | fixed |
| Ubuntu | golang-github-nats-io-jwt | 20.04 | 0.0~git20181120.285cf2c-4 | vulnerable |
| Ubuntu | golang-github-nats-io-jwt | 22.04 | 0.0~git20181120.285cf2c-4.1 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | nats-server | source | sid | Not affected | unimportant | Not reported | Not reported |
| Debian | nats-server | source | forky | Not affected | unimportant | Not reported | Not reported |
| Debian | nats-server | source | trixie | Not affected | unimportant | Not reported | Not reported |
| Debian | nats-server | source | bookworm | Not affected | unimportant | Not reported | Not reported |
| Debian | golang-github-nats-io-jwt | source | sid | 2.2.0-1 | not yet assigned | Not reported | Not reported |
| Debian | golang-github-nats-io-jwt | source | forky | 2.2.0-1 | not yet assigned | Not reported | Not reported |
| Debian | golang-github-nats-io-jwt | source | trixie | 2.2.0-1 | not yet assigned | Not reported | Not reported |
| Debian | golang-github-nats-io-jwt | source | bookworm | 2.2.0-1 | not yet assigned | Not reported | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
Source package: [golang-github-nats-io-jwt]
Details (2)
2.3.0-1· all · bookwormFixed · Fixed:
2.2.0-1dsa · golang-github-nats-io-jwt · debian · bookworm; dsa · golang-github-nats-io-jwt · debian · 12
2.3.0-1· all · bookwormFixed · Fixed:
2.2.0-1dsa · golang-github-nats-io-jwt · debian · bookworm; dsa · golang-github-nats-io-jwt · debian · 12
- [golang-github-nats-io-nats-server-dev]Not affected
Source package: [nats-server]
Details (2)
2.9.10-1· all · bookwormNot affected
dsa · nats-server · debian · bookworm
2.9.10-1· all · bookwormNot affected
dsa · nats-server · debian · bookworm
- [nats-server]Not affected
Source package: [nats-server]
Details (2)
2.9.10-1+b3· amd64 · bookwormNot affected
dsa · nats-server · debian · bookworm
2.9.10-1+b3· arm64 · bookwormNot affected
dsa · nats-server · debian · bookworm
[Debian 13 (Trixie)]
Source package: [golang-github-nats-io-jwt]
Details (2)
2.7.3-1· all · trixieFixed · Fixed:
2.2.0-1dsa · golang-github-nats-io-jwt · debian · 13
2.7.3-1· all · trixieFixed · Fixed:
2.2.0-1dsa · golang-github-nats-io-jwt · debian · 13
Observed: