~ / search / GHSA-5x5q-cqf6-gj8r

GHSA-5x5q-cqf6-gj8r

Serilog Client IP Spoofing vulnerability

Source: GitHub Advisory Database (reviewed) Moderate CVE-2024-44930

Packages

EcosystemPackageAffectedFixed in
NuGet Serilog.Enrichers.ClientInfo < 2.1.0 2.1.0

Details

As written in the advisory (Markdown source, shown as plain text).

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

External links from the advisory. They lead to third-party sites.