GitHub Advisoryadvisory · RubyGems
GHSA-7vh7-fw88-wj87 Several quadratic complexity bugs may lead to denial of service in Commonmarker
MEDIUM
Official page ↗
- Ecosystem
- RubyGems
- Packages
- commonmarker
- Severity
- Moderate
- Weaknesses
- CWE-407
- Reviewed
- 2023-08-08
Affected packages
• RubyGems commonmarker: < 0.23.10 → fixed in 0.23.10
Description
Impact
Several quadratic complexity bugs in commonmarker's underlying `cmark-gfm` library may lead to unbounded resource exhaustion and subsequent denial of service.
The following vulnerabilities were addressed:
• CVE-2023-37463
For more information, consult the release notes for version `0.29.0.gfm.12`.
Mitigation
Users are advised to upgrade to commonmarker version `0.23.10`.
Related
Weakness · CWE (1)
- CWE-407 Inefficient Algorithmic Complexity weakness
References
- https://github.com/gjtorikian/commonmarker/security/advisories/GHSA-7vh7-fw88-wj87 web
- https://github.com/gjtorikian/commonmarker/commit/db8cd377b54541f7fd484d168b7682a282a680f7 web
- https://github.com/github/cmark-gfm/releases/tag/0.29.0.gfm.12 web
- https://github.com/gjtorikian/commonmarker package
- https://rubygems.org/gems/commonmarker/versions/0.23.10 web