RSEC-2023-8

See a problem?
Import Source
https://github.com/RConsortium/r-advisory-database/blob/main/vulns/commonmark/RSEC-2023-8.yaml
JSON Data
https://api.osv.dev/v1/vulns/RSEC-2023-8
Published
2023-10-06T05:00:00.600Z
Modified
2024-10-21T14:31:31.994774Z
Summary
Denial of Service (DoS) vulnerabilities
Details

cmark-gfm, GitHub's extended version of the CommonMark library in C, suffers from multiple vulnerabilities affecting versions prior to 0.29.0.gfm.12. Various issues, including polynomial time complexity in multiple components like autolink extension, handleclosebracket, and parsing of certain text patterns (leading >, -, _), may lead to unbounded resource exhaustion and denial of service. An out-of-bounds read in the validate_protocol function was also identified but is considered less harmful. Patches are available in versions 0.29.0.gfm.7, 0.29.0.gfm.10, and 0.29.0.gfm.12. Upgrading is advised, and users unable to upgrade should validate input from trusted sources.

References

Affected packages

CRAN / commonmark

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0.2
Fixed
1.9.2

Affected versions

0.*

0.2
0.4
0.5
0.6
0.7
0.8
0.9

1.*

1.0
1.1
1.2
1.4
1.5
1.6
1.7
1.8
1.8.0
1.8.1
1.9
1.9.0
1.9.1