CVE-2021-3127
Import token permissions checking not enforced in github.com/nats-io/jwt
7.5
HIGH
CVSS 3.1
EPSS 0.29%
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.
How to fix CVE-2021-3127
To remediate CVE-2021-3127, upgrade the affected package to a fixed version below.
- Bitnami/nats—upgrade to 2.2.0 or later
- —upgrade to 2.2.0-1 or later
- —no fix listed
- —upgrade to 1.2.3-0.20210314221642-a826c77dc9d2 or later
- —upgrade to 1.2.3-0.20210314221642-a826c77dc9d2 or later
- —upgrade to 2.0.1 or later
- —upgrade to 2.0.1 or later
- —upgrade to 2.0.1 or later
- —upgrade to 2.2.0 or later
- —upgrade to 2.2.0 or later
Is CVE-2021-3127 being exploited?
Low — EPSS is 0.3%, meaning exploitation activity has not been observed at scale.
Affected packages (10)
- >= 2.0.0, < 2.2.0
- from 0, < 2.2.0-1
- from 0, <= 1.2.2
- from 0, < 1.2.3-0.20210314221642-a826c77dc9d2
- from 0, < 1.2.3-0.20210314221642-a826c77dc9d2
- from 0, < 2.0.1
- from 0, < 2.0.1
- from 0, < 2.0.1
- from 0, < 2.2.0
- from 0, < 2.2.0
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:H/I:N/A:N |