CVE-2020-36381: Vulnerability in aaptjs leads to arbitrary code execution

aaptjs Updated 02 Oct 2025

Summary

01/11/2021
No i
Critical
9.8

CVE-2020-36381: Vulnerability in singleCrunch function leads to arbitrary code execution via filePath parameters. Affects aaptjs versions < 1.3.1. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

aaptjs is a node wrapper for aapt, a tool used for Android application packaging. It provides a convenient way to interact with aapt functionality in a Node.js environment. The vulnerability affects version 1.3.1 of aaptjs. This package is commonly used in Node.js projects that involve Android application development and processing. The vulnerability allows attackers to execute arbitrary code by exploiting the singleCrunch function in shenzhim aaptjs 1.3.1.

Vulnerability Detail

The singleCrunch function in shenzhim aaptjs 1.3.1 is vulnerable to arbitrary code execution. Attackers can exploit this vulnerability by providing malicious filePath parameters. This can lead to the execution of unauthorized code on the affected system. The impact of this vulnerability can be severe, as it allows attackers to gain unauthorized access and potentially compromise the integrity and confidentiality of the system. The vulnerability has a CVSS score of 9.8, indicating its criticality.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

No workaround is available for this vulnerability. It is essential to apply the recommended fix by upgrading to a non-vulnerable version of aaptjs.

Conclusion

The vulnerability in aaptjs version 1.3.1 can lead to arbitrary code execution, allowing attackers to gain unauthorized access and potentially compromise system integrity and confidentiality. To mitigate this vulnerability, it is crucial to upgrade to a non-vulnerable version of aaptjs. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for aaptjs →

Share this vulnerability

FAQ

aaptjs is a node wrapper for aapt, a tool used for Android application packaging. It provides a convenient way to interact with aapt functionality in a Node.js environment.

The vulnerability allows attackers to execute arbitrary code on the affected system. This can lead to unauthorized access and potential compromise of system integrity and confidentiality.

To fix this vulnerability, it is recommended to upgrade to a version of aaptjs that is not affected by the vulnerability. Upgrading to a version higher than 1.3.1 is necessary.

No workaround is available for this vulnerability. It is essential to apply the recommended fix by upgrading to a non-vulnerable version of aaptjs.

The CVSS score of this vulnerability is 9.8, indicating its criticality.

Related vulnerabilities

Recent vulnerabilities recorded for aaptjs.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback