CVE-2023-26125

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:gin-gonic:gin:*:*:*:*:*:*:*:*

History

09 Jun 2023, 18:32

Type Values Removed Values Added
CVSS v2 : unknown
v3 : 9.8
v2 : unknown
v3 : 7.3

10 May 2023, 18:15

Type Values Removed Values Added
First Time Gin-gonic gin
Gin-gonic
CPE cpe:2.3:a:gin-gonic:gin:*:*:*:*:*:*:*:*
References (MISC) https://github.com/t0rchwo0d/gin/commit/fd9f98e70fb4107ee68c783482d231d35e60507b - (MISC) https://github.com/t0rchwo0d/gin/commit/fd9f98e70fb4107ee68c783482d231d35e60507b - Patch
References (MISC) https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGINGONICGIN-3324285 - (MISC) https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGINGONICGIN-3324285 - Exploit, Patch, Third Party Advisory
References (MISC) https://github.com/gin-gonic/gin/pull/3503 - (MISC) https://github.com/gin-gonic/gin/pull/3503 - Issue Tracking, Patch
References (MISC) https://github.com/gin-gonic/gin/pull/3500 - (MISC) https://github.com/gin-gonic/gin/pull/3500 - Exploit, Patch
References (MISC) https://github.com/gin-gonic/gin/releases/tag/v1.9.0 - (MISC) https://github.com/gin-gonic/gin/releases/tag/v1.9.0 - Release Notes
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 9.8
CWE CWE-20

04 May 2023, 05:15

Type Values Removed Values Added
New CVE

Information

Published : 2023-05-04 05:15

Updated : 2023-12-10 15:01


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