Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 861095 (CVE-2022-34749) - <dev-python/mistune-2.0.3: ReDoS
Summary: <dev-python/mistune-2.0.3: ReDoS
Status: RESOLVED FIXED
Alias: CVE-2022-34749
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo Security
URL: https://github.com/lepture/mistune/co...
Whiteboard: B3 [noglsa]
Keywords:
Depends on: 861122
Blocks:
  Show dependency tree
 
Reported: 2022-07-26 01:59 UTC by John Helmert III
Modified: 2022-07-26 21:19 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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!