PT-2022-16889 · Unknown+1 · Asciidoctor-Include-Ext+1
Joern Schneeweisz
·
Published
2022-03-31
·
Updated
2022-04-11
·
CVE-2022-24803
CVSS v3.1
10
Critical
| Vector | AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Asciidoctor-include-ext versions prior to 0.4.0
Description
The issue allows an attacker to execute arbitrary system commands on the host operating system when used to render user-supplied input in AsciiDoc markup. This attack is possible even when
allow-uri-read is disabled.Recommendations
For versions prior to 0.4.0, update to version 0.4.0 or later to resolve the issue.
As a temporary workaround, consider applying the provided patch to the
target uri? method in the Asciidoctor::IncludeExt::IncludeProcessor class to mitigate the command injection vulnerability.Exploit
Fix
OS Command Injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Asciidoctor-Include-Ext
Debian