cve.bz

CVE-2024-28122 lestrrat-go jwx: Uncontrolled Resource Consumption

6.8 mediumExploit referenceEPSS 0.6%Fix available

Medium (6.8) in lestrrat-go jwx. EPSS 0.6% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/lestrrat-go/jwx/v2 2.0.21.

On this page
JWX is Go module implementing various JWx (JWA/JWE/JWK/JWS/JWT, otherwise known as JOSE) technologies. This vulnerability allows an attacker with a trusted public key to cause a Denial-of-Service (DoS) condition by crafting a malicious JSON Web Encryption (JWE) token with an exceptionally high compression ratio. This issue has been patched in versions 1.2.29 and 2.0.21.

Severity

CVSS 3.1

6.8 medium
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:H
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-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: partial, assessed 2024-03-11. 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-400 Uncontrolled Resource Consumption
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-28122 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-28122?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-28122?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-28122 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 NVD's CPE matches.

ProductAffected
lestrrat-go:jwxbefore 1.2.29
lestrrat-go:jwxfrom 2.0.0 before 2.0.21

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-hj3v-m684-v259Gogithub.com/lestrrat-go/jwx/v2<2.0.212.0.21
GHSA-hj3v-m684-v259Gogithub.com/lestrrat-go/jwx<1.2.291.2.29
GO-2024-2632Gogithub.com/lestrrat-go/jwx<1.2.291.2.29
GO-2024-2632Gogithub.com/lestrrat-go/jwx/v2<2.0.212.0.21

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
OpenShift Service Mesh 2openshift-service-mesh/istio-cni-rhel8Not affected
OpenShift Service Mesh 2openshift-service-mesh/pilot-rhel8Not affected
OpenShift Service Mesh 2openshift-service-mesh/proxyv2-rhel8Not affected

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

Attack patterns (CAPEC)

  • CAPEC-147 XML Ping of the Death Likelihood: Low · Severity: Medium
  • CAPEC-227 Sustained Client Engagement
  • CAPEC-492 Regular Expression Exponential Blowup

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON