Vulnerabilities
Vulnerable Software

Vulnerability Details CVE-2023-29401

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.
Exploit prediction scoring system (EPSS) score
EPSS Score 0.004
EPSS Ranking 58.2%
CVSS Severity
CVSS v3 Score 4.3
Products affected by CVE-2023-29401
  • Gin-Gonic » Gin » Version: 1.3.1-0.20190301021747-ccb9e902956d
    cpe:2.3:a:gin-gonic:gin:1.3.1-0.20190301021747-ccb9e902956d
  • Gin-Gonic » Gin » Version: 1.4.0
    cpe:2.3:a:gin-gonic:gin:1.4.0
  • Gin-Gonic » Gin » Version: 1.5.0
    cpe:2.3:a:gin-gonic:gin:1.5.0
  • Gin-Gonic » Gin » Version: 1.6.0
    cpe:2.3:a:gin-gonic:gin:1.6.0
  • Gin-Gonic » Gin » Version: 1.6.1
    cpe:2.3:a:gin-gonic:gin:1.6.1
  • Gin-Gonic » Gin » Version: 1.6.2
    cpe:2.3:a:gin-gonic:gin:1.6.2
  • Gin-Gonic » Gin » Version: 1.6.3
    cpe:2.3:a:gin-gonic:gin:1.6.3
  • Gin-Gonic » Gin » Version: 1.7.0
    cpe:2.3:a:gin-gonic:gin:1.7.0
  • Gin-Gonic » Gin » Version: 1.7.1
    cpe:2.3:a:gin-gonic:gin:1.7.1
  • Gin-Gonic » Gin » Version: 1.7.2
    cpe:2.3:a:gin-gonic:gin:1.7.2
  • Gin-Gonic » Gin » Version: 1.7.3
    cpe:2.3:a:gin-gonic:gin:1.7.3
  • Gin-Gonic » Gin » Version: 1.7.4
    cpe:2.3:a:gin-gonic:gin:1.7.4
  • Gin-Gonic » Gin » Version: 1.7.6
    cpe:2.3:a:gin-gonic:gin:1.7.6
  • Gin-Gonic » Gin » Version: 1.7.7
    cpe:2.3:a:gin-gonic:gin:1.7.7
  • Gin-Gonic » Gin » Version: 1.8.0
    cpe:2.3:a:gin-gonic:gin:1.8.0
  • Gin-Gonic » Gin » Version: 1.8.1
    cpe:2.3:a:gin-gonic:gin:1.8.1
  • Gin-Gonic » Gin » Version: 1.8.2
    cpe:2.3:a:gin-gonic:gin:1.8.2
  • Gin-Gonic » Gin » Version: 1.9.0
    cpe:2.3:a:gin-gonic:gin:1.9.0


Contact Us

Shodan ® - All rights reserved