CVE & CISA-KEV Catalog

CVE-2024-25124

CRITICAL
9.4
CVSS v3
NVD

Description

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

Remediation Available
fiberNVD
Affected:< 2.52.1Fixed in:2.52.1CVE-2024-25124derived from NVD

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

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityHigh
IntegrityHigh
AvailabilityLow

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L

Exploit Intelligence

0.66%probability of exploitation in 30 days
48thpercentile

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

CVESeverityCVSSEPSSExploitedFix
CVE-2025-34291High8.884%KEV-
CVE-2009-1185High7.282%-Fix
CVE-2020-16952High8.671%--
CVE-2023-29711Critical9.870%--
CVE-2015-4495High8.869%KEVFix
CVE-2024-23898High8.867%-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
CVE-2024-25124 severity badge

Markdown

[![CVE-2024-25124](https://tridentstack.com/cve/badge/CVE-2024-25124.svg)](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.

See how it worksStart freeThis CVE lookup is free and always will be.

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.