{"id":"UBUNTU-CVE-2022-24803","details":"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.","modified":"2026-05-20T16:07:50.309663500Z","published":"2022-04-01T00:15:00Z","upstream":["CVE-2022-24803"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-24803"},{"type":"REPORT","url":"https://github.com/jirutka/asciidoctor-include-ext/security/advisories/GHSA-v222-6mr4-qj29"},{"type":"REPORT","url":"https://github.com/jirutka/asciidoctor-include-ext/commit/c7ea001a597c7033575342c51483dab7b87ae155"},{"type":"REPORT","url":"https://github.com/jirutka/asciidoctor-include-ext/commit/cbaccf3de533cbca224bf61d0b74e4b84d41d8ee"},{"type":"REPORT","url":"https://github.com/jirutka/asciidoctor-include-ext/commit/cbaccf3de533cbca224bf61d0b74e4b84d41d8ee"},{"type":"REPORT","url":"https://github.com/jirutka/asciidoctor-include-ext/commit/c7ea001a597c7033575342c51483dab7b87ae155"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2022-24803"}],"affected":[{"package":{"name":"ruby-asciidoctor-include-ext","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/ruby-asciidoctor-include-ext?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.3.1-2"],"ecosystem_specific":{"binaries":[{"binary_version":"0.3.1-2","binary_name":"ruby-asciidoctor-include-ext"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-24803.json"}},{"package":{"name":"ruby-asciidoctor-include-ext","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/ruby-asciidoctor-include-ext?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.3.1-2"],"ecosystem_specific":{"binaries":[{"binary_version":"0.3.1-2","binary_name":"ruby-asciidoctor-include-ext"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-24803.json"}},{"package":{"name":"ruby-asciidoctor-include-ext","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/ruby-asciidoctor-include-ext?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.4.0+gh-1"],"ecosystem_specific":{"binaries":[{"binary_name":"ruby-asciidoctor-include-ext","binary_version":"0.4.0+gh-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-24803.json"}},{"package":{"name":"ruby-asciidoctor-include-ext","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/ruby-asciidoctor-include-ext?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.4.0+gh-1"],"ecosystem_specific":{"binaries":[{"binary_name":"ruby-asciidoctor-include-ext","binary_version":"0.4.0+gh-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-24803.json"}},{"package":{"name":"ruby-asciidoctor-include-ext","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/ruby-asciidoctor-include-ext?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.4.0+gh-1"],"ecosystem_specific":{"binaries":[{"binary_name":"ruby-asciidoctor-include-ext","binary_version":"0.4.0+gh-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-24803.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}