CVE-2021-3840
HIGH 8.8CVSS 3.1Antilles Dependency Confusion Vulnerability
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.
- Published
- 12 Nov 2021
- Last modified
- 8 Jul 2026
- Assigned by
- psirt@lenovo.com
- NVD status
- Modified
- Weakness
- CWE-427
- Also known as
- GHSA-hgc3-hp6x-wpgxPYSEC-2021-840
- Sources
- NVDJSONOSV GHSA-hgc3-hp6x-wpgxJSONOSV PYSEC-2021-840JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N | |
| NVD | psirt@lenovo.com (Secondary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | lenovo | antillescpe:2.3:a:lenovo:antilles:*:*:*:*:*:*:*:* |
< 1.0.1 | 1.0.1 |
| OSV | PyPI | antilles-tools | < 1.0.1 | 1.0.1 |
References
- https://github.com/lenovo/Antilles/security/advisories/GHSA-hgc3-hp6x-wpgx · Patch, Third Party Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2021-3840 · ADVISORY
- https://github.com/lenovo/Antilles/commit/c7b9c5740908b343aceefe69733d9972e64df0b9 · WEB
- https://github.com/lenovo/Antilles · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/antilles-tools/PYSEC-2021-840.yaml · WEB
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 12 Nov 2021)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 12 Nov 2021)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 3 Nov 2021)