CVE-2021-3127 nats-io/jwt not enforcing checking of Import token permissions
HighCVSS 7.5
EPSS 1.4%
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- UbuntuDebian
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.
Upgrade path
9 packages: 7 fixed, 2 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/golang-github-nats-io-jwt(Ubuntu 20.04) | = 0.0~git20181120.285cf2c-4; All versions | No fix listed | No fix yet |
| ubuntu/golang-github-nats-io-jwt(Ubuntu 22.04) | = 0.0~git20181120.285cf2c-4.1; All versions | No fix listed | No fix yet |
| debian/golang-github-nats-io-jwt(Debian 12) | < 2.2.0-1 | 2.2.0-1 | Fixed |
| debian/golang-github-nats-io-jwt(Debian 13) | < 2.2.0-1 | 2.2.0-1 | Fixed |
| debian/golang-github-nats-io-jwt(Debian 14) | < 2.2.0-1 | 2.2.0-1 | Fixed |
| linuxfoundation nats-server | >= 2.0.0, < 2.2.0 | 2.2.0 | Fixed |
| nats jwt library | < 2.0.1 | 2.0.1 | Fixed |
| nats-io github.com/nats-io/jwt(Go) | < 1.2.3-0.20210314221642-a826c77dc9d2; < 2.0.1; <= 1.2.2 | 1.2.3-0.20210314221642-a826c77dc9d2, 2.0.1 | Fixed |
| nats-io github.com/nats-io/nats-server/v2(Go) | < 2.2.0 | 2.2.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| ubuntu/golang-github-nats-io-jwt(Ubuntu:22.04) | All versions | No fix listed |
| nats-io github.com/nats-io/jwt(Go) | <= 1.2.2 | No fix listed |
| nats-io github.com/nats-io/jwt(Go) | < 2.0.1 | 2.0.1 |
| nats-io github.com/nats-io/nats-server/v2(Go) | < 2.2.0 | 2.2.0 |
| nats-io github.com/nats-io/jwt(Go) | < 1.2.3-0.20210314221642-a826c77dc9d2 | 1.2.3-0.20210314221642-a826c77dc9d2 |
| debian/golang-github-nats-io-jwt(Debian:12) | < 2.2.0-1 | 2.2.0-1 |
| debian/golang-github-nats-io-jwt(Debian:13) | < 2.2.0-1 | 2.2.0-1 |
| debian/golang-github-nats-io-jwt(Debian:14) | < 2.2.0-1 | 2.2.0-1 |
| linuxfoundation nats-server | >= 2.0.0, < 2.2.0 | 2.2.0 |
| nats jwt library | < 2.0.1 | 2.0.1 |
| ubuntu/golang-github-nats-io-jwt(Ubuntu:20.04) | All versions | No fix listed |
| ubuntu/golang-github-nats-io-jwt(Ubuntu:20.04) | = 0.0~git20181120.285cf2c-4 | No fix listed |
| ubuntu/golang-github-nats-io-jwt(Ubuntu:22.04) | = 0.0~git20181120.285cf2c-4.1 | No fix listed |
References
- Ubuntu CVE tracker issue-tracking vendor-advisory
- www.cve.org issue-tracking
- github.com issue-tracking vendor-advisory
- github.com vendor-advisory
- github.com issue-tracking patch
- github.com patch
- advisories.nats.io exploit issue-tracking vendor-advisory
- github.com product
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- github.com patch
- github.com product
- github.com
- github.com
- github.com
- Debian Security Tracker CVE-2021-3127 vendor-advisory
- www.openwall.com issue-tracking
- www.openwall.com issue-tracking