CVEfocus › CVE database › CVE-2022-24803

CVE-2022-24803Command Injection vulnerability in asciidoctor-include-ext

CVSS 10.0 CriticalEPSS 2.7% (higher than 87% of CVEs)Published 2022-03-31Updated 2025-04-22Assigner: GitHub_M

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.

CWE-78

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

4Fixed
2Fix pending
2Will not fix
2Not affected

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10ruby-asciidoctor-include-extFix pendingUBUNTU-CVE-2022-24803
Ubuntu 26.04ruby-asciidoctor-include-extNot affected
vulnerable_code_not_present
Ubuntu 25.10ruby-asciidoctor-include-extWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2022-24803
Ubuntu 24.04ruby-asciidoctor-include-extNot affected
vulnerable_code_not_present
Ubuntu 22.04ruby-asciidoctor-include-extFix pendingUBUNTU-CVE-2022-24803
Ubuntu 20.04ruby-asciidoctor-include-extWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2022-24803
Debian 14ruby-asciidoctor-include-extFixed0.4.0-2DEBIAN-CVE-2022-24803
Debian 13ruby-asciidoctor-include-extFixed0.4.0-2DEBIAN-CVE-2022-24803
Debian 12ruby-asciidoctor-include-extFixed0.4.0-2DEBIAN-CVE-2022-24803
RubyGems libraryasciidoctor-include-extFixed0.4.0GHSA-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.

References

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.