Vulnerability · Published Mar 16, 2021 · Assigned by mitre

CVE-2021-3127

High 7.5

In plain English

A high-severity security flaw in the golang-github-nats-io-jwt package (Debian). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.4% (higher than 73% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)7.5High
Exploit odds (30 days)1.4%top 26.5% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12golang-github-nats-io-jwt2.2.0-1DEBIAN-CVE-2021-3127
Debian:13golang-github-nats-io-jwt2.2.0-1DEBIAN-CVE-2021-3127
Debian:14golang-github-nats-io-jwt2.2.0-1DEBIAN-CVE-2021-3127
Gogithub.com/nats-io/jwtno fix listedGHSA-62mh-w5cv-p88c
Gogithub.com/nats-io/jwt1.2.3-0.20210314221642-a826c77dc9d2GHSA-9r5x-fjv3-q6h4
Gogithub.com/nats-io/jwt1.2.3-0.20210314221642-a826c77dc9d2GO-2022-0386
Gogithub.com/nats-io/jwt/v22.0.1GO-2022-0386
Gogithub.com/nats-io/jwt/v22.0.1GHSA-9r5x-fjv3-q6h4
Gogithub.com/nats-io/jwt/v22.0.1GHSA-62mh-w5cv-p88c
Gogithub.com/nats-io/nats-server/v22.2.0GHSA-9r5x-fjv3-q6h4
Gogithub.com/nats-io/nats-server/v22.2.0GHSA-j756-f273-xhp4
Ubuntu:22.04:LTSgolang-github-nats-io-jwtno fix listedUBUNTU-CVE-2021-3127

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

References