VYPR
Critical severityNVD Advisory· Published Oct 31, 2021· Updated Aug 4, 2024

CVE-2020-36377

CVE-2020-36377

Description

A command injection vulnerability in aaptjs 1.3.1's dump function allows remote code execution via crafted filePath parameters.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

A command injection vulnerability in aaptjs 1.3.1's dump function allows remote code execution via crafted filePath parameters.

Vulnerability

The dump function in shenzhim/aaptjs version 1.3.1 contains a command injection flaw due to insecure formatting of the filePath parameter [1][2]. The function passes user-supplied input directly to a shell command without proper sanitization, enabling an attacker to inject arbitrary commands [2].

Exploitation

An attacker must control the filePath argument passed to the dump function [2]. No authentication is required if the application exposes this function to untrusted input. By crafting a filePath value containing shell metacharacters (e.g., backticks or semicolons), the attacker can execute arbitrary OS commands in the context of the Node.js process [2].

Impact

Successful exploitation leads to arbitrary code execution on the host system [1][2]. The attacker gains the same privileges as the running Node.js application, potentially allowing full system compromise, data exfiltration, or lateral movement [2].

Mitigation

As of the available references, no patched version of aaptjs has been released [2][3]. Users should avoid passing untrusted input to the dump function, or consider replacing the package with a secure alternative. Input validation and escaping of shell arguments are recommended workarounds [2].

AI Insight generated on May 21, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
aaptjsnpm
<= 1.3.1

Affected products

2

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

3

News mentions

0

No linked articles in our index yet.