CVE-2020-36381: Vulnerability in aaptjs leads to arbitrary code execution
Summary
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 ↓
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.
No signup required · Results in about 60 seconds
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 →
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.
References
Related vulnerabilities
Recent vulnerabilities recorded for aaptjs.