Advisory Database
  • Advisories
  • Dependency Scanning
  1. nuget
  2. ›
  3. Serilog.Enrichers.ClientInfo
  4. ›
  5. CVE-2024-44930

CVE-2024-44930: Serilog Client IP Spoofing vulnerability

August 29, 2024

Serilog (before v2.1.0) contains a Client IP Spoofing vulnerability, which allows attackers to falsify their IP addresses in log files by specifying an arbitrary IP as a value of X-Forwarded-For or Client-Ip headers while performing HTTP requests.

It is not possible to configure Serilog.Enrichers.ClientInfo to not trust the X-Forwarded-For header.

References

  • github.com/advisories/GHSA-5x5q-cqf6-gj8r
  • github.com/serilog-contrib/serilog-enrichers-clientinfo
  • github.com/serilog-contrib/serilog-enrichers-clientinfo/commit/a72051d1900131e6fb30bcfd9491a988167fb6ac
  • github.com/serilog-contrib/serilog-enrichers-clientinfo/issues/29
  • github.com/serilog-contrib/serilog-enrichers-clientinfo/pull/38
  • github.com/serilog-contrib/serilog-enrichers-clientinfo/releases/tag/v2.1.0
  • nvd.nist.gov/vuln/detail/CVE-2024-44930

Code Behaviors & Features

Detect and mitigate CVE-2024-44930 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 2.1.0

Fixed versions

  • 2.1.0

Solution

Upgrade to version 2.1.0 or above.

Impact 6.5 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-348: Use of Less Trusted Source

Source file

nuget/Serilog.Enrichers.ClientInfo/CVE-2024-44930.yml

Spotted a mistake? Edit the file on GitLab.

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

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