PT-2021-12031 · Aaptjs · Aaptjs

Mohanl0L

·

Published

2021-10-31

·

Updated

2022-05-03

·

CVE-2020-36381

CVSS v3.1

9.8

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions: aaptjs version 1.3.1
Description: An issue was discovered in the singleCrunch function, allowing attackers to execute arbitrary code via the filePath parameters. This issue affects the aaptjs package, which is a node wrapper for aapt.
Recommendations: For aaptjs version 1.3.1, consider disabling the singleCrunch function as a temporary workaround until a patch is available. Restrict access to the filePath parameters in the affected function to minimize the risk of exploitation. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

Command Injection

OS Command Injection

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2020-36381
GHSA-7FW7-GH23-F832

Affected Products

Aaptjs