Input validation error in Gin - CVE-2023-26125

 

Input validation error in Gin - CVE-2023-26125

Published: December 20, 2023


Vulnerability identifier: #VU84618
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2023-26125
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Gin-Gonic
Affected software:
Gin

Detailed vulnerability description

The vulnerability allows a remote attacker to poison application's cache.

The vulnerability exists due to insufficient validation of user-supplied input when processing X-Forwarded-Prefix header. A remote attacker can pass send specially crafted request to the application and perform cache poisoning.


How to mitigate CVE-2023-26125

Install updates from vendor's website.

Sources