Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: GSA_kwCzR0hTQS0zdnA0LW0zcmYtODM1aM4AAzFG
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.
Permalink: https://github.com/advisories/GHSA-3vp4-m3rf-835hJSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS0zdnA0LW0zcmYtODM1aM4AAzFG
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: over 1 year ago
Updated: about 1 year ago
CVSS Score: 5.6
CVSS vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
EPSS Percentage: 0.00144
EPSS Percentile: 0.51588
Identifiers: GHSA-3vp4-m3rf-835h, CVE-2023-26125
References:
- https://nvd.nist.gov/vuln/detail/CVE-2023-26125
- https://github.com/gin-gonic/gin/pull/3500
- https://github.com/gin-gonic/gin/pull/3503
- https://github.com/t0rchwo0d/gin/commit/fd9f98e70fb4107ee68c783482d231d35e60507b
- https://github.com/gin-gonic/gin/releases/tag/v1.9.0
- https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGINGONICGIN-3324285
- https://github.com/advisories/GHSA-3vp4-m3rf-835h
Blast Radius: 26.6
Affected Packages
go:github.com/gin-gonic/gin
Dependent packages: 30,041Dependent repositories: 55,159
Downloads:
Affected Version Ranges: < 1.9.0
Fixed in: 1.9.0
All affected versions: 1.1.1, 1.1.2, 1.1.3, 1.1.4, 1.3.0, 1.4.0, 1.5.0, 1.6.0, 1.6.1, 1.6.2, 1.6.3, 1.7.0, 1.7.1, 1.7.2, 1.7.3, 1.7.4, 1.7.5, 1.7.6, 1.7.7, 1.8.0, 1.8.1, 1.8.2
All unaffected versions: 1.9.0, 1.9.1, 1.10.0