CVE-2021-3127
unknown
CVSS v3
โ
CVSS v4 NEW
โ
VIR risk
โ
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.
Predictions
Exploit likelihood
30%
Patch ETA
โ
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| debian | bookworm | fixed | 2.2.0-1 |
| debian | forky | fixed | 2.2.0-1 |
| debian | sid | fixed | 2.2.0-1 |
| debian | trixie | fixed | 2.2.0-1 |
Package impact
| Ecosystem | Package | Vulnerable | Fixed |
|---|---|---|---|
| Go | github.com/nats-io/jwt | <=1.2.2 | |
| Go | github.com/nats-io/jwt/v2 | <2.0.1 | 2.0.1 |
| Go | github.com/nats-io/nats-server/v2 | <2.2.0 | 2.2.0 |
| Go | github.com/nats-io/jwt | <1.2.3-0.20210314221642-a826c77dc9d2 | 1.2.3-0.20210314221642-a826c77dc9d2 |
References
- https://github.com/nats-io/jwt/security/advisories/GHSA-62mh-w5cv-p88c
- https://github.com/nats-io/nats-server/security/advisories/GHSA-j756-f273-xhp4
- https://github.com/nats-io/jwt/pull/149
- https://github.com/nats-io/jwt/commit/6c72fdd73e82fa9ebb151d84773baf4e9164c4ab
- https://advisories.nats.io/CVE/CVE-2021-3127.txt
- https://github.com/nats-io/jwt
- https://nvd.nist.gov/vuln/detail/CVE-2021-3127
- https://github.com/nats-io/jwt/pull/149/commits/a826c77dc9d2671c961b75ceefdb439c41029866
- https://github.com/nats-io/nats-server/commit/423b79440c80c863de9f4e20548504e6c5d5e403
- https://github.com/nats-io/nats-server
- https://security-tracker.debian.org/tracker/CVE-2021-3127
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.