BREACHSPIDER
CVE databaseVendorsIntelFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2024-51744 in Aware products

Low 3.1

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

Affects 0 products from 4 vendors. Facts below cite their sources.

CVSS 3.13.1
EPSS0.6%
EPSS percentile46th
FixUnknown

Remotely exploitable over the network, high complexity, no authentication required, requires user interaction, impact contained to the vulnerable component, no integrity impact, no availability impact.

Affected products and versions

VendorProductAffected versions
Aware — —
Cannot — —
Golang — —
Valid — —

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

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

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2024-51744
BreachSpider IDBS-2024-GLOBAL-045964-L
CVSS vectorCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N
Published2024-11-04
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-755: CWE-755

Analysis AI-written, not human-reviewed

CVE-2024-51744 affects the golang-jwt library due to unclear documentation of error behavior in the ParseWithClaims function. This can lead to improper error handling, particularly when a token is both expired and invalid, potentially allowing unauthorized access.

Attackers can exploit this vulnerability by crafting JWTs that are both expired and invalid. If the application only checks for jwt.ErrTokenExpired and does not properly handle other errors, it may incorrectly accept these tokens, leading to unauthorized access.

Questions

What is CVE-2024-51744?

CVE-2024-51744 affects the golang-jwt library due to unclear documentation of error behavior in the ParseWithClaims function. This can lead to improper error handling, particularly when a token is both expired and invalid, potentially allowing unauthorized access.

What is the CVSS score for CVE-2024-51744?

CVE-2024-51744 has CVSS 3.1 (Low). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N. EPSS: 0.6%.

Is CVE-2024-51744 actively exploited?

No confirmed active exploitation of CVE-2024-51744 as of 2026-09-25.

How do I remediate CVE-2024-51744?

Priority: MEDIUM.

What systems are affected by CVE-2024-51744?

CVE-2024-51744 affects Aware; Cannot; Golang; Valid.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Aware","product":"EDS-518A","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.