CWE
77 74
Advisory Published
Updated

CVE-2017-17790: Command Injection

First published: Wed Dec 20 2017(Updated: )

Last updated 24 July 2024

Credit: cve@mitre.org cve@mitre.org

Affected SoftwareAffected VersionHow to fix
Ruby-lang Ruby>=2.2<=2.2.8
Ruby-lang Ruby>=2.3<=2.3.5
Ruby-lang Ruby>=2.4<=2.4.2
Ruby-lang Ruby=2.5.0-preview1
debian/ruby1.8
debian/ruby1.9.1
debian/ruby2.1
debian/ruby2.5

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 CVE-2017-17790?

    CVE-2017-17790 is a vulnerability in the Ruby programming language that allows for Command Injection attacks.

  • How does CVE-2017-17790 work?

    CVE-2017-17790 works by exploiting the lazy_initialize function in lib/resolv.rb in Ruby through version 2.4.3, which uses Kernel#open and can be abused with a Resolv::Hosts::new argument starting with a '|' character.

  • How severe is CVE-2017-17790?

    CVE-2017-17790 has a severity level of low.

  • Which versions of Ruby are affected by CVE-2017-17790?

    Ruby versions up to and including 2.4.3 are affected by CVE-2017-17790.

  • How can I fix CVE-2017-17790?

    To fix CVE-2017-17790, update Ruby to version 2.5.1-1 or later.

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.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203