Vulnerability Description
Versions 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Gin-Gonic | Gin | < 1.9.0 |
Related Weaknesses (CWE)
References
- https://github.com/gin-gonic/gin/pull/3500ExploitPatch
- https://github.com/gin-gonic/gin/pull/3503Issue TrackingPatch
- https://github.com/gin-gonic/gin/releases/tag/v1.9.0Release Notes
- https://github.com/t0rchwo0d/gin/commit/fd9f98e70fb4107ee68c783482d231d35e60507bPatch
- https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGINGONICGIN-3324285ExploitPatchThird Party Advisory
- https://github.com/gin-gonic/gin/pull/3500ExploitPatch
- https://github.com/gin-gonic/gin/pull/3503Issue TrackingPatch
- https://github.com/gin-gonic/gin/releases/tag/v1.9.0Release Notes
- https://github.com/t0rchwo0d/gin/commit/fd9f98e70fb4107ee68c783482d231d35e60507bPatch
- https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGINGONICGIN-3324285ExploitPatchThird Party Advisory
FAQ
What is CVE-2023-26125?
CVE-2023-26125 is a vulnerability with a CVSS score of 5.6 (MEDIUM). Versions 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, ...
How severe is CVE-2023-26125?
CVE-2023-26125 has been rated MEDIUM with a CVSS base score of 5.6/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2023-26125?
Check the references section above for vendor advisories and patch information. Affected products include: Gin-Gonic Gin.