{"id":"CVE-2022-24803","published":"2022-03-31T23:30:14Z","modified":"2025-04-22T18:17:46Z","title":"Command Injection vulnerability in asciidoctor-include-ext","vendor":"jirutka","product":"asciidoctor-include-ext","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":10,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.02686,"percentile":0.86212,"provenance":"source"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"references":[{"url":"https://github.com/jirutka/asciidoctor-include-ext/security/advisories/GHSA-v222-6mr4-qj29","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/jirutka/asciidoctor-include-ext/commit/c7ea001a597c7033575342c51483dab7b87ae155","tags":["x_refsource_MISC"]},{"url":"https://github.com/jirutka/asciidoctor-include-ext/commit/cbaccf3de533cbca224bf61d0b74e4b84d41d8ee","tags":["x_refsource_MISC"]}],"priority":{"score":24.2,"factors":[{"name":"EPSS percentile","points":17.24},{"name":"CVSS severity","points":7.0}]},"vendorSlug":"jirutka","affectedVersions":[{"vendor":"jirutka","product":"asciidoctor-include-ext","versions":["< 0.4.0"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2025-04-22T15:37:30.670379Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"RubyGems","package":"asciidoctor-include-ext","vulnerableRanges":["<0.4.0"],"patched":["0.4.0"],"from":["GHSA-v222-6mr4-qj29"],"provenance":"source"}],"summary":{"text":"A command injection flaw exists in the asciidoctor-include-ext component of jirutka's asciidoctor-include-ext product, an extension reimplementing Asciidoctor's standard include processor. When the affected versions, prior to 0.4.0, are used to render user-supplied AsciiDoc markup, an attacker can execute arbitrary operating system commands on the host, and this remains possible even with allow-uri-read disabled, with no authentication or user interaction required over the network.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T15:03:14Z"},"euvd":{"id":"EUVD-2022-1539","exploited":false,"provenance":"source"}}