CVE-2023-26125

Medium

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.

SeverityMedium
CVSS5.6
Exploit probability—
ProductGithub.com/gin-gonic/gin
PublishedMay 4, 2023
First seenMay 4, 2023

How to fix

Update
  • github.com/gin-gonic/gin1.9.0 or later
  • gin-gonic gin1.9.0 or later

Affected products

ProductAffected versionsFixed in
github.com/gin-gonic/ginGov < 1.9.01.9.0
gin-gonic ginv < 1.9.01.9.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2023-26125 · Github.com/gin-gonic/gin · Dark Radar