CVE catalog

CVE-2021-3127

golang-github-nats-io-jwt: CVE-2021-3127

[CVE catalog]

Severity
Medium
Published
Source
[NVD] · [CVE record]
EPSS
1.45% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiannats-serversid2.15.1-1not affected
Debiannats-serverforky2.15.1-1not affected
Debiannats-servertrixie2.10.27-1not affected
Debiannats-serverbookworm2.9.10-1not affected
Debiangolang-github-nats-io-jwtsid2.8.2-1fixed
Debiangolang-github-nats-io-jwtforky2.8.2-1fixed
Debiangolang-github-nats-io-jwttrixie2.7.3-1fixed
Debiangolang-github-nats-io-jwtbookworm2.3.0-1fixed
Ubuntugolang-github-nats-io-jwt20.040.0~git20181120.285cf2c-4vulnerable
Ubuntugolang-github-nats-io-jwt22.040.0~git20181120.285cf2c-4.1vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiannats-serversourcesidNot affectedunimportantNot reportedNot reported
Debiannats-serversourceforkyNot affectedunimportantNot reportedNot reported
Debiannats-serversourcetrixieNot affectedunimportantNot reportedNot reported
Debiannats-serversourcebookwormNot affectedunimportantNot reportedNot reported
Debiangolang-github-nats-io-jwtsourcesid2.2.0-1not yet assignedNot reportedNot reported
Debiangolang-github-nats-io-jwtsourceforky2.2.0-1not yet assignedNot reportedNot reported
Debiangolang-github-nats-io-jwtsourcetrixie2.2.0-1not yet assignedNot reportedNot reported
Debiangolang-github-nats-io-jwtsourcebookworm2.2.0-1not yet assignedNot reportedNot reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Source package: [golang-github-nats-io-jwt]

    Details (2)
    • 2.3.0-1 · all · bookworm

      Fixed · Fixed: 2.2.0-1

      dsa · golang-github-nats-io-jwt · debian · bookworm; dsa · golang-github-nats-io-jwt · debian · 12

    • 2.3.0-1 · all · bookworm

      Fixed · Fixed: 2.2.0-1

      dsa · golang-github-nats-io-jwt · debian · bookworm; dsa · golang-github-nats-io-jwt · debian · 12

  • Source package: [nats-server]

    Details (2)
    • 2.9.10-1 · all · bookworm

      Not affected

      dsa · nats-server · debian · bookworm

    • 2.9.10-1 · all · bookworm

      Not affected

      dsa · nats-server · debian · bookworm

  • [nats-server]Not affected

    Source package: [nats-server]

    Details (2)
    • 2.9.10-1+b3 · amd64 · bookworm

      Not affected

      dsa · nats-server · debian · bookworm

    • 2.9.10-1+b3 · arm64 · bookworm

      Not affected

      dsa · nats-server · debian · bookworm

[Debian 13 (Trixie)]

  • Source package: [golang-github-nats-io-jwt]

    Details (2)
    • 2.7.3-1 · all · trixie

      Fixed · Fixed: 2.2.0-1

      dsa · golang-github-nats-io-jwt · debian · 13

    • 2.7.3-1 · all · trixie

      Fixed · Fixed: 2.2.0-1

      dsa · golang-github-nats-io-jwt · debian · 13

Observed:

References