golang-github-gin-gonic-gin: CVE-2023-29401

Related Vulnerabilities: CVE-2023-29401  

Debian Bug report logs - #1037530
golang-github-gin-gonic-gin: CVE-2023-29401

version graph

Reported by: Salvatore Bonaccorso <carnil@debian.org>

Date: Tue, 13 Jun 2023 20:39:01 UTC

Severity: important

Tags: security, upstream

Found in version golang-github-gin-gonic-gin/1.8.1-1

Forwarded to https://github.com/gin-gonic/gin/issues/3555

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, carnil@debian.org, team@security.debian.org, Debian Go Packaging Team <team+pkg-go@tracker.debian.org>:
Bug#1037530; Package src:golang-github-gin-gonic-gin. (Tue, 13 Jun 2023 20:39:04 GMT) (full text, mbox, link).


Acknowledgement sent to Salvatore Bonaccorso <carnil@debian.org>:
New Bug report received and forwarded. Copy sent to carnil@debian.org, team@security.debian.org, Debian Go Packaging Team <team+pkg-go@tracker.debian.org>. (Tue, 13 Jun 2023 20:39:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Salvatore Bonaccorso <carnil@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: golang-github-gin-gonic-gin: CVE-2023-29401
Date: Tue, 13 Jun 2023 22:34:27 +0200
Source: golang-github-gin-gonic-gin
Version: 1.8.1-1
Severity: important
Tags: security upstream
Forwarded: https://github.com/gin-gonic/gin/issues/3555
X-Debbugs-Cc: carnil@debian.org, Debian Security Team <team@security.debian.org>

Hi,

The following vulnerability was published for golang-github-gin-gonic-gin.

CVE-2023-29401[0]:
| 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&quot;;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.


If you fix the vulnerability please also make sure to include the
CVE (Common Vulnerabilities & Exposures) id in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2023-29401
    https://www.cve.org/CVERecord?id=CVE-2023-29401
[1] https://github.com/gin-gonic/gin/issues/3555
[2] https://github.com/gin-gonic/gin/commit/2d4bbec941551479b1fdf1e54ece03e6e82a7e72 

Please adjust the affected versions in the BTS as needed.

Regards,
Salvatore



Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed Jun 14 18:32:24 2023; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.