CVE-2023-26125

NameCVE-2023-26125
DescriptionVersions of the package github.com/gin-gonic/gin before 1.9.0 are vulnerable to Improper Input Validation by allowing an attacker to use a specially crafted request via the X-Forwarded-Prefix header, potentially leading to cache poisoning. **Note:** Although this issue does not pose a significant threat on its own it can serve as an input vector for other more impactful vulnerabilities. However, successful exploitation may depend on the server configuration and whether the header is used in the application logic.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1035498

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
golang-github-gin-gonic-gin (PTS)buster1.3.0+dfsg1-3vulnerable
bullseye1.6.3-3vulnerable
bookworm1.8.1-1vulnerable
sid, trixie1.8.1-2vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
golang-github-gin-gonic-ginsource(unstable)(unfixed)1035498

Notes

[bookworm] - golang-github-gin-gonic-gin <no-dsa> (Minor issue)
[bullseye] - golang-github-gin-gonic-gin <no-dsa> (Minor issue)
[buster] - golang-github-gin-gonic-gin <postponed> (Limited support, minor issue, follow bullseye DSAs/point-releases)
https://github.com/gin-gonic/gin/pull/3500
https://github.com/gin-gonic/gin/pull/3503
https://github.com/gin-gonic/gin/commit/81ac7d55a09e34013225db0aeac6e70c1ae68928 (v1.9.0)

Search for package or bug name: Reporting problems