Advisory

GHSA-3vp4-m3rf-835h

Also known as: CVE-2023-26125

Summary

Improper input validation in github.com/gin-gonic/gin

Details

Versions of the package github.com/gin-gonic/gin before version 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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2023-05-04 06:30 UTC
Modified
2023-11-08 04:11 UTC

Affected packages and fixes

github.com/gin-gonic/gin

Go · All systems

Affected

  • introduced 0, fixed 1.9.0 (semver)

Fixed versions

1.9.0

Fix

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