medium6.5
CVE-2024-44930
Serilog Client IP Spoofing vulnerability
Impact
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 packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| nuget | Serilog.Enrichers.ClientInfo | < 2.1.0 | 2.1.0 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Serilog-Contrib | Serilog-Enrichers-Clientinfo | before 2.1.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/serilog-contrib/serilog-enrichers-clientinfo/issues/29
- https://github.com/serilog-contrib/serilog-enrichers-clientinfo/releases/tag/v2.1.0
- https://github.com/advisories/GHSA-5x5q-cqf6-gj8r
- https://nvd.nist.gov/vuln/detail/CVE-2024-44930
- https://github.com/serilog-contrib/serilog-enrichers-clientinfo/pull/38
- https://github.com/serilog-contrib/serilog-enrichers-clientinfo/commit/a72051d1900131e6fb30bcfd9491a988167fb6ac