CVE-2023-29401
MEDIUMDescription
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
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
Impact
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
Exploit Intelligence
Low risk: more likely to be exploited than 40% of all known CVEs.
References
Related Vulnerabilities
Other CWE-494 vulnerabilities, ordered by exploit likelihood. View all
| CVE | Severity | CVSS | EPSS | Exploited | Fix |
|---|---|---|---|---|---|
| CVE-2020-5398 | High | 7.5 | 89% | - | Fix |
| CVE-2022-40799 | High | 8.8 | 34% | KEV | - |
| CVE-2018-19234 | High | 8.8 | 3.3% | - | Fix |
| CVE-2016-6567 | Critical | 9.8 | 2.9% | - | - |
| CVE-2016-6564 | High | 8.1 | 2.6% | - | - |
| CVE-2001-1125 | Critical | 9.8 | 2.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
Markdown
[](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.
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.