CVE-2021-22114
JSON

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 packageVersionsReported by
Spring Integration Zip extensionspring-integration-zip versions prior to 1.0.4CVE List
org.springframework.integration:spring-integration-zip (Maven)before 1.0.4GitHub Advisory Database
vmware spring_integration_zipbefore 1.0.4NVD

All scores

GitHub5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
NVD5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
NVD5.0medium CVSS:2.0AV: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

Sources

SourceRecordLicence
CVE ListCVE-2021-22114 changed 2024-08-03CVE Terms of Use
GitHub Advisory DatabaseGHSA-vw83-h3mq-3qwj changed 2023-11-08CC-BY-4.0
NVDCVE-2021-22114 changed 2026-06-17Public domain