5.3medium
Path Traversal in Spring-integration-zip
- Severity
- 5.3medium CVSS:3.1 by NVD
- Exploit likelihood
- 1.05% (higher than 65% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- vmware
- Also known as
- GHSA-vw83-h3mq-3qwj
Description
Addresses partial fix in CVE-2018-1263. Spring-integration-zip, versions prior to 1.0.4, exposes an arbitrary file write vulnerability, that can be achieved using a specially crafted zip archive (affects other archives as well, bzip2, tar, xz, war, cpio, 7z), that holds path traversal filenames. So when the filename gets concatenated to the target extraction directory, the final path ends up outside of the target folder.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Spring Integration Zip extension | spring-integration-zip versions prior to 1.0.4 | CVE List |
| org.springframework.integration:spring-integration-zip (Maven) | before 1.0.4 | GitHub Advisory Database |
| vmware spring_integration_zip | before 1.0.4 | NVD |
All scores
| GitHub | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| NVD | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| NVD | 5.0medium CVSS:2.0 | AV:N/AC:L/Au:N/C:N/I:P/A:N |
Classification
What each source says
CVE List
Addresses partial fix in CVE-2018-1263. Spring-integration-zip, versions prior to 1.0.4, exposes an arbitrary file write vulnerability, that can be achieved using a specially crafted zip archive (affects other archives as well, bzip2, tar, xz, war, cpio, 7z), that holds path traversal filenames. So when the filename gets concatenated to the target extraction directory, the final path ends up outside of the target folder.
NVD (es)
Aborda la corrección parcial en el CVE-2018-1263. Spring-integration-zip, versiones anteriores a 1.0.4, expone una vulnerabilidad de escritura de archivo arbitraria, que puede ser lograda usando un archivo zip especialmente diseñado (también afecta a otros archivos, bzip2, tar, xz, war, cpio, 7z), que contiene nombres de archivo de salto de ruta. Entonces, cuando el nombre de archivo se concatena al directorio de extracción de destino, la ruta final termina fuera de la carpeta de destino
References
| https://tanzu.vmware.com/security/cve-2021-22114 | vendor-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-22114 | advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-22114 changed 2024-08-03 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-vw83-h3mq-3qwj changed 2023-11-08 | CC-BY-4.0 |
| NVD | CVE-2021-22114 changed 2026-06-17 | Public domain |