VULNERABILITY

Red Hat: CVE-2025-30204: golang-jwt/jwt: jwt-go allows excessive memory allocation during header parsing (Multiple Advisories)

Try Surface Command Get a continuous 360° view of your attack surface
Back to Search

Red Hat: CVE-2025-30204: golang-jwt/jwt: jwt-go allows excessive memory allocation during header parsing (Multiple Advisories)

Severity
8
CVSS
(AV:N/AC:L/Au:N/C:N/I:N/A:C)
Published
03/21/2025
Created
03/29/2025
Added
03/28/2025
Modified
03/28/2025

Description

golang-jwt is a Go implementation of JSON Web Tokens. Prior to 5.2.2 and 4.5.2, the function parse.ParseUnverified splits (via a call to strings.Split) its argument (which is untrusted data) on periods. As a result, in the face of a malicious request whose Authorization header consists of Bearer followed by many period characters, a call to that function incurs allocations to the tune of O(n) bytes (where n stands for the length of the function's argument), with a constant factor of about 16. This issue is fixed in 5.2.2 and 4.5.2.

Solution(s)

  • redhat-upgrade-grafana
  • redhat-upgrade-grafana-debuginfo
  • redhat-upgrade-grafana-debugsource
  • redhat-upgrade-grafana-selinux

insightVM

Advanced vulnerability management analytics and reporting.
Key Features
  • Lightweight Endpoint Agent
  • Live Dashboards
  • Real Risk Prioritization
  • IT-Integrated Remediation Projects
  • Cloud, Virtual, and Container Assessment
  • Integrated Threat Feeds
  • Easy-to-Use RESTful API
  • Automation-Assisted Patching
  • Automated Containment
Free InsightVM Trial View All Features

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;