Description
CommonMarker versions prior to 0.23.4 are at risk of an integer overflow vulnerability. This vulnerability can result in possibly unauthenticated remote attackers to cause heap memory corruption, potentially leading to an information leak or remote code execution, via parsing tables with marker rows that contain more than UINT16_MAX columns.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | commonmarker | < 0.23.4 | 0.23.4 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | ruby-commonmarker | 0.23.4-1 | — |
| Debian 13 | ruby-commonmarker | 0.23.4-1 | — |
| Debian 12 | ruby-commonmarker | 0.23.4-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 22.04 LTS | ruby-commonmarker | No fix yet | — |
| Ubuntu 20.04 LTS | ruby-commonmarker | No fix yet | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| RubyGems | commonmarker | < 0.23.4 | 0.23.4 | GHSA-fmx4-26r3-wxpf |
References
- GitHub Security Advisory (GHSA-mc3g-88wq-6f4x) vendor-advisory
- GitHub Security Advisory (GHSA-fmx4-26r3-wxpf) vendor-advisory
- https://github.com/gjtorikian/commonmarker/commit/ab4504fd17460627a6ab255bc3c63e8e5fc6aed3 patch
- GitHub Security Advisory (GHSA-fmx4-26r3-wxpf) vendor-advisory
- https://vulncheck.com/advisories/vc-advisory-GHSA-fmx4-26r3-wxpf third-party-advisory