CVE-2023-26125
Last modified
CVE-2023-26125 is a high-severity vulnerability rated 7.3/10 on the CVSS scale. 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.. EPSS estimates a 0.91% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Gin-Gonic | Gin | < 1.9.0 |
References
- https://github.com/gin-gonic/gin/pull/3500Exploit, Patch
- https://github.com/gin-gonic/gin/pull/3503Issue Tracking, Patch
- https://github.com/gin-gonic/gin/releases/tag/v1.9.0Release Notes
- https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGINGONICGIN-3324285Exploit, Patch, Third Party Advisory
- https://github.com/gin-gonic/gin/pull/3500Exploit, Patch
- https://github.com/gin-gonic/gin/pull/3503Issue Tracking, Patch
- https://github.com/gin-gonic/gin/releases/tag/v1.9.0Release Notes
- https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGINGONICGIN-3324285Exploit, Patch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2023-26125?
How severe is CVE-2023-26125?
How do I fix CVE-2023-26125?
Are you affected by CVE-2023-26125?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
