Command Injection Affecting asciidoctor-include-ext Open this link in a new tab package, versions <0.4.0


0.0
critical
  • Attack Complexity

    Low

  • Confidentiality

    High

  • Integrity

    High

  • Availability

    High

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.