CVE-2025-30204
No exploitation reported by the sources we read.
- Published2025-03-21
- WeaknessCWE-405
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
Description
golang-jwt is a Go implementation of JSON Web Tokens. Starting in version 3.2.0 and prior to versions 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.
Timeline
dates in UTC- 2025-03-2122:15CVE publishedNVD
Observed activity
isMalicious corpus · updated 2026-10-23 21:37 UTCBlock these indicators
- Firewall list (EDL, text): https://api.ismalicious.com/edl/cve/CVE-2025-30204?format=txt
- CSV export: https://api.ismalicious.com/edl/cve/CVE-2025-30204?format=csv
- TAXII collection of exploited CVEs
- The EDL and CSV take an API key on the Pro plan.
Versions per branch
OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| — | all versions | no fix published | OSV |
| 3.2 | ≥ 3.2.0, ≤ 3.2.2 | no fix published | OSV |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 4.5 | < 4.5.2 | 4.5.2 | OSV |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 5.x | ≥ 5.0.0-rc.1, < 5.2.2 | 5.2.2 | OSV |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- grafanaAlmaLinux:10all versions · fixed in 10.2.6-15.el10_0and 1 other package
- grafanaAlmaLinux:9all versions · fixed in 10.2.6-11.el9_6and 1 other package
- grafanaAlmaLinux:9all versions · fixed in 10.2.6-9.el9_5and 1 other package
- osbuild-composerAlmaLinux:9all versions · fixed in 118.2-1.el9_5.alma.1and 2 other packages
- osbuild-composerAlmaLinux:9all versions · fixed in 132.2-1.el9_6.alma.1and 2 other packages
- osbuild-composerAlmaLinux:8all versions · fixed in 101-3.el8_10.alma.1and 2 other packages
Vendor advisories
golang-jwt/jwt: jwt-go allows excessive memory allocation during header parsing
rhai-tech-preview/assisted-installer-agent-rhel8 as a component of Assisted Installer for Red Hat OpenShift Container Platform 2 · rhai-tech-preview/assisted-installer-reporter-rhel8 as a component of Assisted Installer for Red Hat OpenShift Container Platform 2 · rhai-tech-preview/assisted-installer-rhel8 as a component of Assisted Installer for Red Hat OpenShift Container Platform 2 · +67 more
Red Hat Security Advisory: OpenShift Container Platform 4.15.69 bug fix and security update
Red Hat Security Advisory: OpenShift Container Platform 4.16.71 bug fix and security update
Red Hat Security Advisory: multicluster engine for Kubernetes v2.6.14 security update
Red Hat Security Advisory: multicluster engine for Kubernetes v2.8.10 security update
Red Hat Security Advisory: Red Hat OpenShift Pipelines Release 1.15.4
103 more advisories
Fix
- Vendor fix Red Hat Product Security RHSA-2026:67858 · 2 productsFor OpenShift Container Platform 4.15 see the following documentation, which will be updated shortly for this release, for important instructions on how to upgrade your cluster and fully apply this asynchronous errata update: https://docs.redhat.com/en/documentation/openshift_container_platform/4.…
- Vendor fix Red Hat Product Security RHSA-2026:67936 · 2 productsFor OpenShift Container Platform 4.16 see the following documentation, which will be updated shortly for this release, for important instructions on how to upgrade your cluster and fully apply this asynchronous errata update: https://docs.redhat.com/en/documentation/openshift_container_platform/4.…
- Vendor fix Red Hat Product Security RHSA-2026:59579 · 4 productsFor multicluster engine for Kubernetes, see the following documentation for details on how to install the images: https://access.redhat.com/documentation/en-us/red_hat_advanced_cluster_management_for_kubernetes/2.11/html/clusters/cluster_mce_overview#mce-install-intro
- Vendor fix Red Hat Product Security RHSA-2026:59558 · 8 productsFor multicluster engine for Kubernetes, see the following documentation for details on how to install the images: https://access.redhat.com/documentation/en-us/red_hat_advanced_cluster_management_for_kubernetes/2.13/html/clusters/cluster_mce_overview#mce-install-intro
- Vendor fix Red Hat Product Security RHSA-2026:3718 · 4 productsRed Hat OpenShift Pipelines is a cloud-native, continuous integration and continuous delivery (CI/CD) solution based on Kubernetes resources. It uses Tekton building blocks to automate deployments across multiple platforms by abstracting away the underlying implementation details. Tekton introduces…
- Vendor fix Red Hat Product Security RHSA-2026:2172 · 64 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://docs.redhat.com/en/documentation/red_hat_openshift_data_foundation/4.15/html/updating_openshift_data_foundation/updating-ocs-…
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof-of-concept repositories
- none listed PoC-in-GitHub
Sources
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Published
- 2025-03-21
- Last Modified
- 2026-06-17
- NVD status
- Deferred
Frequently asked questions
What is CVE-2025-30204?
Is CVE-2025-30204 actively exploited?
What is the CVSS score for CVE-2025-30204?
Running golang-jwt/jwt? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.