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.
References
Link | Resource |
---|---|
https://github.com/gin-gonic/gin/pull/3500 | Exploit Patch |
https://github.com/gin-gonic/gin/pull/3500 | Exploit Patch |
https://github.com/gin-gonic/gin/pull/3503 | Issue Tracking Patch |
https://github.com/gin-gonic/gin/pull/3503 | Issue Tracking Patch |
https://github.com/gin-gonic/gin/releases/tag/v1.9.0 | Release Notes |
https://github.com/gin-gonic/gin/releases/tag/v1.9.0 | Release Notes |
https://github.com/t0rchwo0d/gin/commit/fd9f98e70fb4107ee68c783482d231d35e60507b | Patch |
https://github.com/t0rchwo0d/gin/commit/fd9f98e70fb4107ee68c783482d231d35e60507b | Patch |
https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGINGONICGIN-3324285 | Exploit Patch Third Party Advisory |
https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGINGONICGIN-3324285 | Exploit Patch Third Party Advisory |
Configurations
History
29 Jan 2025, 17:15
Type | Values Removed | Values Added |
---|---|---|
References | () https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGINGONICGIN-3324285 - Exploit, Patch, Third Party Advisory | |
References | () https://github.com/t0rchwo0d/gin/commit/fd9f98e70fb4107ee68c783482d231d35e60507b - Patch | |
References | () https://github.com/gin-gonic/gin/pull/3503 - Issue Tracking, Patch | |
References | () https://github.com/gin-gonic/gin/pull/3500 - Exploit, Patch | |
References | () https://github.com/gin-gonic/gin/releases/tag/v1.9.0 - Release Notes |
09 Jun 2023, 18:32
Type | Values Removed | Values Added |
---|---|---|
CVSS |
v2 : v3 : |
v2 : unknown
v3 : 7.3 |
10 May 2023, 18:15
Type | Values Removed | Values Added |
---|---|---|
References | (MISC) https://github.com/gin-gonic/gin/releases/tag/v1.9.0 - Release Notes | |
References | (MISC) https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGINGONICGIN-3324285 - Exploit, Patch, Third Party Advisory | |
References | (MISC) https://github.com/gin-gonic/gin/pull/3500 - Exploit, Patch | |
References | (MISC) https://github.com/t0rchwo0d/gin/commit/fd9f98e70fb4107ee68c783482d231d35e60507b - Patch | |
References | (MISC) https://github.com/gin-gonic/gin/pull/3503 - Issue Tracking, Patch | |
CWE | CWE-20 | |
First Time |
Gin-gonic gin
Gin-gonic |
|
CPE | cpe:2.3:a:gin-gonic:gin:*:*:*:*:*:*:*:* | |
CVSS |
v2 : v3 : |
v2 : unknown
v3 : 9.8 |
04 May 2023, 05:15
Type | Values Removed | Values Added |
---|---|---|
New CVE |
Information
Published : 2023-05-04 05:15
Updated : 2025-01-29 17:15
NVD link : CVE-2023-26125
Mitre link : CVE-2023-26125
JSON object : View
Products Affected
gin-gonic
- gin
CWE
CWE-20
Improper Input Validation