CVE-2024-51501 — CRLF injection in Refit — CVE Details
CRLF injection in Refit's [Header], [HeaderCollection] and [Authorize] attributes
Summary
Advisory Timeline
- First published November 4, 2024 (707 days ago).
- Last revised November 8, 2024 — 4 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
dotnet add package Refit --version 7.2.22
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (1)
Affects 1 ecosystem: nuget (1).
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| Refit | nuget | 1.0.0, 1.1.0, 1.2.0, 1.3.0 (+60 more) | 7.2.22 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-93
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- https://github.com/reactiveui/refit/security/advisories/GHSA-3hxg-fxwm-8gf7WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-51501ADVISORY
- https://github.com/reactiveui/refit/commit/483b1d8df18098f137ca0eca056b7e9ec19f70ddWEB
- https://github.com/reactiveui/refitPACKAGE
- https://github.com/reactiveui/refit/blob/258a771f44417c6e48e103ac921fe4786f3c2a1e/Refit/RequestBuilderImplementation.cs#L1328WEB
Frequently Asked Questions
- What is CVE-2024-51501?
- CRLF injection in Refit's [Header], [HeaderCollection] and [Authorize] attributes This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
- How do I check if my project is affected by CVE-2024-51501?
- CVE-2024-51501 affects Refit. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2024-51501 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation is straightforward and causes maximum impact. Patch immediately.
Also Known As
Related CVEs
- CVE-2026-75513CRITICAL
Marten's LINQ provider has SQL injection via unescaped string literals
- CVE-2026-105794CRITICAL
MsQuic: Improper Certificate Validation in Microsoft.Native.Quic.MsQuic.OpenSSL
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies