Improper input validation in github.com/gin-gonic/gin
Moderate severity
GitHub Reviewed
Published
May 4, 2023
to the GitHub Advisory Database
•
Updated Nov 10, 2023
Description
Published by the National Vulnerability Database
May 4, 2023
Published to the GitHub Advisory Database
May 4, 2023
Reviewed
May 5, 2023
Last updated
Nov 10, 2023
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.
References