| Name | CVE-2021-3127 |
| Description | 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|
| golang-github-nats-io-jwt (PTS) | bookworm | 2.3.0-1 | fixed |
| trixie | 2.7.3-1 | fixed |
| forky, sid | 2.8.1-1 | fixed |
| nats-server (PTS) | bookworm | 2.9.10-1 | fixed |
| trixie | 2.10.27-1 | fixed |
| forky | 2.12.4-1 | fixed |
| sid | 2.12.6-1 | fixed |
The information below is based on the following data on fixed versions.
Notes
[buster] - golang-github-nats-io-jwt <postponed> (Limited support, requires rebuilding golang-github-nats-io-gnatsd)
- nats-server <not-affected> (Fixed before initial upload to Debian)
https://advisories.nats.io/CVE/CVE-2021-3127.txt
https://github.com/nats-io/jwt/security/advisories/GHSA-62mh-w5cv-p88c
https://github.com/nats-io/jwt/pull/149