7.5high
Arbitrary File Write
- Severity
- 7.5high CVSS:3.1 by snyk
- Exploit likelihood
- 1.65% (higher than 77% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- snyk
Description
This affects the package drogonframework/drogon before 1.7.5. The unsafe handling of file names during upload using HttpFile::save() method may enable attackers to write files to arbitrary locations outside the designated target folder.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| drogonframework/drogon | from unspecified before 1.7.5 | CVE List |
| drogon drogon | before 1.7.5 | NVD |
All scores
| snyk | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 6.5medium CVSS:2.0 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
Classification
What each source says
CVE List
This affects the package drogonframework/drogon before 1.7.5. The unsafe handling of file names during upload using HttpFile::save() method may enable attackers to write files to arbitrary locations outside the designated target folder.
NVD (es)
Esto afecta al paquete drogonframework/drogon versiones anteriores a 1.7.5. El manejo no seguro de los nombres de archivo durante la carga usando el método HttpFile::save() puede permitir a atacantes escribir archivos en ubicaciones arbitrarias fuera de la carpeta de destino designada
References
| https://snyk.io/vuln/SNYK-UNMANAGED-DROGONFRAMEWORKDROGON-2407243 | exploit, patch, third-party-advisory | |
| https://github.com/drogonframework/drogon/commit/3c785326c63a34aa1799a639ae185bc9453cb447 | patch, third-party-advisory | |
| https://github.com/drogonframework/drogon/pull/1174 | exploit, patch, third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-25297 changed 2024-09-16 | CVE Terms of Use |
| NVD | CVE-2022-25297 changed 2026-06-17 | Public domain |