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/3503 | Issue Tracking Patch |
https://github.com/gin-gonic/gin/releases/tag/v1.9.0 | Release Notes |
https://github.com/t0rchwo0d/gin/commit/fd9f98e70fb4107ee68c783482d231d35e60507b | Patch |
https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGINGONICGIN-3324285 | Exploit Patch Third Party Advisory |
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/releases/tag/v1.9.0 | Release Notes |
https://github.com/t0rchwo0d/gin/commit/fd9f98e70fb4107ee68c783482d231d35e60507b | Patch |
https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGINGONICGIN-3324285 | Exploit Patch Third Party Advisory |
Configurations
History
21 Nov 2024, 07:50
Type | Values Removed | Values Added |
---|---|---|
References | () https://github.com/gin-gonic/gin/pull/3500 - Exploit, Patch | |
References | () https://github.com/gin-gonic/gin/pull/3503 - Issue Tracking, Patch | |
References | () https://github.com/gin-gonic/gin/releases/tag/v1.9.0 - Release Notes | |
References | () https://github.com/t0rchwo0d/gin/commit/fd9f98e70fb4107ee68c783482d231d35e60507b - Patch | |
References | () https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGINGONICGIN-3324285 - Exploit, Patch, Third Party Advisory | |
CVSS |
v2 : v3 : |
v2 : unknown
v3 : 5.6 |
09 Jun 2023, 18:32
Type | Values Removed | Values Added |
---|---|---|
CVSS |
v2 : v3 : |
v2 : unknown
v3 : 7.3 |
Information
Published : 2023-05-04 05:15
Updated : 2024-11-21 07:50
NVD link : CVE-2023-26125
Mitre link : CVE-2023-26125
CVE.ORG link : CVE-2023-26125
JSON object : View
Products Affected
gin-gonic
- gin
CWE
CWE-20
Improper Input Validation