Remote-file synchronizer in Spring Integration writes server-supplied filename under localDirectory without canonicalization
Spring Integration
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| org.springframework.integration:spring-integration-file Maven |
|
|
Spring Integration
| Product | Affected | Fixed in |
|---|---|---|
| org.springframework.integration:spring-integration-file Maven |
|
|
A malicious or compromised FTP/SFTP/SMB server can write arbitrary files anywhere on the client filesystem (outside the configured local-directory) with attacker-controlled content.
Affected versions: Spring Integration 7.0.0 through 7.0.4; 6.5.0 through 6.5.8; 6.4.0 through 6.4.11; 6.3.0 through 6.3.14; 5.5.0 through 5.5.20.
From the CVE record · vmware
Affected Spring Integration file clients can write files outside their configured local directory when connecting to a malicious or compromised FTP, SFTP, or SMB server. The server can control the contents of those files.
Check deployments using Maven package org.springframework.integration:spring-integration-file in Spring Integration 7.0.0–7.0.4, 6.5.0–6.5.8, 6.4.0–6.4.11, 6.3.0–6.3.14, or 5.5.0–5.5.20.