High severityNVD Advisory· Published Sep 30, 2020· Updated Aug 4, 2024
CVE-2020-26160
CVE-2020-26160
Description
jwt-go before 4.0.0-preview1 allows attackers to bypass intended access restrictions in situations with []string{} for m["aud"] (which is allowed by the specification). Because the type assertion fails, "" is the value of aud. This is a security problem if the JWT token is presented to a service that lacks its own audience check.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
github.com/dgrijalva/jwt-goGo | >= 0.0.0-20150717181359-44718f8a89b0, <= 3.2.0 | — |
github.com/dgrijalva/jwt-go/v4Go | < 4.0.0-preview1 | 4.0.0-preview1 |
Affected products
12- jwt-go/jwt-godescription
- osv-coords11 versionspkg:apk/chainguard/dgraphpkg:apk/chainguard/docker-credential-acr-envpkg:apk/chainguard/docker-credential-acr-env-fipspkg:apk/chainguard/gitnesspkg:apk/wolfi/dgraphpkg:apk/wolfi/docker-credential-acr-envpkg:apk/wolfi/gitnesspkg:golang/github.com/dgrijalva/jwt-gopkg:golang/github.com/dgrijalva/jwt-go/v4pkg:rpm/opensuse/telegraf&distro=openSUSE%20Tumbleweedpkg:rpm/opensuse/velero-plugin-for-microsoft-azure&distro=openSUSE%20Tumbleweed
< 24.0.0-r0+ 10 more
- (no CPE)range: < 24.0.0-r0
- (no CPE)range: < 0.7.0-r26
- (no CPE)range: < 0.7.0-r16
- (no CPE)range: < 3.0.0_beta5-r0
- (no CPE)range: < 24.0.0-r0
- (no CPE)range: < 0.7.0-r26
- (no CPE)range: < 3.0.0_beta5-r0
- (no CPE)range: >= 0.0.0-20150717181359-44718f8a89b0, <= 3.2.0
- (no CPE)range: < 4.0.0-preview1
- (no CPE)range: < 1.19.0-1.2
- (no CPE)range: < 1.3.1-1.1
Patches
Vulnerability mechanics
References
8- github.com/advisories/GHSA-w73w-5m7g-f7qcghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2020-26160ghsaADVISORY
- github.com/dgrijalva/jwt-go/commit/ec0a89a131e3e8567adcb21254a5cd20a70ea4abghsaWEB
- github.com/dgrijalva/jwt-go/issues/422ghsaWEB
- github.com/dgrijalva/jwt-go/issues/462ghsaWEB
- github.com/dgrijalva/jwt-go/pull/426ghsax_refsource_MISCWEB
- pkg.go.dev/vuln/GO-2020-0017ghsaWEB
- snyk.io/vuln/SNYK-GOLANG-GITHUBCOMDGRIJALVAJWTGO-596515ghsax_refsource_MISCWEB
News mentions
0No linked articles in our index yet.