CWE
674
Advisory Published
Updated

CVE-2018-20821

First published: Tue Apr 23 2019(Updated: )

LibSass is vulnerable to a denial of service, caused by uncontrolled recursion in Sass::Parser::parse_css_variable_value in parser.cpp. By persuading a victim to open a specially-crafted file, a remote attacker could exploit this vulnerability to cause the application to crash.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
libsass<=3.5.5
IBM Data Virtualization on Cloud Pak for Data<=3.0
IBM Watson Query with Cloud Pak for Data as a Service<=2.2
IBM Watson Query with Cloud Pak for Data as a Service<=2.1
IBM Watson Query with Cloud Pak for Data as a Service<=2.0
IBM Data Virtualization on Cloud Pak for Data<=1.8
IBM Data Virtualization on Cloud Pak for Data<=1.7

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.

Parent vulnerabilities

(Appears in the following advisories)

Frequently Asked Questions

  • What is CVE-2018-20821?

    CVE-2018-20821 is a vulnerability in the parsing component of LibSass through version 3.5.5 that allows attackers to cause a denial-of-service through uncontrolled recursion.

  • What is the affected software?

    The affected software is Sass-lang Libsass versions up to and including 3.5.5.

  • What is the severity of CVE-2018-20821?

    The severity of CVE-2018-20821 is medium with a CVSS score of 6.5.

  • How can attackers exploit CVE-2018-20821?

    Attackers can exploit CVE-2018-20821 by triggering uncontrolled recursion in the Sass::Parser::parse_css_variable_value function in parser.cpp.

  • Is there a fix for CVE-2018-20821?

    Yes, upgrading to a version of LibSass beyond 3.5.5 will fix CVE-2018-20821.

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