Bug 2128977 (CVE-2022-40023)

Summary: CVE-2022-40023 python-mako: REDoS in Lexer class
Product: [Other] Security Response Reporter: Avinash Hanwate <ahanwate>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: aekoroglu, agk, amoralej, aoconnor, apevec, bdettelb, bniver, cluster-maint, dking, eglynn, fdinitto, flucifre, gmeno, jjoyce, jschluet, kdreyer, lhh, mbenjamin, mburns, mgarciac, mhackett, nobody, oalbrigt, openstack-sig, python-maint, rhos-maint, sostapov, spower, srevivo, timothee.floure, vereddy
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: mako 1.2.2 Doc Type: If docs needed, set a value
Doc Text:
A vulnerability was found in the mako package. Affected versions of this package are vulnerable to Regular expression denial of service (ReDoS) attacks, affecting system availability.
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-05-16 16:51:40 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: 2128979, 2129692, 2128978, 2128981, 2129690, 2129691, 2129693, 2129694, 2129695, 2129696, 2133604, 2133605, 2133606, 2258851    
Bug Blocks: 2125131    

Comment 1 Avinash Hanwate 2022-09-22 07:48:24 UTC
Created python-pecan tracking bugs for this issue:

Affects: epel-all [bug 2128979]
Affects: fedora-all [bug 2128978]

Comment 2 Avinash Hanwate 2022-09-22 07:50:05 UTC
Created python-pecan tracking bugs for this issue:

Affects: openstack-rdo [bug 2128981]

Comment 4 Timothée Floure 2022-09-24 15:07:46 UTC
This package is a wayland notification daemon, not the python templating library: this bug is in the wrong place.

Comment 5 Timothée Floure 2022-09-24 15:11:33 UTC
You want the python-mako [1] package - adding its maintainer to the CC list.

[1] https://src.fedoraproject.org/rpms/python-mako

Comment 19 errata-xmlrpc 2023-05-09 07:23:21 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2023:2258 https://access.redhat.com/errata/RHSA-2023:2258

Comment 20 errata-xmlrpc 2023-05-16 08:25:16 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2023:2893 https://access.redhat.com/errata/RHSA-2023:2893

Comment 21 Product Security DevOps Team 2023-05-16 16:51:37 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2022-40023