cve.bz

CVE-2024-51744 golang-jwt jwt

3.1 lowEPSS 0.6%Fix available

Low (3.1) in golang-jwt jwt. EPSS 0.6% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/golang-jwt/jwt/v4 4.5.1.

On this page
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.

Severity

CVSS 3.1

3.1 low
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N
EPSS
0.6% (unchanged from 0.6% a week ago; 0.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 48th percentile. Scored 2026-11-24. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2024-11-05. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-755 Improper Handling of Exceptional Conditions
OWASP Top 10
A10:2025 Mishandling of Exceptional Conditions
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-51744 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-51744?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-51744?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-51744 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
golang-jwt jwt< 4.5.1

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-29wx-vh33-7x7rGogithub.com/golang-jwt/jwt/v4<4.5.14.5.1
GO-2024-3250Gogithub.com/golang-jwt/jwt/v4<4.5.14.5.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12golang-github-golang-jwt-jwtno fix listedDEBIAN-CVE-2024-51744
Debian13, 14golang-github-golang-jwt-jwt5.0.0+really4.5.2-1DEBIAN-CVE-2024-51744
Ubuntu22.04:LTSgolang-github-golang-jwt-jwtno fix listedUBUNTU-CVE-2024-51744
Ubuntu24.04:LTS, 25.10, 26.04:LTS and 1 moregolang-github-golang-jwt-jwt, golang-github-golang-jwt-jwt-v5no fix listedUBUNTU-CVE-2024-51744
Red Hatceph_storage:7.1::el8ceph, librbd1, librgw2 and 51 more2:18.2.1-381.el8cpRHSA-2026:2769
Red Hatceph_storage:7.1::el9ceph, cephadm, librbd1 and 53 more2:18.2.1-381.el9cpRHSA-2026:2769
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 13 moresupportutils-plugin-salt1.2.3-150000.3.16.1SUSE-SU-2025:0525-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 8 morecosign2.5.0-150400.3.27.1SUSE-SU-2025:1333-1
SUSELinux Enterprise Module for Package Hub 15 SP5, Linux Enterprise Module for Package Hub 15 SP6govulncheck-vulndb0.0.20241112T145010-150000.1.17.1SUSE-SU-2024:4042-1
SUSELinux Enterprise Module for Package Hub 15 SP6golang-github-prometheus-promu0.17.0-150000.3.24.1SUSE-SU-2025:0525-1
SUSELinux Enterprise Module for Package Hub 15 SP6, Manager Proxy Module 4.3golang-github-prometheus-prometheus2.53.3-150100.4.23.1SUSE-SU-2025:0546-1
SUSEManager Client Tools 12golang-github-prometheus-prometheus2.53.3-1.56.1SUSE-SU-2025:0524-1
SUSEManager Client Tools 12golang-github-prometheus-promu0.17.0-1.24.1SUSE-SU-2025:0524-1
SUSEManager Client Tools 12grafana10.4.13-1.66.2SUSE-SU-2025:0524-1
SUSEManager Client Tools 12spacecmd5.0.11-38.153.1SUSE-SU-2025:0524-1
SUSEManager Client Tools 12supportutils-plugin-salt1.2.3-6.25.1SUSE-SU-2025:0524-1
SUSEManager Client Tools 12supportutils-plugin-susemanager-client5.0.4-6.33.1SUSE-SU-2025:0524-1
SUSEManager Client Tools 12uyuni-tools0.1.28-1.16.1SUSE-SU-2025:0524-1
8 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.5, Leap 15.6govulncheck-vulndb0.0.20241112T145010-150000.1.17.1SUSE-SU-2024:4042-1
openSUSELeap 15.6coredns1.12.1-bp156.4.6.5openSUSE-SU-2025:0131-1
openSUSELeap 15.6cosign2.5.0-150400.3.27.1SUSE-SU-2025:1333-1
openSUSELeap 15.6dracut-saltboot0.1.1728559936.c16d4fb-150000.1.56.1SUSE-SU-2025:0525-1
openSUSELeap 15.6golang-github-prometheus-prometheus2.53.3-150100.4.23.1SUSE-SU-2025:0546-1
openSUSELeap 15.6golang-github-prometheus-promu0.17.0-150000.3.24.1SUSE-SU-2025:0525-1
openSUSELeap 15.6spacecmd5.0.11-150000.3.130.1SUSE-SU-2025:0525-1
openSUSELeap 15.6supportutils-plugin-salt1.2.3-150000.3.16.1SUSE-SU-2025:0525-1
openSUSELeap 15.6supportutils-plugin-susemanager-client5.0.4-150000.3.27.1SUSE-SU-2025:0525-1
openSUSELeap 16.0coredns1.14.0-bp160.1.1openSUSE-SU-2026:20099-1
openSUSETumbleweedcoredns1.11.3+git129.387f34d-1.1openSUSE-SU-2024:14481-1
openSUSETumbleweedcosign2.5.0-1.1openSUSE-SU-2025:14988-1
10 more for openSUSE in the JSON and on openSUSE's page.
Azure Linux2application-gateway-kubernetes-ingress1.4.0-25AZL-52248
Azure Linux2azcopy10.25.1-5AZL-52260
Azure Linux2cert-manager1.11.2-22AZL-52257
Azure Linux2cf-cli8.4.0-24AZL-52251
Azure Linux2coredns1.11.1-18AZL-52230
Azure Linux2dcos-cli1.2.0-21AZL-52265
Azure Linux2etcd3.5.21-1AZL-52236
Azure Linux2influxdb2.6.1-22AZL-52224
Azure Linux2jx3.2.236-21AZL-52254
Azure Linux2keda2.4.0-29AZL-52239
Azure Linux2kube-vip-cloud-provider0.0.2-22AZL-52227
Azure Linux2kubernetes1.28.4-17AZL-52275
22 more for Azure Linux in the JSON.

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Low.

ProductPackageStateAdvisory
Red Hat Ceph Storage 7.1ceph-2:18.2.1-381.el8cpFixed 2026-02-17RHSA-2026:2769
Red Hat OpenShift Container Platform 4.15openshift4/ose-powervs-machine-controllers-rhel9:v4.15.0-202507111906.p0.g088808b.assembly.stream.el9Fixed 2025-07-23RHSA-2025:11351
Red Hat OpenShift Container Platform 4.16openshift4/aws-kms-encryption-provider-rhel9:v4.16.0-202507211806.p0.gc66065d.assembly.stream.el9Fixed 2025-07-30RHSA-2025:11681
Red Hat OpenShift Container Platform 4.16openshift4/azure-kms-encryption-provider-rhel9:v4.16.0-202507211806.p0.gaf633e0.assembly.stream.el9Fixed 2025-07-30RHSA-2025:11681
Red Hat OpenShift Container Platform 4.16openshift4/cloud-network-config-controller-rhel9:v4.16.0-202507211806.p0.g66931aa.assembly.stream.el9Fixed 2025-07-30RHSA-2025:11681
Red Hat OpenShift Container Platform 4.16openshift4/container-networking-plugins-microshift-rhel9:v4.16.0-202507211806.p0.g5f9ee06.assembly.stream.el9Fixed 2025-07-30RHSA-2025:11681
Red Hat OpenShift Container Platform 4.16openshift4/driver-toolkit-rhel9:v4.16.0-202507221936.p0.g1d5732f.assembly.stream.el9Fixed 2025-07-30RHSA-2025:11681
Red Hat OpenShift Container Platform 4.16openshift4/egress-router-cni-rhel9:v4.16.0-202507211806.p0.g7089efe.assembly.stream.el9Fixed 2025-07-30RHSA-2025:11681
Red Hat OpenShift Container Platform 4.16openshift4/kube-metrics-server-rhel9:v4.16.0-202507211806.p0.g9116b91.assembly.stream.el9Fixed 2025-07-30RHSA-2025:11681
Red Hat OpenShift Container Platform 4.16openshift4/kubevirt-csi-driver-rhel9:v4.16.0-202507211806.p0.gd474c42.assembly.stream.el9Fixed 2025-07-30RHSA-2025:11681
Builds for Red Hat OpenShiftopenshift-builds/openshift-builds-controller-rhel8Fix deferred
Builds for Red Hat OpenShiftopenshift-builds/openshift-builds-controller-rhel9Fix deferred
Builds for Red Hat OpenShiftopenshift-builds/openshift-builds-git-cloner-rhel8Fix deferred
Builds for Red Hat OpenShiftopenshift-builds/openshift-builds-git-cloner-rhel9Fix deferred
Builds for Red Hat OpenShiftopenshift-builds/openshift-builds-image-bundler-rhel8Fix deferred
Builds for Red Hat OpenShiftopenshift-builds/openshift-builds-image-bundler-rhel9Fix deferred
Builds for Red Hat OpenShiftopenshift-builds/openshift-builds-image-processing-rhel8Fix deferred
Builds for Red Hat OpenShiftopenshift-builds/openshift-builds-image-processing-rhel9Fix deferred
Builds for Red Hat OpenShiftopenshift-builds/openshift-builds-operator-bundleFix deferred
Builds for Red Hat OpenShiftopenshift-builds/openshift-builds-rhel8-operatorFix deferred
370 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-51744.

References

Check your stackJSON