iostreams is vulnerable to Argument Injection
59
CVE Score
Medium
Argument Injection
IOStreams::Pgp key management methods pass the email: or key_id: value straight to gpg without a preceding --. A value starting with -, such as --comment=user@example.com, is read by gpg as an option instead of a user id and then matches every key in the keyring. delete_keys with such a value deletes every public key, or with private: true every secret key, export with private: true exports every secret key, and list_keys/key? report a match for any supplied email. The fix puts -- before every email and key id and rejects set_trust key ids that are not purely hexadecimal.
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 passes an untrusted value as the email: or key_id: argument to these IOStreams::Pgp methods.
2.0.0 - 2.0.0
Fixed in 2.1.0iostreams is vulnerable to Argument Injection in versions 2.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.