Command Injection Affecting asciidoctor-include-ext package, versions <0.4.0


0.0
critical

Snyk CVSS

    Attack Complexity Low
    Confidentiality High
    Integrity High
    Availability High

    Threat Intelligence

    EPSS 0.35% (72nd percentile)
Expand this section
NVD
9.8 critical

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-RUBY-ASCIIDOCTORINCLUDEEXT-2438397
  • published 1 Apr 2022
  • disclosed 31 Mar 2022
  • credit Unknown

How to fix?

Upgrade asciidoctor-include-ext to version 0.4.0 or higher.

Overview

asciidoctor-include-ext is a reimplementation of the Asciidoctor's built-in (pre)processor for the include::[] directive in extensible and more clean way.

Affected versions of this package are vulnerable to Command Injection. Applications using Asciidoctor with asciidoctor-include-ext, 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.