DEBIAN-CVE-2023-29401

Source
https://security-tracker.debian.org/tracker/CVE-2023-29401
Import Source
https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2023-29401.json
JSON Data
https://api.osv.dev/v1/vulns/DEBIAN-CVE-2023-29401
Upstream
Published
2023-06-08T21:15:16Z
Modified
2025-09-30T05:18:46.372538Z
Severity
  • 4.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Debian:11

golang-github-gin-gonic-gin

Package

Name
golang-github-gin-gonic-gin
Purl
pkg:deb/debian/golang-github-gin-gonic-gin?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*

1.6.3-3
1.6.3-4
1.8.1-1
1.8.1-2
1.8.1-3

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12

golang-github-gin-gonic-gin

Package

Name
golang-github-gin-gonic-gin
Purl
pkg:deb/debian/golang-github-gin-gonic-gin?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*

1.8.1-1
1.8.1-2
1.8.1-3

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13

golang-github-gin-gonic-gin

Package

Name
golang-github-gin-gonic-gin
Purl
pkg:deb/debian/golang-github-gin-gonic-gin?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.8.1-3

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:14

golang-github-gin-gonic-gin

Package

Name
golang-github-gin-gonic-gin
Purl
pkg:deb/debian/golang-github-gin-gonic-gin?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.8.1-3

Ecosystem specific

{
    "urgency": "not yet assigned"
}