Feed
5.6MEDIUM
CVE-2023-26125Improper input validation in github.com/gin-gonic/gin
A medium-severity vulnerability reachable over the network, needing no privileges and no user interaction. EPSS estimates a 1.0% chance of exploitation in the next 30 days. A fixed version is named.
- Exploited in the wild
- Not in KEV
- EPSS
- 1.0%
- percentile 61%
- Fix
- Named by a source
- CVE published 4 May 2023
Reference
None of the "Needs attention" rules apply right now.
EPSS 1.0% (+1) · Network attack vector (+10) · No privileges required (+5) · No user interaction (+5)
Immediate actions
- github.com/gin-gonic/gin (Go): upgrade to 1.9.0 or later on your release line.
- Commit / pull request: https://github.com/gin-gonic/gin/pull/3500
- Commit / pull request: https://github.com/gin-gonic/gin/pull/3503
- Commit / pull request: https://github.com/t0rchwo0d/gin/commit/fd9f98e70fb4107ee68c783482d231d35e60507b
Who should check
github.com/gin-gonic/gin (Go) pkg:golang/github.com/gin-gonic/gin
- Affected< 1.9.0Fixed in1.9.0OSV (GHSA-3vp4-m3rf-835h)
Confirmed facts
- CVSS
- 5.6 MEDIUM (version 3.1)
- Score from
- GitHub Advisory Database (GHSA-3vp4-m3rf-835h)
- Attack vector
- network
- Attack complexity
- high
- Privileges required
- none
- User interaction
- none
- Weakness
- CWE-20, CWE-77
Unknowns
- We show one CVSS score. Other sources may score this CVE differently.
Advisory text
Quoted from the source advisory (untrusted)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.
Update history
No events recorded. Our history starts on 1 Jan 2025.
References
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2023-26125
- commit / pull requesthttps://github.com/gin-gonic/gin/pull/3500
- commit / pull requesthttps://github.com/gin-gonic/gin/pull/3503
- commit / pull requesthttps://github.com/t0rchwo0d/gin/commit/fd9f98e70fb4107ee68c783482d231d35e60507b
- otherhttps://github.com/gin-gonic/gin
- otherhttps://github.com/gin-gonic/gin/releases/tag/v1.9.0
- otherhttps://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGINGONICGIN-3324285
Sources
- EPSS by FIRST.org, Free to use, attribution requested. Scores generated by Empirical Security.
- GHSA-3vp4-m3rf-835h (GitHub Advisory Database), CC BY 4.0.
- OSV.dev, Per database.
This page is our own presentation: records are shortened, normalised and merged. Licences
Last checked: kev 23 min ago · osv 23 min ago · nvd 84 min ago · epss 23 min ago · JSON · ask via MCP: explain_vulnerability
Also known as GHSA-3vp4-m3rf-835h