CVE-2021-3840 json
Antilles Dependency Confusion Vulnerability
published 2021-11-03 5 y ago modified 2026-07-08 4 mo ago also GHSA-hgc3-hp6x-wpgx , PYSEC-2021-840 , EUVD-2021-0012
- cvss
- 8.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.0%
- EPSS 2.0% chance of exploitation in 30 days, percentile 81%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi antilles-tools 1.0.1
- Antilles Antilles 1.0.1
Exploit prediction
2.04% chance of exploitation in the next 30 days, higher than 81% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
| GitHub | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | antilles-tools | <1.0.1 |
1.0.1 |
Affected products
- Antilles Antilles
Classification
- Weakness
-
- CWE-427 Uncontrolled Search Path Element
References
-
github.com
/lenovo/Antilles/security/advisories/GHSA-hgc3-hp6x-wpgx
web, patch, third-party-advisory, advisory
-
github.com
/lenovo/Antilles/commit/c7b9c5740908b343aceefe69733d9972e64df0b9
web
-
nvd.nist.gov
/vuln/detail/CVE-2021-3840
advisory
-
github.com
/lenovo/Antilles
package
-
github.com
/pypa/advisory-database/tree/main/vulns/antilles-tools/PYSEC-2021-840.yaml
web
Sources
- CVE List CVE-2021-3840
- GitHub Advisory GHSA-hgc3-hp6x-wpgx
- NVD CVE-2021-3840
- OSV PYSEC-2021-840
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.