{
  "cveId": "CVE-2023-29401",
  "url": "https://patchblox.com/security/cve/CVE-2023-29401",
  "summary": "CVE-2023-29401 is fixed in golang-github-gin-gonic-gin on 1 platform, first by DEBIAN-CVE-2023-29401, released June 8, 2023. It is not reported as exploited. Patch Radar priority: Routine.",
  "title": "golang-github-gin-gonic-gin: The filename parameter of the Context.FileAttachment function is not properly sanitized",
  "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 \u0022setup.bat\u0026quot;;x=.txt\u0022 will be sent as a file named \u0022setup.bat\u0022. 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.",
  "published": "2023-06-08T21:15:16Z",
  "severity": "medium",
  "cvss": 4.3,
  "cvssVector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N",
  "epss": 0.00482,
  "epssPercentile": 0.41793,
  "priority": "Routine",
  "priorityTier": 4,
  "exploited": false,
  "vendorExploited": false,
  "disclosed": false,
  "fixes": [
    {
      "platform": "linux",
      "product": "golang-github-gin-gonic-gin",
      "release": "Debian 13.5 (trixie)",
      "fixedVersion": "1.8.1-3",
      "fix": "DEBIAN-CVE-2023-29401",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2023-29401",
      "released": "2023-06-08T21:15:16Z"
    },
    {
      "platform": "linux",
      "product": "golang-github-gin-gonic-gin",
      "release": "Debian 14",
      "fixedVersion": "1.8.1-3",
      "fix": "DEBIAN-CVE-2023-29401",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2023-29401",
      "released": "2023-06-08T21:15:16Z"
    }
  ],
  "noFixYet": [],
  "dataAsOf": "2026-11-08T06:59:42Z",
  "attribution": {
    "text": "Data: Patchblox Patch Radar",
    "url": "https://patchblox.com/security/patch-radar",
    "terms": "https://patchblox.com/security/patch-radar/use-the-data"
  }
}