Bug 1671386 (CVE-2018-19839)

Summary: CVE-2018-19839 libsass: Heap-based buffer over-read in the handle_error function resulting in a denial of service
Product: [Other] Security Response Reporter: Andrej Nemec <anemec>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: aurelien, fmuellner
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-10 10:47:06 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1671395, 1671396    
Bug Blocks: 1671393    

Description Andrej Nemec 2019-01-31 14:07:26 UTC
In LibSass prior to 3.5.5, the function handle_error in sass_context.cpp allows attackers to cause a denial-of-service resulting from a heap-based buffer over-read via a crafted sass file.

Upstream issue:

https://github.com/sass/libsass/issues/2657

Upstream patch:

https://github.com/sass/libsass/pull/2767/commits/a2dff1b59ea8c8ec10680f9e8e5593e4b38554a1

Upstream pull request:

https://github.com/sass/libsass/pull/2767

Comment 1 Andrej Nemec 2019-01-31 14:16:35 UTC
Created libsass tracking bugs for this issue:

Affects: epel-7 [bug 1671396]
Affects: fedora-all [bug 1671395]