Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2024-51744

published low CVSS 3.1 · 3.1

Bad documentation of error handling in ParseWithClaims can lead to potentially dangerous situations in golang-jwt

Published
04 Nov 2024, 21:47:12 UTC
Updated
05 Nov 2024, 16:11:42 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
golang-jwt — jwt< 4.5.1 Affected Not stated GitHub_M
Amazon Linux AL2 Release evaluationALAS2DOCKER-2025-048 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2DOCKER-2025-050 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2DOCKER-2025-051 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2ECS-2025-048 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2NITRO-ENCLAVES-2025-050 Fixed Not stated Amazon Linux assessment
SUSE / openSUSE SLE-15-SP3 supportutils-plugin-saltnoarch Advisory build 1.2.3-150000.3.16.1 SUSE-SU-2025:0525-1
SUSE / openSUSE SLE-15-SP4 cosignaarch64 Advisory build 2.5.0-150400.3.27.1 SUSE-SU-2025:1333-1
Show 101 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Amazon Linux AL2023 Release evaluationALAS2023-2025-816 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2025-834 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2025-852 Fixed Not stated Amazon Linux assessment
SUSE / openSUSE SLE-15-SP4 cosignppc64le Advisory build 2.5.0-150400.3.27.1 SUSE-SU-2025:1333-1
SUSE / openSUSE SLE-15-SP4 cosigns390x Advisory build 2.5.0-150400.3.27.1 SUSE-SU-2025:1333-1
SUSE / openSUSE SLE-15-SP4 cosignx86_64 Advisory build 2.5.0-150400.3.27.1 SUSE-SU-2025:1333-1
SUSE / openSUSE SLE-15-SP4 supportutils-plugin-saltnoarch Advisory build 1.2.3-150000.3.16.1 SUSE-SU-2025:0525-1
SUSE / openSUSE SLE-15-SP5 cosignaarch64 Advisory build 2.5.0-150400.3.27.1 SUSE-SU-2025:1333-1
SUSE / openSUSE SLE-15-SP5 cosignppc64le Advisory build 2.5.0-150400.3.27.1 SUSE-SU-2025:1333-1
SUSE / openSUSE SLE-15-SP5 cosigns390x Advisory build 2.5.0-150400.3.27.1 SUSE-SU-2025:1333-1
SUSE / openSUSE SLE-15-SP5 cosignx86_64 Advisory build 2.5.0-150400.3.27.1 SUSE-SU-2025:1333-1
SUSE / openSUSE SLE-15-SP5 govulncheck-vulndbnoarch Advisory build 0.0.20241112T145010-150000.1.17.1 SUSE-SU-2024:4042-1
SUSE / openSUSE SLE-15-SP5 supportutils-plugin-saltnoarch Advisory build 1.2.3-150000.3.16.1 SUSE-SU-2025:0525-1
SUSE / openSUSE SLE-15-SP6 cosignaarch64 Advisory build 2.5.0-150400.3.27.1 SUSE-SU-2025:1333-1
SUSE / openSUSE SLE-15-SP6 cosignppc64le Advisory build 2.5.0-150400.3.27.1 SUSE-SU-2025:1333-1
SUSE / openSUSE SLE-15-SP6 cosigns390x Advisory build 2.5.0-150400.3.27.1 SUSE-SU-2025:1333-1
SUSE / openSUSE SLE-15-SP6 cosignx86_64 Advisory build 2.5.0-150400.3.27.1 SUSE-SU-2025:1333-1
SUSE / openSUSE SLE-15-SP6 golang-github-prometheus-prometheusaarch64 Advisory build 2.53.3-150100.4.23.1 SUSE-SU-2025:0546-1
SUSE / openSUSE SLE-15-SP6 golang-github-prometheus-prometheusppc64le Advisory build 2.53.3-150100.4.23.1 SUSE-SU-2025:0546-1
SUSE / openSUSE SLE-15-SP6 golang-github-prometheus-prometheuss390x Advisory build 2.53.3-150100.4.23.1 SUSE-SU-2025:0546-1
SUSE / openSUSE SLE-15-SP6 golang-github-prometheus-prometheusx86_64 Advisory build 2.53.3-150100.4.23.1 SUSE-SU-2025:0546-1
SUSE / openSUSE SLE-15-SP6 golang-github-prometheus-promuaarch64 Advisory build 0.17.0-150000.3.24.1 SUSE-SU-2025:0525-1
SUSE / openSUSE SLE-15-SP6 golang-github-prometheus-promuppc64le Advisory build 0.17.0-150000.3.24.1 SUSE-SU-2025:0525-1
SUSE / openSUSE SLE-15-SP6 golang-github-prometheus-promus390x Advisory build 0.17.0-150000.3.24.1 SUSE-SU-2025:0525-1
SUSE / openSUSE SLE-15-SP6 golang-github-prometheus-promux86_64 Advisory build 0.17.0-150000.3.24.1 SUSE-SU-2025:0525-1
SUSE / openSUSE SLE-15-SP6 govulncheck-vulndbnoarch Advisory build 0.0.20241112T145010-150000.1.17.1 SUSE-SU-2024:4042-1
SUSE / openSUSE SLE-15-SP6 supportutils-plugin-saltnoarch Advisory build 1.2.3-150000.3.16.1 SUSE-SU-2025:0525-1
SUSE / openSUSE openSUSE-Leap-15.5 govulncheck-vulndbnoarch Advisory build 0.0.20241112T145010-150000.1.17.1 SUSE-SU-2024:4042-1
SUSE / openSUSE openSUSE-Leap-15.6 corednsi586 Advisory build 1.12.1-bp156.4.6.5 OPENSUSE-SU-2025:0131-1
SUSE / openSUSE openSUSE-Leap-15.6 corednsx86_64 Advisory build 1.12.1-bp156.4.6.5 OPENSUSE-SU-2025:0131-1
SUSE / openSUSE openSUSE-Leap-15.6 coredns-extrasnoarch Advisory build 1.12.1-bp156.4.6.5 OPENSUSE-SU-2025:0131-1
SUSE / openSUSE openSUSE-Leap-15.6 cosignaarch64 Advisory build 2.5.0-150400.3.27.1 SUSE-SU-2025:1333-1
SUSE / openSUSE openSUSE-Leap-15.6 cosignppc64le Advisory build 2.5.0-150400.3.27.1 SUSE-SU-2025:1333-1
SUSE / openSUSE openSUSE-Leap-15.6 cosigns390x Advisory build 2.5.0-150400.3.27.1 SUSE-SU-2025:1333-1
SUSE / openSUSE openSUSE-Leap-15.6 cosignx86_64 Advisory build 2.5.0-150400.3.27.1 SUSE-SU-2025:1333-1
SUSE / openSUSE openSUSE-Leap-15.6 dracut-saltbootnoarch Advisory build 0.1.1728559936.c16d4fb-150000.1.56.1 SUSE-SU-2025:0525-1
SUSE / openSUSE openSUSE-Leap-15.6 firewalld-prometheus-configaarch64 Advisory build 0.1-150100.4.23.1 SUSE-SU-2025:0546-1
SUSE / openSUSE openSUSE-Leap-15.6 firewalld-prometheus-configppc64le Advisory build 0.1-150100.4.23.1 SUSE-SU-2025:0546-1
SUSE / openSUSE openSUSE-Leap-15.6 firewalld-prometheus-configs390x Advisory build 0.1-150100.4.23.1 SUSE-SU-2025:0546-1
SUSE / openSUSE openSUSE-Leap-15.6 firewalld-prometheus-configx86_64 Advisory build 0.1-150100.4.23.1 SUSE-SU-2025:0546-1
SUSE / openSUSE openSUSE-Leap-15.6 golang-github-prometheus-prometheusaarch64 Advisory build 2.53.3-150100.4.23.1 SUSE-SU-2025:0546-1
SUSE / openSUSE openSUSE-Leap-15.6 golang-github-prometheus-prometheusppc64le Advisory build 2.53.3-150100.4.23.1 SUSE-SU-2025:0546-1
SUSE / openSUSE openSUSE-Leap-15.6 golang-github-prometheus-prometheuss390x Advisory build 2.53.3-150100.4.23.1 SUSE-SU-2025:0546-1
SUSE / openSUSE openSUSE-Leap-15.6 golang-github-prometheus-prometheusx86_64 Advisory build 2.53.3-150100.4.23.1 SUSE-SU-2025:0546-1
SUSE / openSUSE openSUSE-Leap-15.6 golang-github-prometheus-promuaarch64 Advisory build 0.17.0-150000.3.24.1 SUSE-SU-2025:0525-1
SUSE / openSUSE openSUSE-Leap-15.6 golang-github-prometheus-promuppc64le Advisory build 0.17.0-150000.3.24.1 SUSE-SU-2025:0525-1
SUSE / openSUSE openSUSE-Leap-15.6 golang-github-prometheus-promus390x Advisory build 0.17.0-150000.3.24.1 SUSE-SU-2025:0525-1
SUSE / openSUSE openSUSE-Leap-15.6 golang-github-prometheus-promux86_64 Advisory build 0.17.0-150000.3.24.1 SUSE-SU-2025:0525-1
SUSE / openSUSE openSUSE-Leap-15.6 govulncheck-vulndbnoarch Advisory build 0.0.20241112T145010-150000.1.17.1 SUSE-SU-2024:4042-1
SUSE / openSUSE openSUSE-Leap-15.6 spacecmdnoarch Advisory build 5.0.11-150000.3.130.1 SUSE-SU-2025:0525-1
SUSE / openSUSE openSUSE-Leap-15.6 supportutils-plugin-saltnoarch Advisory build 1.2.3-150000.3.16.1 SUSE-SU-2025:0525-1
SUSE / openSUSE openSUSE-Leap-15.6 supportutils-plugin-susemanager-clientnoarch Advisory build 5.0.4-150000.3.27.1 SUSE-SU-2025:0525-1
SUSE / openSUSE openSUSE-Leap-16.0 corednsaarch64 Advisory build 1.14.0-bp160.1.1 OPENSUSE-SU-2026:20099-1
SUSE / openSUSE openSUSE-Leap-16.0 corednsppc64le Advisory build 1.14.0-bp160.1.1 OPENSUSE-SU-2026:20099-1
SUSE / openSUSE openSUSE-Leap-16.0 corednsx86_64 Advisory build 1.14.0-bp160.1.1 OPENSUSE-SU-2026:20099-1
SUSE / openSUSE openSUSE-Leap-16.0 coredns-extrasnoarch Advisory build 1.14.0-bp160.1.1 OPENSUSE-SU-2026:20099-1
SUSE / openSUSE openSUSE-Leap-16.0 grafanaaarch64 Advisory build 11.6.11-bp160.1.1 OPENSUSE-SU-2026:20654-1
SUSE / openSUSE openSUSE-Leap-16.0 grafanappc64le Advisory build 11.6.11-bp160.1.1 OPENSUSE-SU-2026:20654-1
SUSE / openSUSE openSUSE-Leap-16.0 grafanas390x Advisory build 11.6.11-bp160.1.1 OPENSUSE-SU-2026:20654-1
SUSE / openSUSE openSUSE-Leap-16.0 grafanax86_64 Advisory build 11.6.11-bp160.1.1 OPENSUSE-SU-2026:20654-1
SUSE / openSUSE openSUSE-Leap-16.0 rcloneaarch64 Advisory build 1.73.5-bp160.1.1 OPENSUSE-SU-2026:20620-1
SUSE / openSUSE openSUSE-Leap-16.0 rcloneppc64le Advisory build 1.73.5-bp160.1.1 OPENSUSE-SU-2026:20620-1
SUSE / openSUSE openSUSE-Leap-16.0 rclonex86_64 Advisory build 1.73.5-bp160.1.1 OPENSUSE-SU-2026:20620-1
SUSE / openSUSE openSUSE-Leap-16.0 rclone-bash-completionnoarch Advisory build 1.73.5-bp160.1.1 OPENSUSE-SU-2026:20620-1
SUSE / openSUSE openSUSE-Leap-16.0 rclone-zsh-completionnoarch Advisory build 1.73.5-bp160.1.1 OPENSUSE-SU-2026:20620-1
SUSE / openSUSE openSUSE-Leap-16.0 trivyaarch64 Advisory build 0.66.0-bp160.1.1 OPENSUSE-SU-2025:20117-1
SUSE / openSUSE openSUSE-Leap-16.0 trivyaarch64 Advisory build 0.68.2-160000.1.1 OPENSUSE-SU-2026:20798-1
SUSE / openSUSE openSUSE-Leap-16.0 trivyppc64le Advisory build 0.66.0-bp160.1.1 OPENSUSE-SU-2025:20117-1
SUSE / openSUSE openSUSE-Leap-16.0 trivyppc64le Advisory build 0.68.2-160000.1.1 OPENSUSE-SU-2026:20798-1
SUSE / openSUSE openSUSE-Leap-16.0 trivys390x Advisory build 0.66.0-bp160.1.1 OPENSUSE-SU-2025:20117-1
SUSE / openSUSE openSUSE-Leap-16.0 trivys390x Advisory build 0.68.2-160000.1.1 OPENSUSE-SU-2026:20798-1
SUSE / openSUSE openSUSE-Leap-16.0 trivyx86_64 Advisory build 0.66.0-bp160.1.1 OPENSUSE-SU-2025:20117-1
SUSE / openSUSE openSUSE-Leap-16.0 trivyx86_64 Advisory build 0.68.2-160000.1.1 OPENSUSE-SU-2026:20798-1
SUSE / openSUSE openSUSE-Tumbleweed corednsaarch64 Advisory build 1.11.3+git129.387f34d-1.1 OPENSUSE-SU-2024:14481-1
SUSE / openSUSE openSUSE-Tumbleweed corednsppc64le Advisory build 1.11.3+git129.387f34d-1.1 OPENSUSE-SU-2024:14481-1
SUSE / openSUSE openSUSE-Tumbleweed corednss390x Advisory build 1.11.3+git129.387f34d-1.1 OPENSUSE-SU-2024:14481-1
SUSE / openSUSE openSUSE-Tumbleweed corednsx86_64 Advisory build 1.11.3+git129.387f34d-1.1 OPENSUSE-SU-2024:14481-1
SUSE / openSUSE openSUSE-Tumbleweed coredns-extrasaarch64 Advisory build 1.11.3+git129.387f34d-1.1 OPENSUSE-SU-2024:14481-1
SUSE / openSUSE openSUSE-Tumbleweed coredns-extrasppc64le Advisory build 1.11.3+git129.387f34d-1.1 OPENSUSE-SU-2024:14481-1
SUSE / openSUSE openSUSE-Tumbleweed coredns-extrass390x Advisory build 1.11.3+git129.387f34d-1.1 OPENSUSE-SU-2024:14481-1
SUSE / openSUSE openSUSE-Tumbleweed coredns-extrasx86_64 Advisory build 1.11.3+git129.387f34d-1.1 OPENSUSE-SU-2024:14481-1
SUSE / openSUSE openSUSE-Tumbleweed cosignaarch64 Advisory build 2.5.0-1.1 OPENSUSE-SU-2025:14988-1
SUSE / openSUSE openSUSE-Tumbleweed cosignppc64le Advisory build 2.5.0-1.1 OPENSUSE-SU-2025:14988-1
SUSE / openSUSE openSUSE-Tumbleweed cosigns390x Advisory build 2.5.0-1.1 OPENSUSE-SU-2025:14988-1
SUSE / openSUSE openSUSE-Tumbleweed cosignx86_64 Advisory build 2.5.0-1.1 OPENSUSE-SU-2025:14988-1
SUSE / openSUSE openSUSE-Tumbleweed cosign-bash-completionaarch64 Advisory build 2.5.0-1.1 OPENSUSE-SU-2025:14988-1
SUSE / openSUSE openSUSE-Tumbleweed cosign-bash-completionppc64le Advisory build 2.5.0-1.1 OPENSUSE-SU-2025:14988-1
SUSE / openSUSE openSUSE-Tumbleweed cosign-bash-completions390x Advisory build 2.5.0-1.1 OPENSUSE-SU-2025:14988-1
SUSE / openSUSE openSUSE-Tumbleweed cosign-bash-completionx86_64 Advisory build 2.5.0-1.1 OPENSUSE-SU-2025:14988-1
SUSE / openSUSE openSUSE-Tumbleweed cosign-fish-completionaarch64 Advisory build 2.5.0-1.1 OPENSUSE-SU-2025:14988-1
SUSE / openSUSE openSUSE-Tumbleweed cosign-fish-completionppc64le Advisory build 2.5.0-1.1 OPENSUSE-SU-2025:14988-1
SUSE / openSUSE openSUSE-Tumbleweed cosign-fish-completions390x Advisory build 2.5.0-1.1 OPENSUSE-SU-2025:14988-1
SUSE / openSUSE openSUSE-Tumbleweed cosign-fish-completionx86_64 Advisory build 2.5.0-1.1 OPENSUSE-SU-2025:14988-1
SUSE / openSUSE openSUSE-Tumbleweed cosign-zsh-completionaarch64 Advisory build 2.5.0-1.1 OPENSUSE-SU-2025:14988-1
SUSE / openSUSE openSUSE-Tumbleweed cosign-zsh-completionppc64le Advisory build 2.5.0-1.1 OPENSUSE-SU-2025:14988-1
SUSE / openSUSE openSUSE-Tumbleweed cosign-zsh-completions390x Advisory build 2.5.0-1.1 OPENSUSE-SU-2025:14988-1
SUSE / openSUSE openSUSE-Tumbleweed cosign-zsh-completionx86_64 Advisory build 2.5.0-1.1 OPENSUSE-SU-2025:14988-1
SUSE / openSUSE openSUSE-Tumbleweed flannelaarch64 Advisory build 0.28.10-1.1 OPENSUSE-SU-2026:12270-1
SUSE / openSUSE openSUSE-Tumbleweed flannelppc64le Advisory build 0.28.10-1.1 OPENSUSE-SU-2026:12270-1
SUSE / openSUSE openSUSE-Tumbleweed flannels390x Advisory build 0.28.10-1.1 OPENSUSE-SU-2026:12270-1
SUSE / openSUSE openSUSE-Tumbleweed flannelx86_64 Advisory build 0.28.10-1.1 OPENSUSE-SU-2026:12270-1

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

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.

en · GitHub_M · cna

Vendor advisories explicitly linked to this CVE.

41

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
3.1 / 10
Severity
low
Provider
GitHub_M · cna
Vector string
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
golang-jwt jwt < 4.5.1 (affected) GitHub_M · cna

Weaknesses

1
  • CWE-755 CWE-755: Improper Handling of Exceptional Conditions (GitHub_M · cna)

References

2

Provider assertions

2

GitHub_M · cna

Bad documentation of error handling in ParseWithClaims can lead to potentially dangerous situations in golang-jwt

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.1
Searchable
yes
Content hash
7cc8a4a77dff678190ba8c3d873e7191cb531a9d542120eb5789f20040594cd7
Ingested
23 Sep 2026, 08:30:23 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected