- Accueil
- Vulnérabilités
- CVE-2023-29401
CVE-2023-29401
The filename parameter of the Context.FileAttachment function is not properly sanitized. A maliciously…
Résumé
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.
Aucune traduction française : description d’origine affichée.
Produits et versions affectés
Gin-gonic (1 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| Gin | de 1.3.1-0.20190301021747-ccb9e902956d (inclus) à 1.9.1 (exclu) |
— | NVD |
Correctif
Non renseigné par l’éditeur.
Contournement
Aucun contournement renseigné.
Savoir si vous êtes touché
Exploit signalé par les sources
Ces liens sont étiquetés « exploit » par le NVD ou par CVE.org. Nous ne les avons pas vérifiés ni copiés ; ouvrez-les avec prudence.
Chronologie
- — Publication de la CVE (cve)
Références
- https://github.com/gin-gonic/gin/pull/3556Issue Tracking, Patch
- https://github.com/gin-gonic/gin/issues/3555Exploit, Issue Tracking
- https://github.com/gin-gonic/gin/releases/tag/v1.9.1Release Notes
- https://pkg.go.dev/vuln/GO-2023-1737Third Party Advisory
Provenance des données
- Statut
- NVD
- Date de publication
- NVD
- Description
- NVD
- Score CVSS
- NVD
- Faiblesse (CWE)
- NVD
- Vecteur CVSS
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N(CVSS 3.1, NVD)- Faiblesse
- CWE-494 · Autre (CWE-494)