Vulnerability · Published Mar 1, 2021 · Assigned by vmware

CVE-2021-22114

Medium 5.3

In plain English

A medium-severity security flaw in Spring Integration Zip extension. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.0% (higher than 64% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)5.3Medium
Exploit odds (30 days)1.0%top 35.9% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Mavenorg.springframework.integration:spring-integration-zip1.0.4GHSA-vw83-h3mq-3qwj

Affected products (as reported)

VendorProductVersions
n/a Spring Integration Zip extension spring-integration-zip versions prior to 1.0.4

References