# GHSA-636f-xm5j-pj9m: Several quadratic complexity bugs may lead to denial of service in Commonmarker

- Severity: Medium (rating, scored by GitHub)
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2023-01-24T18:12:17.000Z
- Modified: 2024-12-05T05:38:58.554Z
- Weaknesses: CWE-400

## Description

## 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-22483](https://github.com/github/cmark-gfm/security/advisories/GHSA-29g3-96g3-jg6c)
* [CVE-2023-22484](https://github.com/github/cmark-gfm/security/advisories/GHSA-24f7-9frr-5h2r)
* [CVE-2023-22485](https://github.com/github/cmark-gfm/security/advisories/GHSA-c944-cv5f-hpvr)
* [CVE-2023-22486](https://github.com/github/cmark-gfm/security/advisories/GHSA-r572-jvj2-3m8p)

For more information, consult the release notes for version [`0.23.0.gfm.7`](https://github.com/github/cmark-gfm/releases/tag/0.29.0.gfm.7).

## Mitigation

Users are advised to upgrade to commonmarker version [`0.23.7`](https://rubygems.org/gems/commonmarker/versions/0.23.7).

(As written by GitHub Advisory Database.)

## Affected

- commonmarker (RubyGems): before 0.23.7

## References

- <https://github.com/gjtorikian/commonmarker/security/advisories/GHSA-636f-xm5j-pj9m> (web)
- <https://github.com/gjtorikian/commonmarker> (package)

## Sources

- GitHub Advisory Database: [GHSA-636f-xm5j-pj9m](https://github.com/advisories/GHSA-636f-xm5j-pj9m), CC-BY-4.0, modified 2024-12-05

---

Page: https://cve.day/GHSA-636f-xm5j-pj9m · Whole record: https://cve.day/GHSA-636f-xm5j-pj9m.json · Rebuilt by cve.day 2026-11-25T22:56:41.173Z
