Bug 1588651 (CVE-2018-11698)

Summary: CVE-2018-11698 libsass: Out-of-bounds read n function Sass::handle_error in sass_context.cpp
Product: [Other] Security Response Reporter: Pedro Sampaio <psampaio>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: aurelien, fmuellner
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: libsass 3.6.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-10-25 09:54:34 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: 1588652, 1588653, 1588654    
Bug Blocks: 1754498    

Description Pedro Sampaio 2018-06-07 16:47:13 UTC
An issue was discovered in Libsass through 3.5.4. An out-of-bounds read of a memory region was found in the function Sass::handle_error which could be leveraged by an attacker to disclose information or manipulated to read from unmapped memory causing a denial of service.

Upstream issue:

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

Comment 1 Pedro Sampaio 2018-06-07 16:49:10 UTC
Created libsass tracking bugs for this issue:

Affects: epel-7 [bug 1588654]
Affects: fedora-all [bug 1588653]

Comment 3 Riccardo Schirone 2020-01-14 16:37:36 UTC
Upstream fix:
https://github.com/sass/libsass/commit/8f40dc03e5ab5a8b2ebeb72b31f8d1adbb2fd6ae