CVE-2023-26125
Last modified
CVE-2023-26125 is a high-severity vulnerability rated 7.3/10 on the CVSS scale. 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.. EPSS estimates a 0.91% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Gin-Gonic | Gin | < 1.9.0 |
References
- https://github.com/gin-gonic/gin/pull/3500Exploit, Patch
- https://github.com/gin-gonic/gin/pull/3503Issue Tracking, Patch
- https://github.com/gin-gonic/gin/releases/tag/v1.9.0Release Notes
- https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGINGONICGIN-3324285Exploit, Patch, Third Party Advisory
- https://github.com/gin-gonic/gin/pull/3500Exploit, Patch
- https://github.com/gin-gonic/gin/pull/3503Issue Tracking, Patch
- https://github.com/gin-gonic/gin/releases/tag/v1.9.0Release Notes
- https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGINGONICGIN-3324285Exploit, Patch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2023-26125?
How severe is CVE-2023-26125?
How do I fix CVE-2023-26125?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2023
- CVE-2023-26119Versions of the package net.sourceforge.htmlunit:htmlunit fr…9.8
- CVE-2023-2612Jean-Baptiste Cayrou discovered that the shiftfs file system…4.7
- CVE-2023-26120This affects all versions of the package com.xuxueli:xxl-job…6.1
- CVE-2023-26121All versions of the package safe-eval are vulnerable to Prot…10
- CVE-2023-26122All versions of the package safe-eval are vulnerable to Sand…10
- CVE-2023-26123Versions of the package raysan5/raylib before 4.5.0 are vuln…6.1
- CVE-2023-26126All versions of the package m.static are vulnerable to Direc…5.3
- CVE-2023-26127All versions of the package n158 are vulnerable to Command I…7.8
- CVE-2023-26128All versions of the package keep-module-latest are vulnerabl…7.8
- CVE-2023-26129All versions of the package bwm-ng are vulnerable to Command…7.8
- CVE-2023-26130Versions of the package yhirose/cpp-httplib before 0.12.4 ar…8.8
- CVE-2023-26131All versions of the package github.com/xyproto/algernon/engi…6.1
Are you affected by CVE-2023-26125?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
