CVE-2024-51744: Bad documentation of error handling in ParseWithClaims can lead to potentially dangerous situations in golang-jwt
Noroxi assessment
Priority: Monitor (action score 12/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.58% (FIRST EPSS).
- Anyone who can reach it over the internet can trigger it. No account or password is required. A user must open a link or visit a page. Special conditions such as timing or configuration are required.
- Fixed version: azl3 application-gateway-kubernetes-ingress 1.7.2-3 on Azure Linux 3.0 1.7.7-1; azl3 application-gateway-kubernetes-ingress 1.7.7-1 on Azure Linux 3.0 1.7.7-1; azl3 azcopy 10.25.1-4 on Azure Linux 3.0 10.25.1-4.
Low priority for now. Upgrade to azl3 application-gateway-kubernetes-ingress 1.7.2-3 on Azure Linux 3.0 1.7.7-1; azl3 application-gateway-kubernetes-ingress 1.7.7-1 on Azure Linux 3.0 1.7.7-1; azl3 azcopy 10.25.1-4 on Azure Linux 3.0 10.25.1-4 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
golang-jwt is a Go implementation of JSON Web Tokens. Unclear documentation of the error behavior in `ParseWithClaims` can lead to situation where users are potentially not checking errors in the way they should be. Especially, if a token is both expired and invalid, the errors returned by `ParseWithClaims` return both error codes. If users only check for the `jwt.ErrTokenExpired ` using `error.Is`, they will ignore the embedded `jwt.ErrTokenSignatureInvalid` and thus potentially accept invalid tokens. A fix has been back-ported with the error handling logic from the `v5` branch to the `v4` branch. In this logic, the `ParseWithClaims` function will immediately return in "dangerous" situations (e.g., an invalid signature), limiting the combined errors only to situations where the signature is valid, but further validation failed (e.g., if the signature is valid, but is expired AND has the wrong audience). This fix is part of the 4.5.1 release. We are aware that this changes the behaviour of an established function and is not 100 % backwards compatible, so updating to 4.5.1 might break your code. In case you cannot update to 4.5.0, please make sure that you are properly checking for all errors ("dangerous" ones first), so that you are not running in the case detailed above.
- GHSA-29wx-vh33-7x7r
- GO-2024-3250
- openSUSE-SU-2024:14481-1
- openSUSE-SU-2024:14484-1
- openSUSE-SU-2024:14495-1
- openSUSE-SU-2024:14517-1
- openSUSE-SU-2024:14522-1
- openSUSE-SU-2025:0131-1
- openSUSE-SU-2025:14768-1
- openSUSE-SU-2025:14840-1
- openSUSE-SU-2025:14988-1
- openSUSE-SU-2025:20117-1
- openSUSE-SU-2026:12270-1
- openSUSE-SU-2026:12297-1
- openSUSE-SU-2026:12300-1
- openSUSE-SU-2026:20099-1
- RHSA-2026:2769
- SUSE-SU-2024:4042-1
- SUSE-SU-2025:01985-1
- SUSE-SU-2025:0524-1
- Published
- Nov 4, 2024
- Updated
- Jun 17, 2026
- EPSS
- 0.5% · 48th percentile
- CWE
- CWE-755
Report tools
Action score
12
Monitor
Low priority for now.
- CVSS
- 12 / 40 · 3.1 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.5%
CISA SSVC decision
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- —
- CNA · GitHub_M
- 3.1
- NVD has not scored this yet; the score shown is the CNA’s.
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Running WordPress? Scan your site free with WP Lens
Noroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
—
Versions reported by the vendor
Affected version ranges reported by the assigning authority (GitHub_M). Independent of NVD's CPE analysis and usually ahead of it.
golang-jwt jwt
- < 4.5.1affected
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | golang-github-golang-jwt-jwt | from 0 | — |
| Debian:13 | golang-github-golang-jwt-jwt | before 5.0.0+really4.5.2-1 | 5.0.0+really4.5.2-1 |
| Go | github.com/golang-jwt/jwt/v4 | before 4.5.1 | 4.5.1 |
| openSUSE:Leap 15.5 | govulncheck-vulndb | before 0.0.20241112T145010-150000.1.17.1 | 0.0.20241112T145010-150000.1.17.1 |
| openSUSE:Leap 15.6 | coredns | before 1.12.1-bp156.4.6.5 | 1.12.1-bp156.4.6.5 |
| openSUSE:Leap 15.6 | cosign | before 2.5.0-150400.3.27.1 | 2.5.0-150400.3.27.1 |
| openSUSE:Leap 15.6 | dracut-saltboot | before 0.1.1728559936.c16d4fb-150000.1.56.1 | 0.1.1728559936.c16d4fb-150000.1.56.1 |
| openSUSE:Leap 15.6 | golang-github-prometheus-prometheus | before 2.53.3-150100.4.23.1 | 2.53.3-150100.4.23.1 |
| openSUSE:Leap 15.6 | golang-github-prometheus-promu | before 0.17.0-150000.3.24.1 | 0.17.0-150000.3.24.1 |
| openSUSE:Leap 15.6 | spacecmd | before 5.0.11-150000.3.130.1 | 5.0.11-150000.3.130.1 |
| openSUSE:Leap 15.6 | supportutils-plugin-salt | before 1.2.3-150000.3.16.1 | 1.2.3-150000.3.16.1 |
| openSUSE:Leap 15.6 | supportutils-plugin-susemanager-client | before 5.0.4-150000.3.27.1 | 5.0.4-150000.3.27.1 |
| openSUSE:Leap 16.0 | coredns | before 1.14.0-bp160.1.1 | 1.14.0-bp160.1.1 |
| openSUSE:Tumbleweed | coredns | before 1.11.3+git129.387f34d-1.1 | 1.11.3+git129.387f34d-1.1 |
| openSUSE:Tumbleweed | cosign | before 2.5.0-1.1 | 2.5.0-1.1 |
| openSUSE:Tumbleweed | flannel | before 0.28.10-1.1 | 0.28.10-1.1 |
| openSUSE:Tumbleweed | govulncheck-vulndb | before 0.0.20241112T145010-1.1 | 0.0.20241112T145010-1.1 |
| openSUSE:Tumbleweed | grafana | before 11.5.1-1.1 | 11.5.1-1.1 |
| openSUSE:Tumbleweed | kubectl-retina | before 1.3.1-1.1 | 1.3.1-1.1 |
| openSUSE:Tumbleweed | kumactl | before 3.0.0-1.1 | 3.0.0-1.1 |
| openSUSE:Tumbleweed | rclone | before 1.68.1-2.1 | 1.68.1-2.1 |
| openSUSE:Tumbleweed | traefik | before 3.2.1-1.1 | 3.2.1-1.1 |
| openSUSE:Tumbleweed | traefik2 | before 2.11.14-1.1 | 2.11.14-1.1 |
| openSUSE:Tumbleweed | trivy | before 0.59.1-1.1 | 0.59.1-1.1 |
+96
Same product
golang-jwt: all recordsOther highest-scoring records for the same primary product.
- CVE-2025-30204jwt-go allows excessive memory allocation during header parsing30Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| azl3 application-gateway-kubernetes-ingress 1.7.2-3 on Azure Linux 3.0 | 1.7.7-1 · CBL-Mariner Releases | Microsoft (MSRC) |
| azl3 application-gateway-kubernetes-ingress 1.7.7-1 on Azure Linux 3.0 | 1.7.7-1 · CBL-Mariner Releases | Microsoft (MSRC) |
| azl3 azcopy 10.25.1-4 on Azure Linux 3.0 | 10.25.1-4 · CBL-Mariner Releases | Microsoft (MSRC) |
| azl3 cert-manager 1.12.13-2 on Azure Linux 3.0 | 1.12.15-1 · CBL-Mariner Releases | Microsoft (MSRC) |
| azl3 cert-manager 1.12.15-1 on Azure Linux 3.0 | 1.12.15-1 · CBL-Mariner Releases | Microsoft (MSRC) |
| azl3 coredns 1.11.1-4 on Azure Linux 3.0 | 1.11.4-1 · CBL-Mariner Releases | Microsoft (MSRC) |
| azl3 coredns 1.11.4-1 on Azure Linux 3.0 | 1.11.4-1 · CBL-Mariner Releases | Microsoft (MSRC) |
| azl3 dcos-cli 1.2.0-18 on Azure Linux 3.0 | 1.2.0-18 · CBL-Mariner Releases | Microsoft (MSRC) |
| azl3 etcd 3.5.12-2 on Azure Linux 3.0 | 3.5.18-1 · CBL-Mariner Releases | Microsoft (MSRC) |
| azl3 etcd 3.5.18-1 on Azure Linux 3.0 | 3.5.18-1 · CBL-Mariner Releases | Microsoft (MSRC) |
| azl3 flannel 0.24.2-13 on Azure Linux 3.0 | 0.24.2-13 · CBL-Mariner Releases | Microsoft (MSRC) |
| azl3 flannel 0.24.2-14 on Azure Linux 3.0 | 0.24.2-13 · CBL-Mariner Releases | Microsoft (MSRC) |
| azl3 influxdb 2.7.5-3 on Azure Linux 3.0 | 2.7.5-3 · CBL-Mariner Releases | Microsoft (MSRC) |
| azl3 influxdb 2.7.5-5 on Azure Linux 3.0 | 2.7.5-3 · CBL-Mariner Releases | Microsoft (MSRC) |
| azl3 jx 3.10.116-2 on Azure Linux 3.0 | 3.10.182-1 · CBL-Mariner Releases | Microsoft (MSRC) |
| azl3 jx 3.10.182-1 on Azure Linux 3.0 | 3.10.182-1 · CBL-Mariner Releases | Microsoft (MSRC) |
| azl3 keda 2.14.1-6 on Azure Linux 3.0 | 2.14.1-6 · CBL-Mariner Releases | Microsoft (MSRC) |
| azl3 keda 2.14.1-7 on Azure Linux 3.0 | 2.14.1-6 · CBL-Mariner Releases | Microsoft (MSRC) |
| azl3 kubernetes 1.30.10-5 on Azure Linux 3.0 | 1.30.10-5 · CBL-Mariner Releases | Microsoft (MSRC) |
| azl3 kubernetes 1.30.10-7 on Azure Linux 3.0 | 1.30.10-5 · CBL-Mariner Releases | Microsoft (MSRC) |
| azl3 moby-engine 25.0.3-13 on Azure Linux 3.0 | 25.0.3-13 · CBL-Mariner Releases | Microsoft (MSRC) |
| azl3 packer 1.9.5-8 on Azure Linux 3.0 | 1.9.5-8 · CBL-Mariner Releases | Microsoft (MSRC) |
| azl3 packer 1.9.5-9 on Azure Linux 3.0 | 1.9.5-8 · CBL-Mariner Releases | Microsoft (MSRC) |
| azl3 prometheus 2.45.4-12 on Azure Linux 3.0 | 2.45.4-12 · CBL-Mariner Releases | Microsoft (MSRC) |
| azl3 telegraf 1.31.0-10 on Azure Linux 3.0 | 1.31.0-6 · CBL-Mariner Releases | Microsoft (MSRC) |
| azl3 telegraf 1.31.0-6 on Azure Linux 3.0 | 1.31.0-6 · CBL-Mariner Releases | Microsoft (MSRC) |
| cbl2 application-gateway-kubernetes-ingress 1.4.0-25 on CBL Mariner 2.0 | 1.4.0-25 · CBL-Mariner Releases | Microsoft (MSRC) |
| cbl2 application-gateway-kubernetes-ingress 1.4.0-25 on CBL-Mariner 2.0 | 1.4.0-25 · CBL-Mariner Releases | Microsoft (MSRC) |
| cbl2 azcopy 10.25.1-4 on CBL Mariner 2.0 | 10.25.1-4 · CBL-Mariner Releases | Microsoft (MSRC) |
| cbl2 azcopy 10.25.1-5 on CBL Mariner 2.0 | 10.25.1-4 · CBL-Mariner Releases | Microsoft (MSRC) |
+82
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
No history yet (it accumulates with the daily EPSS job).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- A user must open a link or visit a page.
- Special conditions such as timing or configuration are required.
If successful
- Confidentiality
- low · data can be read
- Integrity
- none
- Availability
- none
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality impact
- Low
- Integrity impact
- None
- Availability impact
- None
Weakness class (CWE)
CWE-755 · Improper Handling of Exceptional ConditionsCVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N
nvd-secondary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (1 more)Show less
Vendor advisories and official records. Exploit/PoC links are deliberately left out.