Bug 2184925 (CVE-2023-28626)

Summary: CVE-2023-28626 rust-comrak: quadratic runtime when parsing Markdown
Product: [Other] Security Response Reporter: Dhananjay Arunesh <darunesh>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedKeywords: Security
Target Milestone: ---   
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: 2023-04-06 13:36:16 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: 2184926    
Bug Blocks: 2182640    

Description Dhananjay Arunesh 2023-04-06 08:27:09 UTC
comrak is a CommonMark + GFM compatible Markdown parser and renderer written in rust. A range of quadratic parsing issues are present in Comrak. These can be used to craft denial-of-service attacks on services that use Comrak to parse Markdown. This issue has been addressed in version 0.17.0. Users are advised to upgrade. There are no known workarounds for this vulnerability. This issue is also tracked as `GHSL-2023-047`

References:
https://github.com/kivikakk/comrak/commit/ce795b7f471b01589f842dc09af38b025701178d
https://github.com/kivikakk/comrak/security/advisories/GHSA-8hqf-xjwp-p67v

Comment 1 Dhananjay Arunesh 2023-04-06 08:27:29 UTC
Created rust-comrak tracking bugs for this issue:

Affects: fedora-all [bug 2184926]

Comment 2 Product Security DevOps Team 2023-04-06 13:36:14 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.