CVE-2023-26125
Improper input validation in github.com/gin-gonic/gin
5.6
MEDIUM
CVSS 3.1
EPSS 0.32%
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.
How to fix CVE-2023-26125
To remediate CVE-2023-26125, upgrade the affected package to a fixed version below.
- —no fix listed
- —upgrade to 1.9.0 or later
Is CVE-2023-26125 being exploited?
Low — EPSS is 0.3%, meaning exploitation activity has not been observed at scale.
Affected packages (2)
- from 0
- from 0, < 1.9.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.6 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L |