CVE-2023-26125

golang-github-gin-gonic-gin: Improper Input Validation

Published May 4, 2023 CVSS 3.1 · 5.6 Medium EPSS < 1% KEV · Not listed
Description
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2023-1460 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.
Github GHSA Github GHSA GHSA-3vp4-m3rf-835h Improper input validation in github.com/gin-gonic/gin
History
Type Values Removed Values Added
Weaknesses CWE-77
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Redhat openshift
CPEs cpe:/a:redhat:openshift:4.13::el8
Vendors & Products Redhat openshift
Weaknesses

Sources

Status
PUBLISHED
Assigner
snyk
Published
Updated
Jan 29, 2025, 4:57 PM
Reserved
Feb 20, 2023, 10:28 AM
Status
Modified
Published
May 4, 2023, 5:15 AM
Modified
Jun 17, 2026, 5:42 AM
Severity
Moderate
Public date
May 4, 2023, 12:00 AM