CVE-2021-3127

Source
https://cve.org/CVERecord?id=CVE-2021-3127
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-3127.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2021-3127
Aliases
Downstream
Related
Published
2021-03-16T20:15:13.300Z
Modified
2026-06-18T04:06:37.226990451Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/nats-io/jwt

Affected ranges

Type
GIT
Repo
https://github.com/nats-io/jwt
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
{
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "2.0.1"
        }
    ],
    "source": "CPE_RANGE",
    "cpe": "cpe:2.3:a:nats:jwt_library:*:*:*:*:*:*:*:*"
}

Affected versions

v0.*
v0.0.3
v0.0.4
v0.0.5
v0.0.6
v0.0.8
v0.2.0
v0.2.10
v0.2.12
v0.2.14
v0.2.16
v0.2.2
v0.2.4
v0.2.6
v0.2.8
v0.3.0
v0.3.2
v1.*
v1.0.0
v1.0.1
v1.1.1
v1.2.0
v1.2.1
v1.2.2
v2.*
v2.0.0

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-3127.json"

Git / github.com/nats-io/nats-server

Affected ranges

Type
GIT
Repo
https://github.com/nats-io/nats-server
Events
Database specific
{
    "extracted_events": [
        {
            "introduced": "2.0.0"
        },
        {
            "fixed": "2.2.0"
        }
    ],
    "source": "CPE_RANGE",
    "cpe": "cpe:2.3:a:linuxfoundation:nats-server:*:*:*:*:*:*:*:*"
}

Affected versions

v2.*
v2.0.0
v2.0.2
v2.0.4
v2.1.0
v2.1.2
v2.1.4
v2.1.6
v2.1.7

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-3127.json"