Bug 2031837 (CVE-2021-44686)

Summary: CVE-2021-44686 calibre: ReDoS vulnerability in html_preprocess_rules in ebooks/conversion/preprocess.py
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: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: adscvr, chkr, helio, Kartz, kevin, nushio, zbyszek
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: 2021-12-13 15:04:42 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: 2031838    
Bug Blocks:    

Description Guilherme de Almeida Suckevicz 2021-12-13 14:24:14 UTC
calibre before 5.32.0 contains a regular expression that is vulnerable to ReDoS (Regular Expression Denial of Service) in html_preprocess_rules in ebooks/conversion/preprocess.py.

References:
https://bugs.launchpad.net/calibre/+bug/1951979
https://github.com/dwisiswant0/advisory/issues/18

Comment 1 Guilherme de Almeida Suckevicz 2021-12-13 14:24:27 UTC
Created calibre tracking bugs for this issue:

Affects: fedora-all [bug 2031838]

Comment 2 Product Security DevOps Team 2021-12-13 15:04: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.