Bug 1845651 (CVE-2020-13756)

Summary: CVE-2020-13756 php-PHP-CSS-Parser: evaluation of uncontrolled data can result in remote code execution
Product: [Other] Security Response Reporter: Guilherme de Almeida Suckevicz <gsuckevi>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: fedora
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: 2020-06-09 23:20:41 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: 1845652, 1845653    
Bug Blocks:    

Description Guilherme de Almeida Suckevicz 2020-06-09 18:09:09 UTC
Sabberworm PHP CSS Parser before 8.3.1 calls eval on uncontrolled data, possibly leading to remote code execution if the function allSelectors() or getSelectorsBySpecificity() is called with input from an attacker.

Reference:
http://seclists.org/fulldisclosure/2020/Jun/7

Upstream commit:
https://github.com/sabberworm/PHP-CSS-Parser/commit/2ebf59e8bfbf6cfc1653a5f0ed743b95062c62a4

Comment 1 Guilherme de Almeida Suckevicz 2020-06-09 18:09:31 UTC
Created php-PHP-CSS-Parser tracking bugs for this issue:

Affects: epel-all [bug 1845653]
Affects: fedora-all [bug 1845652]

Comment 2 Product Security DevOps Team 2020-06-09 23:20:41 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.