CVE-2021-3840: Antilles - Command Injection
- Cve: CVE-2021-3840
- Name: Antilles - Command Injection
- Description: A dependency confusion vulnerability was reported in the Antilles open-source software prior to version 1.0.1 that could allow for remote code execution during installation due to a package listed in requirements.txt not existing in the public package index (PyPi). MITRE classifies this weakness as an Uncontrolled Search Path Element (CWE-427) in which a private package dependency may be replaced by an unauthorized package of the same name published to a well-known public repository such as PyPi. The configuration has been updated to only install components built by Antilles, removing all other public package indexes. Additionally, the antilles-tools dependency has been published to PyPi.
- Impact: Remote attackers can execute arbitrary code during installation by replacing private dependencies with malicious public packages.
- Remediation: Update to version 1.0.1 or later, and configure installation to only use trusted package sources.
- Vulnerability type: command_injection
- Vulnerability impact: remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Epss score: 0.02036
- Epss percentile: 0.81598
- Assignee: [email protected]
- Published at: 2021-11-12T22:15:08Z
- Age in days: 1838
- Modified at: 2026-06-17T04:05:52Z
- Patch available: yes
- References total: 1
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-3840
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements
Cwe
| Id | Name |
|---|---|
| CWE-427 | Uncontrolled Search Path Element |
Hackerone
- Reports: 4
- Rank: 2839
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/lenovo/Antilles/security/advisories/GHSA-hgc3-hp6x-wpgx | nvd | Patch, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| lenovo:antilles | < 1.0.1 | no | nvd | /v1/products/lenovo/antilles |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| lenovo/Antilles | commit, package, security_advisory | yes | /v1/repositories/lenovo/Antilles |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Hackerone reports: 4
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, exposed hosts