Serilog Client IP Spoofing vulnerability
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.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| .NET (NuGet) | Serilog.Enrichers.ClientInfo | < 2.1.0 | 2.1.0 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-44930
- https://github.com/serilog-contrib/serilog-enrichers-clientinfo/issues/29
- https://github.com/serilog-contrib/serilog-enrichers-clientinfo/pull/38
- https://github.com/serilog-contrib/serilog-enrichers-clientinfo/commit/a72051d1900131e6fb30bcfd9491a988167fb6ac
- https://github.com/serilog-contrib/serilog-enrichers-clientinfo
- https://github.com/serilog-contrib/serilog-enrichers-clientinfo/releases/tag/v2.1.0
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N- Weakness (CWE)
CWE-348, CWE-79- Platform
- .NET (NuGet)
- Package
Serilog.Enrichers.ClientInfo- Disclosed
- 29.08.2024
- Updated
- 11.10.2026 11:23
Sources and licenses
OSV / GitHub Advisory Database - GHSA-5x5q-cqf6-gj8r - CC BY 4.0
Vulnerability history: Serilog.Enrichers.ClientInfo
All published vulnerabilities of this package (.NET (NuGet)), newest first. Shows whether this is a one-off slip or a package that needs watching.
This is the only known vulnerability of this package.
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.