CVE Catalog

GHSA-3x7f-q7wf-fp73

Unknown
Published: —Translated: NVD NIST

Summary

Shell command injection is possible in Net::SSH::Proxy::Command and Net::SSH::Proxy::Jump. When an application configures a proxy and passes attacker-influenced host, port, or remote_user values to Net::SSH.start (or a jump string to Proxy::Jump.new), shell metacharacters in those values may be interpreted.

Risk Assessment

An attacker able to influence connection parameters may execute arbitrary shell commands on the application host, risking system compromise. The risk affects applications passing untrusted data into SSH proxy configuration.

Recommendation

Update the net-ssh library to a version containing the fix and avoid passing untrusted data into proxy parameters. Validate and sanitize host, port, and remote_user values before use.

Other vulnerabilities in net-ssh

See all
Original NVD description (English source)

## Summary Shell command injection is possible in Net::SSH::Proxy::Command and Net::SSH::Proxy::Jump. When an application configures a proxy and passes an attacker-influenced host, port, or remote_user to Net::SSH.start (or jump string to Proxy::Jump.new), shell metacharacters in those values are i

Vulnerability data from NVD (NIST) · CISA KEV · EPSS