🛡️ CVE-2023-29401 on Debian — golang-github-gin-gonic-gin
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.
Distribution advisory
This page covers CVE-2023-29401 as tracked by Debian, for the package golang-github-gin-gonic-gin. The fix is available in version 1.8.1-3; earlier versions remain affected.
How this vulnerability can be exploited
This issue can be reached over the network, attack complexity is low, an attacker needs no privileges on the target. A user must be tricked into taking some action. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality none, integrity low, availability none.
Weakness class
DEBIAN-CVE-2023-29401 is classified as CWE-494: Download of Code Without Integrity Check. Code or updates are fetched and executed without verifying they are authentic and unmodified.
Affected software
DEBIAN-CVE-2023-29401 is recorded against 1 package.
- golang-github-gin-gonic-gin (fixed in 1.8.1-3)
Timeline and source
Published on 8 June 2023 and last revised on 7 August 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.
References
CVE-2023-29401 on other distributions
Each distribution ships its own build and its own fixed version. Pick the one you run:
Details
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| golang-github-gin-gonic-gin | — | 1.8.1-3 |
References
Similar Threats
- Unknown UBUNTU-CVE-2023-29401
- Unknown DEBIAN-CVE-2023-26125
- Unknown UBUNTU-CVE-2023-26125
- Unknown DEBIAN-CVE-2020-36567
- Unknown UBUNTU-CVE-2020-36567
Vulnerability Monitoring
Track new vulnerabilities in golang-github-gin-gonic-gin
DEBIAN-CVE-2023-29401 is rated CVSS 4.3 Medium. BotEraser monitors your WordPress installation and notifies you when software you use appears in our vulnerability database.
Set Up Free Alerts →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.