CVE-2022-24803 Command Injection vulnerability in asciidoctor-include-ext
CriticalCVSS 9.8
EPSS 2.7%
PoC
- Published
- Updated
- Exploit status
- Proof-of-concept only
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: total
- Technology
- UbuntuDebian
Description
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.
Upgrade path
10 packages: 5 fixed, 4 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/ruby-asciidoctor-include-ext(Ubuntu 20.04) | = 0.3.1-2; All versions | No fix listed | No fix yet |
| ubuntu/ruby-asciidoctor-include-ext(Ubuntu 22.04) | = 0.3.1-2; All versions | No fix listed | No fix yet |
| ubuntu/ruby-asciidoctor-include-ext(Ubuntu 25.10) | = 0.4.0+gh-1; All versions | No fix listed | No fix yet |
| ubuntu/ruby-asciidoctor-include-ext(Ubuntu 26.10) | = 0.4.0+gh-1; = 0.4.0+gh-2; All versions | No fix listed | No fix yet |
| asciidoctor-include-ext project asciidoctor-include-ext | < 0.4.0 | 0.4.0 | Fixed |
| debian/ruby-asciidoctor-include-ext(Debian 12) | < 0.4.0-2 | 0.4.0-2 | Fixed |
| debian/ruby-asciidoctor-include-ext(Debian 13) | < 0.4.0-2 | 0.4.0-2 | Fixed |
| debian/ruby-asciidoctor-include-ext(Debian 14) | < 0.4.0-2 | 0.4.0-2 | Fixed |
| rubygems asciidoctor-include-ext(RubyGems) | < 0.4.0; = 0.1.0; = 0.1.1; = 0.2.0 +2 more | 0.4.0 | Fixed |
| jirutka asciidoctor-include-ext | = < 0.4.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| rubygems asciidoctor-include-ext(RubyGems) | < 0.4.0 | 0.4.0 |
| rubygems asciidoctor-include-ext(RubyGems) | = 0.1.0 | No fix listed |
| rubygems asciidoctor-include-ext(RubyGems) | = 0.1.1 | No fix listed |
| rubygems asciidoctor-include-ext(RubyGems) | = 0.2.0 | No fix listed |
| rubygems asciidoctor-include-ext(RubyGems) | = 0.3.0 | No fix listed |
| rubygems asciidoctor-include-ext(RubyGems) | = 0.3.1 | No fix listed |
| jirutka asciidoctor-include-ext | = < 0.4.0 | No fix listed |
| ubuntu/ruby-asciidoctor-include-ext(Ubuntu:22.04) | All versions | No fix listed |
| asciidoctor-include-ext project asciidoctor-include-ext | < 0.4.0 | 0.4.0 |
| ubuntu/ruby-asciidoctor-include-ext(Ubuntu:26.10) | All versions | No fix listed |
| debian/ruby-asciidoctor-include-ext(Debian:12) | < 0.4.0-2 | 0.4.0-2 |
| debian/ruby-asciidoctor-include-ext(Debian:14) | < 0.4.0-2 | 0.4.0-2 |
| debian/ruby-asciidoctor-include-ext(Debian:13) | < 0.4.0-2 | 0.4.0-2 |
| ubuntu/ruby-asciidoctor-include-ext(Ubuntu:20.04) | All versions | No fix listed |
| ubuntu/ruby-asciidoctor-include-ext(Ubuntu:20.04) | = 0.3.1-2 | No fix listed |
| ubuntu/ruby-asciidoctor-include-ext(Ubuntu:22.04) | = 0.3.1-2 | No fix listed |
| ubuntu/ruby-asciidoctor-include-ext(Ubuntu:25.10) | All versions | No fix listed |
| ubuntu/ruby-asciidoctor-include-ext(Ubuntu:25.10) | = 0.4.0+gh-1 | No fix listed |
| ubuntu/ruby-asciidoctor-include-ext(Ubuntu:26.10) | = 0.4.0+gh-1 | No fix listed |
| ubuntu/ruby-asciidoctor-include-ext(Ubuntu:26.10) | = 0.4.0+gh-2 | No fix listed |
References
- github.com issue-tracking third-party-advisory vendor-advisory
- github.com exploit issue-tracking patch third-party-advisory
- github.com issue-tracking patch third-party-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com exploit
- github.com
- github.com product
- Debian Security Tracker CVE-2022-24803 vendor-advisory
- Ubuntu CVE tracker issue-tracking vendor-advisory
- www.cve.org issue-tracking
- bugs.debian.org issue-tracking