Critical, CVSS 10.0RubyGemsPublished
Command Injection vulnerability in asciidoctor-include-ext
CVE-2022-24803 · GHSA-v222-6mr4-qj29
- Affected
- RubyGems asciidoctor-include-ext < 0.4.0
- Fixed in
- 0.4.0· Vendor fix available
- Issue
- Impact Applications using Asciidoctor (Ruby) with asciidoctor-include-ext (prior to version 0.4.0), which 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!~~ (EDIT: it’s not) Patches The vulnerability has been fixed in commit c7ea001 (and further improved in cbaccf3), which is included in version 0.4.0. Workarounds References https://sakurity.com/blog/2015/02/28/openuri.html Credits This vulnerability was discovered by Joern Schneeweisz from the GitLab Security Research Team. For more information See commit message c7ea001. If you have any questions or comments about this advisory open an issue in jirutka/asciidoctor-include-ext.
Recommended action: Upgrade to 0.4.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.