GHSA-7vh7-fw88-wj87 json
Several quadratic complexity bugs may lead to denial of service in Commonmarker
published 3y ago modified last yr.
- cvss
- —
- not scored
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- —
- no score, EPSS covers CVEs only
- public exploits
- 0
- none known
Summary
## Impact
Several quadratic complexity bugs in commonmarker's underlying [`cmark-gfm`](https://github.com/github/cmark-gfm) library may lead to unbounded resource exhaustion and subsequent denial of service.
The following vulnerabilities were addressed:
* [CVE-2023-37463](https://github.com/github/cmark-gfm/security/advisories/GHSA-w4qg-3vf7-m9x5)
For more information, consult the release notes for version [`0.29.0.gfm.12`](https://github.com/github/cmark-gfm/releases/tag/0.29.0.gfm.12).
## Mitigation
Users are advised to upgrade to commonmarker version [`0.23.10`](https://rubygems.org/gems/commonmarker/versions/0.23.10).
Patch / fix
- rubygems commonmarker 0.23.10
Is GHSA-7vh7-fw88-wj87 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerAffected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| rubygems | commonmarker | <0.23.10 |
0.23.10 |
Classification
- Weakness
-
- CWE-407 Inefficient Algorithmic Complexity
References
-
github.com
/gjtorikian/commonmarker/commit/db8cd377b54541f7fd484d168b7682a282a680f7
web
-
github.com
/gjtorikian/commonmarker/security/advisories/GHSA-7vh7-fw88-wj87
web
-
github.com
/github/cmark-gfm/releases/tag/0.29.0.gfm.12
web
-
github.com
/gjtorikian/commonmarker
package
-
rubygems.org
/gems/commonmarker/versions/0.23.10
web
Sources
- GitHub Advisory GHSA-7vh7-fw88-wj87
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.