VDB
GHSA-62mh-w5cv-p88c
GHSA-62mh-w5cv-p88c
PUBLISHED
nats-io/jwt not enforcing checking of Import token permissions
Record from GitHub Advisory Database · Published February 15, 2022
github.com/nats-io/jwt is fixed in 1.2.2 (Go Modules)
nats-io/jwt not enforcing checking of Import token permissions
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| github.com/nats-io/jwt | Go Modules | 1.2.2 |
| github.com/nats-io/jwt/v2 | Go Modules | 2.0.1 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| chainguard | nats-server | * |
| wolfi | nats-server | * |
| github.com | nats-io/jwt/v2 | 0 |
| github.com | nats-io/jwt | 0 |
Timeline
- Feb 15, 2022 CVE Published
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln GHSA-62mh-w5cv-p88c
vulnetix vdb fixes GHSA-62mh-w5cv-p88c
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/GHSA-62mh-w5cv-p88c/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/nats-io/nats-server/security/advisories/GHSA-j756-f273-xhp4 url
- https://github.com/nats-io/jwt/pull/149 url
- https://github.com/nats-io/jwt/security/advisories/GHSA-62mh-w5cv-p88c url
- https://github.com/nats-io/jwt/commit/6c72fdd73e82fa9ebb151d84773baf4e9164c4ab url
- https://github.com/nats-io/jwt package
- https://advisories.nats.io/CVE/CVE-2021-3127.txt url