CVE-2020-28483Inconsistent Interpretation of HTTP Requests in github.com/gin-gonic/gin
A high-severity vulnerability reachable over the network, needing no privileges and user interaction. EPSS estimates a 1.3% chance of exploitation in the next 30 days. A fixed version is named.
- Exploited in the wild
- Not in KEV
- EPSS
- 1.3%
- percentile 71%
- Fix
- Named by a source
- CVE published 20 Jan 2021
Reference
None of the "Needs attention" rules apply right now.
EPSS 1.3% (+1) · Network attack vector (+10) · No privileges required (+5) · CVSS 7.1: at least medium
Immediate actions
- github.com/gin-gonic/gin (Go): upgrade to 1.7.7 or later on your release line.
- Patch: https://github.com/gin-gonic/gin/pull/2632
- Patch: https://github.com/gin-gonic/gin/pull/2675
- Patch: https://github.com/gin-gonic/gin/pull/2844
- Patch: https://github.com/gin-gonic/gin/commit/03e5e05ae089bc989f1ca41841f05504d29e3fd9
- Commit / pull request: https://github.com/gin-gonic/gin/pull/2474
- Commit / pull request: https://github.com/gin-gonic/gin/pull/2474#23issuecomment-729696437
- Commit / pull request: https://github.com/gin-gonic/gin/pull/2844/files#diff-e6ce689a25eaef174c2dd51fe869fabbe04a6c6afbd416b23eda138c82e761baR1432
Who should check
github.com/gin-gonic/gin (Go) pkg:golang/github.com/gin-gonic/gin
- Affected< 1.7.7Fixed in1.7.7OSV (GO-2021-0052)
Confirmed facts
- CVSS
- 7.1 HIGH (version 3.1)
- Score from
- GitHub Advisory Database (GHSA-h395-qcrw-5vmq)
- Attack vector
- network
- Attack complexity
- low
- Privileges required
- none
- User interaction
- required
- Weakness
- CWE-113, CWE-444
Unknowns
- We show one CVSS score. Other sources may score this CVE differently.
Advisory text
Quoted from the source advisory (untrusted)When gin is exposed directly to the internet, a client's IP can be spoofed by setting the X-Forwarded-For header. This affects all versions of package github.com/gin-gonic/gin under 1.7.7.
Update history
No events recorded. Our history starts on 1 Jan 2025.
References
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2020-28483
- otherhttps://github.com/gin-gonic/gin/issues/2232
- otherhttps://github.com/gin-gonic/gin/issues/2473
- otherhttps://github.com/gin-gonic/gin/issues/2862
- commit / pull requesthttps://github.com/gin-gonic/gin/pull/2474
- commit / pull requesthttps://github.com/gin-gonic/gin/pull/2474#23issuecomment-729696437
- patchhttps://github.com/gin-gonic/gin/pull/2632
- patchhttps://github.com/gin-gonic/gin/pull/2675
- patchhttps://github.com/gin-gonic/gin/pull/2844
- commit / pull requesthttps://github.com/gin-gonic/gin/pull/2844/files#diff-e6ce689a25eaef174c2dd51fe869fabbe04a6c6afbd416b23eda138c82e761baR1432
- patchhttps://github.com/gin-gonic/gin/commit/03e5e05ae089bc989f1ca41841f05504d29e3fd9
- patchhttps://github.com/gin-gonic/gin/commit/5929d521715610c9dd14898ebbe1d188d5de8937
- patchhttps://github.com/gin-gonic/gin/commit/bfc8ca285eb46dad60e037d57c545cd260636711
- otherhttps://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGINGONICGIN-1041736
- otherhttps://pkg.go.dev/vuln/GO-2021-0052
- otherhttps://github.com/gin-gonic/gin/releases/tag/v1.7.7
- otherhttps://github.com/gin-gonic/gin/releases/tag/v1.7.0
- otherhttps://github.com/gin-gonic/gin
Sources
- EPSS by FIRST.org, Free to use, attribution requested. Scores generated by Empirical Security.
- GHSA-h395-qcrw-5vmq (GitHub Advisory Database), CC BY 4.0.
- GO-2021-0052 (Go Vulnerability 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 9 min ago · osv 9 min ago · nvd 69 min ago · epss 8 min ago · JSON · ask via MCP: explain_vulnerability
Also known as GHSA-h395-qcrw-5vmq, GO-2021-0052, SNYK-GOLANG-GITHUBCOMGINGONICGIN-1041736