Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 861095 (CVE-2022-34749)

Summary: <dev-python/mistune-2.0.3: ReDoS
Product: Gentoo Security Reporter: John Helmert III <ajak>
Component: VulnerabilitiesAssignee: Gentoo Security <security>
Status: RESOLVED FIXED    
Severity: minor CC: mgorny, python
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://github.com/lepture/mistune/commit/a6d43215132fe4f3d93f8d7e90ba83b16a0838b2
Whiteboard: B3 [noglsa]
Package list:
Runtime testing required: ---
Bug Depends on: 861122    
Bug Blocks:    

Description John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2022-07-26 01:59:28 UTC
CVE-2022-34749:

In mistune through 2.0.2, support of inline markup is implemented by using regular expressions that can involve a high amount of backtracking on certain edge cases. This behavior is commonly named catastrophic backtracking.

... or ReDoS. Rather annoying that MITRE had assigned this at least 24
days ago (since it's referenced in the commit), but didn't actually
publish it until today.

Anyway, please stabilize 2.0.3
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2022-07-26 07:23:31 UTC
cleanup done.
Comment 2 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2022-07-26 21:19:48 UTC
Thanks, all done!