CVE-2022-24803Command Injection vulnerability in asciidoctor-include-ext
Asciidoctor-include-ext is Asciidoctor’s standard include processor reimplemented as an extension. Versions prior to 0.4.0, when used to render user-supplied input in AsciiDoc markup, may allow an attacker to execute arbitrary system commands on the host operating system. This attack is possible even when `allow-uri-read` is disabled! The problem has been patched in the referenced commits.
What to do
Fixed builds are available from Debian, RubyGems: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | ruby-asciidoctor-include-ext | Fix pending | UBUNTU-CVE-2022-24803 | |
| Ubuntu 26.04 | ruby-asciidoctor-include-ext | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | ruby-asciidoctor-include-ext | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2022-24803 | |
| Ubuntu 24.04 | ruby-asciidoctor-include-ext | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | ruby-asciidoctor-include-ext | Fix pending | UBUNTU-CVE-2022-24803 | |
| Ubuntu 20.04 | ruby-asciidoctor-include-ext | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2022-24803 | |
| Debian 14 | ruby-asciidoctor-include-ext | Fixed | 0.4.0-2 | DEBIAN-CVE-2022-24803 |
| Debian 13 | ruby-asciidoctor-include-ext | Fixed | 0.4.0-2 | DEBIAN-CVE-2022-24803 |
| Debian 12 | ruby-asciidoctor-include-ext | Fixed | 0.4.0-2 | DEBIAN-CVE-2022-24803 |
| RubyGems library | asciidoctor-include-ext | Fixed | 0.4.0 | GHSA-v222-6mr4-qj29 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- jirutka asciidoctor-include-ext: affected: < 0.4.0
References
- https://github.com/jirutka/asciidoctor-include-ext/security/advisories/GHSA-v222-6mr4-qj29
- https://github.com/jirutka/asciidoctor-include-ext/commit/c7ea001a597c7033575342c51483dab7b87ae155
- https://github.com/jirutka/asciidoctor-include-ext/commit/cbaccf3de533cbca224bf61d0b74e4b84d41d8ee
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.