iostreams is vulnerable to Argument Injection
75
CVE Score
High
Argument Injection
When reading or writing an sftp:// path, IOStreams runs the sftp executable with the destination username@hostname as its last argument, without a preceding --. A username that starts with - is read by sftp as an option instead of a user id, so a username such as -Dtouch /tmp/pwned loads a local command in place of sftp-server, running that command on the host running IOStreams. The fix precedes the destination with -- and rejects usernames that start with - or contain control characters.
Upgrade the iostreams library to the patch version.
You are affected if you are using a version that falls within the vulnerable range and your application accepts an SFTP username from an untrusted source, for example a customer configured SFTP connection.
1.0.0 - 2.0.0
Fixed in 2.1.0iostreams is vulnerable to Argument Injection in versions 1.0.0 - 2.0.0.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.