CVE-2018-19827
published 2018-12-03CVE-2018-19827: In LibSass 3.5.5, a use-after-free vulnerability exists in the SharedPtr class in SharedPtr.cpp (or SharedPtr.hpp) that may cause a denial of service…
PriorityP434high8.8CVSS 3.0
AVNACLPRNUIRSUCHIHAH
EPSS
2.04%
78.9th percentile
In LibSass 3.5.5, a use-after-free vulnerability exists in the SharedPtr class in SharedPtr.cpp (or SharedPtr.hpp) that may cause a denial of service (application crash) or possibly have unspecified other impact.
Affected
7 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | libsass | < libsass 3.5.5-3 (bookworm) | libsass 3.5.5-3 (bookworm) |
| libsass | libsass | >= 0 < 3.5.5-3 | 3.5.5-3 |
| libsass | libsass | >= 0 < 3.5.5-3 | 3.5.5-3 |
| libsass | libsass | >= 0 < 3.5.5-3 | 3.5.5-3 |
| libsass | libsass | >= 0 < 3.5.5-3 | 3.5.5-3 |
| msrc | cbl2_reaper_3.1.1-19_on_cbl_mariner_2.0 | — | — |
| sass-lang | libsass | — | — |
CVSS provenance
nvdv3.08.8HIGHCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
nvdv2.06.8MEDIUMAV:N/AC:M/Au:N/C:P/I:P/A:P
osv8.8HIGH
vendor_debian8.8HIGH
vendor_msrc8.8HIGH
vendor_redhat8.8HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Ubuntu
LibSass vulnerabilities
vendor_ubuntu·2021-03-15
CVE-2018-19827 LibSass vulnerabilities
Title: LibSass vulnerabilities
Summary: Several security issues were fixed in LibSass.
It was discovered that LibSass incorrectly handled certain specially crafted
sass file. An attacker could possibly use this issue to cause a denial of
service or other unspecified impact.
Instructions: In general, a standard system update will make all the necessary changes.
Microsoft
In LibSass 3.5.5, a use-after-free vulnerability exists in the SharedPtr class in SharedPtr.cpp (or SharedPtr.hpp) that may cause a denial of service (application crash) or possibly have unspecified o
vendor_msrc·2018-12-11·CVSS 8.8
CVE-2018-19827 [HIGH] CWE-416 In LibSass 3.5.5, a use-after-free vulnerability exists in the SharedPtr class in SharedPtr.cpp (or SharedPtr.hpp) that may cause a denial of service (application crash) or possibly have unspecified o
In LibSass 3.5.5, a use-after-free vulnerability exists in the SharedPtr class in SharedPtr.cpp (or SharedPtr.hpp) that may cause a denial of service (application crash) or possibly have unspecified other impact.
Mariner: Mariner
mitre: mitre
Customer Action Required: Yes
Remediation: CBL-Mariner Releases
Reference: https://learn.microsoft.com/en-us/azure/azure-linux/tutorial-azure-linux-upgrade
Red Hat
libsass: Use-after-free in SharedPtr class resulting in a denial of service
vendor_redhat·2018-12-03·CVSS 8.8
CVE-2018-19827 [HIGH] CWE-843 libsass: Use-after-free in SharedPtr class resulting in a denial of service
libsass: Use-after-free in SharedPtr class resulting in a denial of service
In LibSass 3.5.5, a use-after-free vulnerability exists in the SharedPtr class in SharedPtr.cpp (or SharedPtr.hpp) that may cause a denial of service (application crash) or possibly have unspecified other impact.
A type confusion flaw was discovered in libsass in Expand::operator() in expand.cpp. An attacker could use this flaw to make an application that uses libsass crash or execute arbitrary code.
Package: libsass (Red Hat Enterprise Linux 8) - Not affected
Debian
CVE-2018-19827: libsass - In LibSass 3.5.5, a use-after-free vulnerability exists in the SharedPtr class i...
vendor_debian·2018·CVSS 8.8
CVE-2018-19827 [HIGH] CVE-2018-19827: libsass - In LibSass 3.5.5, a use-after-free vulnerability exists in the SharedPtr class i...
In LibSass 3.5.5, a use-after-free vulnerability exists in the SharedPtr class in SharedPtr.cpp (or SharedPtr.hpp) that may cause a denial of service (application crash) or possibly have unspecified other impact.
Scope: local
bookworm: resolved (fixed in 3.5.5-3)
bullseye: resolved (fixed in 3.5.5-3)
forky: resolved (fixed in 3.5.5-3)
sid: resolved (fixed in 3.5.5-3)
trixie: resolved (fixed in 3.5.5-3)
GHSA
GHSA-69g9-qc4v-m973: In LibSass 3
ghsa_unreviewed·2022-05-14
CVE-2018-19827 [HIGH] CWE-416 GHSA-69g9-qc4v-m973: In LibSass 3
In LibSass 3.5.5, a use-after-free vulnerability exists in the SharedPtr class in SharedPtr.cpp (or SharedPtr.hpp) that may cause a denial of service (application crash) or possibly have unspecified other impact.
OSV
CVE-2018-19827: In LibSass 3
osv·2018-12-03·CVSS 8.8
CVE-2018-19827 [HIGH] CVE-2018-19827: In LibSass 3
In LibSass 3.5.5, a use-after-free vulnerability exists in the SharedPtr class in SharedPtr.cpp (or SharedPtr.hpp) that may cause a denial of service (application crash) or possibly have unspecified other impact.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2018-19797 CVE-2018-19826 CVE-2018-19827 CVE-2018-19837 CVE-2018-19838 CVE-2018-19839 CVE-2018-20190 libsass: various flaws [epel-7]
bugzilla·2019-01-31·CVSS 6.5
CVE-2018-19797 [MEDIUM] CVE-2018-19797 CVE-2018-19826 CVE-2018-19827 CVE-2018-19837 CVE-2018-19838 CVE-2018-19839 CVE-2018-20190 libsass: various flaws [epel-7]
CVE-2018-19797 CVE-2018-19826 CVE-2018-19827 CVE-2018-19837 CVE-2018-19838 CVE-2018-19839 CVE-2018-20190 libsass: various flaws [epel-7]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of epel-7.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message
Bugzilla
CVE-2018-19827 libsass: Use-after-free in SharedPtr class resulting in a denial of service
bugzilla·2019-01-31·CVSS 8.8
CVE-2018-19827 [HIGH] CVE-2018-19827 libsass: Use-after-free in SharedPtr class resulting in a denial of service
CVE-2018-19827 libsass: Use-after-free in SharedPtr class resulting in a denial of service
In LibSass 3.5.5, a use-after-free vulnerability exists in the SharedPtr class in SharedPtr.cpp (or SharedPtr.hpp) that may cause a denial of service (application crash) or possibly have unspecified other impact.
Upstream issue:
https://github.com/sass/libsass/issues/2782
Discussion:
Created libsass tracking bugs for this issue:
Affects: epel-7 [bug 1671396]
Affects: fedora-all [bug 1671395]
---
Upstraem patch:
https://github.com/sass/libsass/commit/67a3f4ff9b790ed016197e6da4ef4e1d4c9da09f
---
The use-after-free reported by ASAN is actually caused by a type confusion. In particular, function Expand::operator() in expand.cpp calls Expand::selector() which returns a Selector_List_Obj object.
Bugzilla
CVE-2018-19797 CVE-2018-19826 CVE-2018-19827 CVE-2018-19837 CVE-2018-19838 CVE-2018-19839 CVE-2018-20190 libsass: various flaws [fedora-all]
bugzilla·2019-01-31·CVSS 6.5
CVE-2018-19797 [MEDIUM] CVE-2018-19797 CVE-2018-19826 CVE-2018-19827 CVE-2018-19837 CVE-2018-19838 CVE-2018-19839 CVE-2018-20190 libsass: various flaws [fedora-all]
CVE-2018-19797 CVE-2018-19826 CVE-2018-19827 CVE-2018-19837 CVE-2018-19838 CVE-2018-19839 CVE-2018-20190 libsass: various flaws [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit
http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00047.htmlhttp://lists.opensuse.org/opensuse-security-announce/2019-07/msg00051.htmlhttp://lists.opensuse.org/opensuse-security-announce/2019-08/msg00027.htmlhttps://github.com/sass/libsass/issues/2782http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00047.htmlhttp://lists.opensuse.org/opensuse-security-announce/2019-07/msg00051.htmlhttp://lists.opensuse.org/opensuse-security-announce/2019-08/msg00027.htmlhttps://github.com/sass/libsass/issues/2782
2018-12-03
Published