Advisory

GHSA-5x5q-cqf6-gj8r

Also known as: CVE-2024-44930

Summary

Serilog Client IP Spoofing vulnerability

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2024-08-29 18:31 UTC
Modified
2024-09-04 21:45 UTC

Affected packages and fixes

Serilog.Enrichers.ClientInfo

NuGet · All systems

Affected

  • introduced 0, fixed 2.1.0 (ecosystem)

Fixed versions

2.1.0

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences