CVE & CISA-KEV Catalog

CVE-2023-29401

MEDIUM
4.3
CVSS v3
NVD

Description

The filename parameter of the Context.FileAttachment function is not properly sanitized. A maliciously crafted filename can cause the Content-Disposition header to be sent with an unexpected filename value or otherwise modify the Content-Disposition header. For example, a filename of "setup.bat";x=.txt" will be sent as a file named "setup.bat". If the FileAttachment function is called with names provided by an untrusted source, this may permit an attacker to cause a file to be served with a name different than provided. Maliciously crafted attachment file name can modify the Content-Disposition header.

How to fix

Remediation Available
golang-github-gin-gonic-ginDebian
Fixed in:1.8.1-3CVE-2023-29401
Fixed in:1.8.1-3CVE-2023-29401

TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionRequired
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityLow
AvailabilityNone

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N

Exploit Intelligence

0.49%probability of exploitation in 30 days
40thpercentile

Low risk: more likely to be exploited than 40% of all known CVEs.

References

Exploit1
Third-Party Advisory1
Release Notes1

Related Vulnerabilities

Other CWE-494 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2020-5398High7.589%-Fix
CVE-2022-40799High8.834%KEV-
CVE-2018-19234High8.83.3%-Fix
CVE-2016-6567Critical9.82.9%--
CVE-2016-6564High8.12.6%--
CVE-2001-1125Critical9.82.5%-Fix

Common questions

How do I fix CVE-2023-29401?

Upgrade golang-github-gin-gonic-gin on debian 13 to 1.8.1-3 or later.

Is CVE-2023-29401 being actively exploited?

Not that we know of. CVE-2023-29401 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 0.49% is the estimated probability that it will be exploited in the next 30 days. That is higher than 40% of all scored CVEs.

How severe is CVE-2023-29401?

CVE-2023-29401 has a CVSS v3 base score of 4.3, rated medium. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.

What does CVE-2023-29401 affect?

Published advisories record a fix for golang-github-gin-gonic-gin (Debian). Only products with a sourced advisory are listed, so treat this as what we can cite rather than a complete inventory.

Embed a live status badge for CVE-2023-29401
CVE-2023-29401 severity badge

Markdown

[![CVE-2023-29401](https://tridentstack.com/cve/badge/CVE-2023-29401.svg)](https://tridentstack.com/cve/CVE-2023-29401)

HTML

<a href="https://tridentstack.com/cve/CVE-2023-29401"><img src="https://tridentstack.com/cve/badge/CVE-2023-29401.svg" alt="CVE-2023-29401"></a>

Check your Linux endpoints for this class of vulnerability

TridentStack Control continuously scans Linux endpoints for known vulnerabilities and deploys the fixes from the same console. 200 endpoints free forever, no credit card.

Patch your fleet freeStart freeThis CVE lookup is free and always will be.

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-01-06.