CVE-2022-24803
CRITICAL 9.8CVSS 3.1Command 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.
- Published
- 1 Apr 2022
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-78
- Also known as
- GHSA-v222-6mr4-qj29
- Sources
- NVDJSONOSV GHSA-v222-6mr4-qj29JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | CRITICAL 10.0 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 10.0 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 10.0 | AV:N/AC:L/Au:N/C:C/I:C/A:C |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | asciidoctor-include-ext_project | asciidoctor-include-extcpe:2.3:a:asciidoctor-include-ext_project:asciidoctor-include-ext:*:*:*:*:*:*:*:* |
< 0.4.0 | 0.4.0 |
| OSV | RubyGems | asciidoctor-include-ext | < 0.4.0 | 0.4.0 |
References
- https://github.com/jirutka/asciidoctor-include-ext/commit/c7ea001a597c7033575342c51483dab7b87ae155 · Exploit, Patch, Third Party Advisory, WEB
- https://github.com/jirutka/asciidoctor-include-ext/commit/cbaccf3de533cbca224bf61d0b74e4b84d41d8ee · Patch, Third Party Advisory, WEB
- https://github.com/jirutka/asciidoctor-include-ext/security/advisories/GHSA-v222-6mr4-qj29 · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-24803 · ADVISORY
- https://github.com/jirutka/asciidoctor-include-ext · PACKAGE
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/asciidoctor-include-ext/CVE-2022-24803.yml · WEB
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 1 Apr 2022)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 31 Mar 2022)