Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. apkleaks
  4. ›
  5. CVE-2021-21386

CVE-2021-21386: OS Command Injection

March 24, 2021 (updated March 27, 2021)

APKLeaks allows remote attackers to execute arbitrary OS commands via package name inside application manifest. An attacker could include arguments that allow unintended commands or code to be executed, allow sensitive data to be read or modified or could cause other unintended behavior through malicious package name.

References

  • nvd.nist.gov/vuln/detail/CVE-2021-21386

Code Behaviors & Features

Detect and mitigate CVE-2021-21386 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.0.3

Fixed versions

  • 2.2.0

Solution

Upgrade to version 2.2.0 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
  • CWE-88: Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')

Source file

pypi/apkleaks/CVE-2021-21386.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:36 +0000.