Lack of data validation In github.com/gin-gonic/gin
Description
Improper input validation in github.com/gin-gonic/gin 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.
Mitigation
Update Impact
Minimal update. May introduce new vulnerabilities or breaking changes.
Ecosystem | Component | Affected version | Patched versions |
|---|---|---|---|
debian 14 | 1.8.1-3 | ||
go | 1.9.0 | ||
debian 12 | - | ||
debian 13 | 1.8.1-3 | ||
debian 11 | - |
Aliases
References