Download of Code Without Integrity Check Affecting golang-github-gin-gonic-gin package, versions *


Severity

Recommended
low

Based on Debian security rating.

Threat Intelligence

EPSS
0.18% (56th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN10-GOLANGGITHUBGINGONICGIN-5673750
  • published10 Jun 2023
  • disclosed8 Jun 2023

Introduced: 8 Jun 2023

CVE-2023-29401  (opens in a new tab)
CWE-494  (opens in a new tab)

How to fix?

There is no fixed version for Debian:10 golang-github-gin-gonic-gin.

NVD Description

Note: Versions mentioned in the description apply only to the upstream golang-github-gin-gonic-gin package and not the golang-github-gin-gonic-gin package as distributed by Debian. See How to fix? for Debian:10 relevant fixed versions and status.

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.

CVSS Scores

version 3.1