CVE-2022-24803: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
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.
References
- github.com/advisories/GHSA-v222-6mr4-qj29
- github.com/jirutka/asciidoctor-include-ext/commit/c7ea001a597c7033575342c51483dab7b87ae155
- github.com/jirutka/asciidoctor-include-ext/commit/cbaccf3de533cbca224bf61d0b74e4b84d41d8ee
- github.com/jirutka/asciidoctor-include-ext/security/advisories/GHSA-v222-6mr4-qj29
Code Behaviors & Features
Detect and mitigate CVE-2022-24803 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →