GHSA-5x5q-cqf6-gj8r

Suggest an improvement
Source
https://github.com/advisories/GHSA-5x5q-cqf6-gj8r
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/08/GHSA-5x5q-cqf6-gj8r/GHSA-5x5q-cqf6-gj8r.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-5x5q-cqf6-gj8r
Aliases
Published
2024-08-29T18:31:36Z
Modified
2024-09-04T21:45:45.210487Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N CVSS Calculator
  • 6.9 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N CVSS Calculator
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.

References

Affected packages

NuGet / Serilog.Enrichers.ClientInfo

Package

Name
Serilog.Enrichers.ClientInfo
View open source insights on deps.dev
Purl
pkg:nuget/Serilog.Enrichers.ClientInfo

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.1.0

Affected versions

1.*

1.0.0
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4-dev01
1.1.4
1.2.0
1.3.0

2.*

2.0.0
2.0.1
2.0.2
2.0.3