CWE
20
Advisory Published
Updated

CVE-2018-0502: Input Validation

First published: Wed Sep 05 2018(Updated: )

An issue was discovered in zsh before 5.6. The beginning of a #! script file was mishandled, potentially leading to an execve call to a program named on the second line.

Credit: security@debian.org security@debian.org

Affected SoftwareAffected VersionHow to fix
Canonical Ubuntu Linux=14.04
Canonical Ubuntu Linux=16.04
Canonical Ubuntu Linux=18.04
Zsh Zsh<5.6
debian/zsh
5.8-6+deb11u1
5.9-4
5.9-8

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 CVE-2018-0502?

    The severity of CVE-2018-0502 is critical, with a CVSS score of 9.8.

  • How does CVE-2018-0502 affect zsh?

    CVE-2018-0502 affects zsh versions before 5.6.

  • Can CVE-2018-0502 lead to arbitrary code execution?

    Yes, CVE-2018-0502 can potentially lead to arbitrary code execution.

  • Which operating systems are affected by CVE-2018-0502?

    CVE-2018-0502 affects Canonical Ubuntu Linux versions 14.04, 16.04, and 18.04.

  • How can I fix CVE-2018-0502?

    To fix CVE-2018-0502, upgrade zsh to version 5.6 or higher.

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