logo

CVE-2023-26125 github.com/gin-gonic/gin

Package

Manager: go
Name: github.com/gin-gonic/gin
Vulnerable Version: >=0 <1.9.0

Severity

Level: Medium

CVSS v3.1: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L

CVSS v4.0: CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N

EPSS: 0.00126 pctl0.32598

Details

Improper input validation in github.com/gin-gonic/gin Versions of the package github.com/gin-gonic/gin before version 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.

Metadata

Created: 2023-05-04T06:30:12Z
Modified: 2023-05-11T14:03:52Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/05/GHSA-3vp4-m3rf-835h/GHSA-3vp4-m3rf-835h.json
CWE IDs: ["CWE-20", "CWE-77"]
Alternative ID: GHSA-3vp4-m3rf-835h
Finding: F184
Auto approve: 1