Advisory Published
Updated

REDHAT-BUG-1666127

First published: Tue Jan 15 2019(Updated: )

OpenSSH has a vulnerability in the scp client utility. Due to the scp implementation being derived from 1983 rcp, the server chooses which files/directories are sent to the client. However, scp client only perform cursory validation of the object name returned (only directory traversal attacks are prevented). A malicious scp server can overwrite arbitrary files in the scp client target directory. If recursive operation (-r) is performed, the server can manipulate subdirectories as well (for example overwrite .ssh/authorized_keys). External Reference: <a href="https://sintonen.fi/advisories/scp-client-multiple-vulnerabilities.txt">https://sintonen.fi/advisories/scp-client-multiple-vulnerabilities.txt</a> Proposed Patch: <a href="https://sintonen.fi/advisories/scp-name-validator.patch">https://sintonen.fi/advisories/scp-name-validator.patch</a>

Affected SoftwareAffected VersionHow to fix
OpenSSH

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of REDHAT-BUG-1666127?

    The severity of REDHAT-BUG-1666127 is classified as high due to the potential for unauthorized file access.

  • How do I fix REDHAT-BUG-1666127?

    To fix REDHAT-BUG-1666127, update your OpenSSH installation to a version that includes the security patch addressing this vulnerability.

  • What software is affected by REDHAT-BUG-1666127?

    REDHAT-BUG-1666127 affects the OpenSSH scp client utility.

  • Can REDHAT-BUG-1666127 lead to a security breach?

    Yes, REDHAT-BUG-1666127 can lead to a security breach through potential directory traversal vulnerabilities.

  • Is it possible to mitigate risks from REDHAT-BUG-1666127?

    Yes, users can mitigate risks from REDHAT-BUG-1666127 by implementing strict user permissions and avoiding the use of scp until the vulnerability is patched.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203