Advisory Database
  • Advisories
  • Dependency Scanning
  1. nuget
  2. ›
  3. Refit
  4. ›
  5. CVE-2024-51501

CVE-2024-51501: CRLF injection in Refit's [Header], [HeaderCollection] and [Authorize] attributes

November 4, 2024 (updated November 8, 2024)

The various header-related Refit attributes (Header, HeaderCollection and Authorize) are vulnerable to CRLF injection.

References

  • github.com/advisories/GHSA-3hxg-fxwm-8gf7
  • github.com/reactiveui/refit
  • github.com/reactiveui/refit/blob/258a771f44417c6e48e103ac921fe4786f3c2a1e/Refit/RequestBuilderImplementation.cs
  • github.com/reactiveui/refit/commit/483b1d8df18098f137ca0eca056b7e9ec19f70dd
  • github.com/reactiveui/refit/security/advisories/GHSA-3hxg-fxwm-8gf7
  • nvd.nist.gov/vuln/detail/CVE-2024-51501

Code Behaviors & Features

Detect and mitigate CVE-2024-51501 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 7.2.22

Fixed versions

  • 7.2.22

Solution

Upgrade to version 7.2.22 or above.

Impact 9.8 CRITICAL

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

Learn more about CVSS

Weakness

  • CWE-93: Improper Neutralization of CRLF Sequences ('CRLF Injection')

Source file

nuget/Refit/CVE-2024-51501.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:40 +0000.