CVE-2024-25124
CRITICALDescription
Fiber is a web framework written in go. Prior to version 2.52.1, the CORS middleware allows for insecure configurations that could potentially expose the application to multiple CORS-related vulnerabilities. Specifically, it allows setting the Access-Control-Allow-Origin header to a wildcard (`*`) while also having the Access-Control-Allow-Credentials set to true, which goes against recommended security best practices. The impact of this misconfiguration is high as it can lead to unauthorized access to sensitive user data and expose the system to various types of attacks listed in the PortSwigger article linked in the references. Version 2.52.1 contains a patch for this issue. As a workaround, users may manually validate the CORS configurations in their implementation to ensure that they do not allow a wildcard origin when credentials are enabled. The browser fetch api, as well as browsers and utilities that enforce CORS policies, are not affected by this.
How to fix
TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works
Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.
CVSS v3 Vector
Exploitability
Impact
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L
Exploit Intelligence
Moderate risk: more likely to be exploited than 48% of all known CVEs.
References
Related Vulnerabilities
Other CWE-346 vulnerabilities, ordered by exploit likelihood. View all
| CVE | Severity | CVSS | EPSS | Exploited | Fix |
|---|---|---|---|---|---|
| CVE-2025-34291 | High | 8.8 | 84% | KEV | - |
| CVE-2009-1185 | High | 7.2 | 82% | - | Fix |
| CVE-2020-16952 | High | 8.6 | 71% | - | - |
| CVE-2023-29711 | Critical | 9.8 | 70% | - | - |
| CVE-2015-4495 | High | 8.8 | 69% | KEV | Fix |
| CVE-2024-23898 | High | 8.8 | 67% | - | Fix |
Common questions
How do I fix CVE-2024-25124?
Upgrade fiber to 2.52.1 or later.
Is CVE-2024-25124 being actively exploited?
Not that we know of. CVE-2024-25124 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 0.66% is the estimated probability that it will be exploited in the next 30 days. That is higher than 48% of all scored CVEs.
How severe is CVE-2024-25124?
CVE-2024-25124 has a CVSS v3 base score of 9.4, rated critical. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.
What does CVE-2024-25124 affect?
Published advisories record a fix for fiber (NVD). Only products with a sourced advisory are listed, so treat this as what we can cite rather than a complete inventory.
Embed a live status badge for CVE-2024-25124
Markdown
[](https://tridentstack.com/cve/CVE-2024-25124)HTML
<a href="https://tridentstack.com/cve/CVE-2024-25124"><img src="https://tridentstack.com/cve/badge/CVE-2024-25124.svg" alt="CVE-2024-25124"></a>Find and fix vulnerabilities across your fleet
TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.
This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-02-05.