Skip to content
Noroxi
NVD / CVE Program· CNA GitHub_M

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.

LowCVSS 3.1 · v3.1—No exploit Fix available
Published
Nov 4, 2024
Updated
Jun 17, 2026
EPSS
0.5% · 48th percentile

Report tools

JSON

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.

Follow CVE-2024-51744

When you'll hear from us

  • when it enters CISA KEV
  • when exploit code appears or is weaponized
  • when the record is updated (including a fixed version)
  • when EPSS rises 20 points in a week

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits instantly.

Your free account also gets you

Running WordPress? Scan your site free with WP Lens

  • Stack alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools

Sign up with email · Have an account? Sign in

Free account, no card. Unfollow any time.

Running WordPress? Scan your site free with WP Lens

Is your version affected? Check it

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 help

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

EcosystemPackageAffected rangeFix
Debian:12golang-github-golang-jwt-jwtfrom 0—
Debian:13golang-github-golang-jwt-jwtbefore 5.0.0+really4.5.2-15.0.0+really4.5.2-1
Gogithub.com/golang-jwt/jwt/v4before 4.5.14.5.1
openSUSE:Leap 15.5govulncheck-vulndbbefore 0.0.20241112T145010-150000.1.17.10.0.20241112T145010-150000.1.17.1
openSUSE:Leap 15.6corednsbefore 1.12.1-bp156.4.6.51.12.1-bp156.4.6.5
openSUSE:Leap 15.6cosignbefore 2.5.0-150400.3.27.12.5.0-150400.3.27.1
openSUSE:Leap 15.6dracut-saltbootbefore 0.1.1728559936.c16d4fb-150000.1.56.10.1.1728559936.c16d4fb-150000.1.56.1
openSUSE:Leap 15.6golang-github-prometheus-prometheusbefore 2.53.3-150100.4.23.12.53.3-150100.4.23.1
openSUSE:Leap 15.6golang-github-prometheus-promubefore 0.17.0-150000.3.24.10.17.0-150000.3.24.1
openSUSE:Leap 15.6spacecmdbefore 5.0.11-150000.3.130.15.0.11-150000.3.130.1
openSUSE:Leap 15.6supportutils-plugin-saltbefore 1.2.3-150000.3.16.11.2.3-150000.3.16.1
openSUSE:Leap 15.6supportutils-plugin-susemanager-clientbefore 5.0.4-150000.3.27.15.0.4-150000.3.27.1
openSUSE:Leap 16.0corednsbefore 1.14.0-bp160.1.11.14.0-bp160.1.1
openSUSE:Tumbleweedcorednsbefore 1.11.3+git129.387f34d-1.11.11.3+git129.387f34d-1.1
openSUSE:Tumbleweedcosignbefore 2.5.0-1.12.5.0-1.1
openSUSE:Tumbleweedflannelbefore 0.28.10-1.10.28.10-1.1
openSUSE:Tumbleweedgovulncheck-vulndbbefore 0.0.20241112T145010-1.10.0.20241112T145010-1.1
openSUSE:Tumbleweedgrafanabefore 11.5.1-1.111.5.1-1.1
openSUSE:Tumbleweedkubectl-retinabefore 1.3.1-1.11.3.1-1.1
openSUSE:Tumbleweedkumactlbefore 3.0.0-1.13.0.0-1.1
openSUSE:Tumbleweedrclonebefore 1.68.1-2.11.68.1-2.1
openSUSE:Tumbleweedtraefikbefore 3.2.1-1.13.2.1-1.1
openSUSE:Tumbleweedtraefik2before 2.11.14-1.12.11.14-1.1
openSUSE:Tumbleweedtrivybefore 0.59.1-1.10.59.1-1.1

+96

Other highest-scoring records for the same primary product.

  • CVE-2025-30204jwt-go allows excessive memory allocation during header parsing
    30Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
azl3 application-gateway-kubernetes-ingress 1.7.2-3 on Azure Linux 3.01.7.7-1 · CBL-Mariner ReleasesMicrosoft (MSRC)
azl3 application-gateway-kubernetes-ingress 1.7.7-1 on Azure Linux 3.01.7.7-1 · CBL-Mariner ReleasesMicrosoft (MSRC)
azl3 azcopy 10.25.1-4 on Azure Linux 3.010.25.1-4 · CBL-Mariner ReleasesMicrosoft (MSRC)
azl3 cert-manager 1.12.13-2 on Azure Linux 3.01.12.15-1 · CBL-Mariner ReleasesMicrosoft (MSRC)
azl3 cert-manager 1.12.15-1 on Azure Linux 3.01.12.15-1 · CBL-Mariner ReleasesMicrosoft (MSRC)
azl3 coredns 1.11.1-4 on Azure Linux 3.01.11.4-1 · CBL-Mariner ReleasesMicrosoft (MSRC)
azl3 coredns 1.11.4-1 on Azure Linux 3.01.11.4-1 · CBL-Mariner ReleasesMicrosoft (MSRC)
azl3 dcos-cli 1.2.0-18 on Azure Linux 3.01.2.0-18 · CBL-Mariner ReleasesMicrosoft (MSRC)
azl3 etcd 3.5.12-2 on Azure Linux 3.03.5.18-1 · CBL-Mariner ReleasesMicrosoft (MSRC)
azl3 etcd 3.5.18-1 on Azure Linux 3.03.5.18-1 · CBL-Mariner ReleasesMicrosoft (MSRC)
azl3 flannel 0.24.2-13 on Azure Linux 3.00.24.2-13 · CBL-Mariner ReleasesMicrosoft (MSRC)
azl3 flannel 0.24.2-14 on Azure Linux 3.00.24.2-13 · CBL-Mariner ReleasesMicrosoft (MSRC)
azl3 influxdb 2.7.5-3 on Azure Linux 3.02.7.5-3 · CBL-Mariner ReleasesMicrosoft (MSRC)
azl3 influxdb 2.7.5-5 on Azure Linux 3.02.7.5-3 · CBL-Mariner ReleasesMicrosoft (MSRC)
azl3 jx 3.10.116-2 on Azure Linux 3.03.10.182-1 · CBL-Mariner ReleasesMicrosoft (MSRC)
azl3 jx 3.10.182-1 on Azure Linux 3.03.10.182-1 · CBL-Mariner ReleasesMicrosoft (MSRC)
azl3 keda 2.14.1-6 on Azure Linux 3.02.14.1-6 · CBL-Mariner ReleasesMicrosoft (MSRC)
azl3 keda 2.14.1-7 on Azure Linux 3.02.14.1-6 · CBL-Mariner ReleasesMicrosoft (MSRC)
azl3 kubernetes 1.30.10-5 on Azure Linux 3.01.30.10-5 · CBL-Mariner ReleasesMicrosoft (MSRC)
azl3 kubernetes 1.30.10-7 on Azure Linux 3.01.30.10-5 · CBL-Mariner ReleasesMicrosoft (MSRC)
azl3 moby-engine 25.0.3-13 on Azure Linux 3.025.0.3-13 · CBL-Mariner ReleasesMicrosoft (MSRC)
azl3 packer 1.9.5-8 on Azure Linux 3.01.9.5-8 · CBL-Mariner ReleasesMicrosoft (MSRC)
azl3 packer 1.9.5-9 on Azure Linux 3.01.9.5-8 · CBL-Mariner ReleasesMicrosoft (MSRC)
azl3 prometheus 2.45.4-12 on Azure Linux 3.02.45.4-12 · CBL-Mariner ReleasesMicrosoft (MSRC)
azl3 telegraf 1.31.0-10 on Azure Linux 3.01.31.0-6 · CBL-Mariner ReleasesMicrosoft (MSRC)
azl3 telegraf 1.31.0-6 on Azure Linux 3.01.31.0-6 · CBL-Mariner ReleasesMicrosoft (MSRC)
cbl2 application-gateway-kubernetes-ingress 1.4.0-25 on CBL Mariner 2.01.4.0-25 · CBL-Mariner ReleasesMicrosoft (MSRC)
cbl2 application-gateway-kubernetes-ingress 1.4.0-25 on CBL-Mariner 2.01.4.0-25 · CBL-Mariner ReleasesMicrosoft (MSRC)
cbl2 azcopy 10.25.1-4 on CBL Mariner 2.010.25.1-4 · CBL-Mariner ReleasesMicrosoft (MSRC)
cbl2 azcopy 10.25.1-5 on CBL Mariner 2.010.25.1-4 · CBL-Mariner ReleasesMicrosoft (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.

Finders, 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

CVSS 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

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

Show all references (1 more)

Vendor advisories and official records. Exploit/PoC links are deliberately left out.

All records