CVE & CISA-KEV Catalog

CVE-2024-51501

CRITICAL
10.0
CVSS v4
NVD

Description

Refit is an automatic type-safe REST library for .NET Core, Xamarin and .NET The various header-related Refit attributes (Header, HeaderCollection and Authorize) are vulnerable to CRLF injection. The way HTTP headers are added to a request is via the `HttpHeaders.TryAddWithoutValidation` method. This method does not check for CRLF characters in the header value. This means that any headers added to a refit request are vulnerable to CRLF-injection. In general, CRLF-injection into a HTTP header (when using HTTP/1.1) means that one can inject additional HTTP headers or smuggle whole HTTP requests. If an application using the Refit library passes a user-controllable value through to a header, then that application becomes vulnerable to CRLF-injection. This is not necessarily a security issue for a command line application like the one above, but if such code were present in a web application then it becomes vulnerable to request splitting (as shown in the PoC) and thus Server Side Request Forgery. Strictly speaking this is a potential vulnerability in applications using Refit and not in Refit itself. This issue has been addressed in release versions 7.2.22 and 8.0.0 and all users are advised to upgrade. There are no known workarounds for this vulnerability.

How to fix

No published remediation has been found for this vulnerability's affected products yet.

Mitigation guidance may be in the linked vendor advisories in the References section below.

TridentStack Control tracks known vulnerabilities across your Windows, macOS, and Linux fleet and shows the fix as soon as one is published. See how it works

CVSS v4 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone

Impact

CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Exploit Intelligence

0.56%probability of exploitation in 30 days
45thpercentile

Moderate risk: more likely to be exploited than 45% of all known CVEs.

References

Other references2

Related Vulnerabilities

Other CWE-93 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2025-61884High7.596%KEV + Ransom-
CVE-2022-0666High7.544%-Fix
CVE-2016-3115Medium6.437%-Fix
CVE-2024-20337High8.230%-Fix
CVE-2021-39172High8.829%-Fix
CVE-2016-4975Medium6.120%-Fix

Common questions

How do I fix CVE-2024-51501?

No published fix for CVE-2024-51501 has been found yet. Check the linked vendor advisories for guidance as it becomes available.

Is CVE-2024-51501 being actively exploited?

Not that we know of. CVE-2024-51501 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 0.56% is the estimated probability that it will be exploited in the next 30 days. That is higher than 45% of all scored CVEs.

How severe is CVE-2024-51501?

CVE-2024-51501 has a CVSS v4 base score of 10.0, 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.

Embed a live status badge for CVE-2024-51501
CVE-2024-51501 severity badge

Markdown

[![CVE-2024-51501](https://tridentstack.com/cve/badge/CVE-2024-51501.svg)](https://tridentstack.com/cve/CVE-2024-51501)

HTML

<a href="https://tridentstack.com/cve/CVE-2024-51501"><img src="https://tridentstack.com/cve/badge/CVE-2024-51501.svg" alt="CVE-2024-51501"></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.

Scan your fleet freeStart 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 2026-06-17.