cve.bz

CVE-2018-20821 sass-lang libsass: Uncontrolled Recursion

6.5 mediumExploit referenceEPSS 2.2%Fix available

Medium (6.5) in sass-lang libsass. EPSS 2.2% estimated probability of exploitation activity in the next 30 days.

On this page
The parsing component in LibSass through 3.5.5 allows attackers to cause a denial-of-service (uncontrolled recursion in Sass::Parser::parse_css_variable_value in parser.cpp).

Severity

CVSS 3.1

6.5 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
EPSS
2.2% (unchanged from 2.2% a week ago; 2.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 83rd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-674 Uncontrolled Recursion
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2018-20821 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-20821?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-20821?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2018-20821 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
sass-lang:libsassthrough 3.5.5

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14libsass3.6.3-1DEBIAN-CVE-2018-20821
SUSEPackage Hub 15libsass3.6.1-bp150.3.3.1openSUSE-SU-2019:1800-1
SUSEPackage Hub 15 SP1libsass3.6.1-bp151.4.3.1openSUSE-SU-2019:1883-1
openSUSELeap 15.0, Leap 15.1libsass3.6.1-lp151.3.3.1openSUSE-SU-2019:1791-1

From the distributions' data via OSV.dev: the Debian Security Tracker; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This issue did not affect the versions of libsass as shipped with Red Hat Enterprise Linux 8 as the flaw was introduced in a newer version of the library.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8libsassNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2018-20821.

Attack patterns (CAPEC)

  • CAPEC-230 Serialized Data with Nested Payloads Likelihood: Medium · Severity: High
  • CAPEC-231 Oversized Serialized Data Payloads Likelihood: Medium · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON