Bug 1588663 (CVE-2018-11697)

Summary: CVE-2018-11697 libsass: Heap buffer over-read in Sass::Prelexer::exactly in lexer.hpp
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:47 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: 1588664, 1588665, 1588666    
Bug Blocks: 1754498    

Description Pedro Sampaio 2018-06-07 17:15:59 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::Prelexer::exactly() 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/2656

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

Affects: epel-7 [bug 1588664]
Affects: fedora-all [bug 1588666]

Comment 3 Riccardo Schirone 2020-01-14 16:38:26 UTC
Upstream fix:
https://github.com/sass/libsass/commit/eb15533b07773c30dc03c9d742865604f47120ef