Medium, CVSS 6.9NuGetPublished
Serilog Client IP Spoofing vulnerability
CVE-2024-44930 · GHSA-5x5q-cqf6-gj8r
- Affected
- NuGet serilog.enrichers.clientinfo < 2.1.0
- Fixed in
- 2.1.0· Vendor fix available
- Issue
- 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.
Recommended action: Upgrade to 2.1.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.