CVE-2021-3840
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.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
antilles-toolsPyPI | < 1.0.1 | 1.0.1 |
Affected products
1Patches
1c7b9c5740908remove some inner package requirements
4 files changed · +0 −4
antilles-confluent-proxy/requirements.txt+0 −1 modified@@ -2,4 +2,3 @@ falcon~=1.3 setuptools>=36.0 requests>=2.18 six>=1.10 -antilles-tools
antilles-core/requirements.txt+0 −1 modified@@ -3,4 +3,3 @@ psycopg2>=2.6 supervisor>=3.3.4 django-pastedeploy-settings>=1.0 futures>=3.1; python_version < "3" -antilles-tools
monitor/antilles-confluent-mond/requirements.txt+0 −1 modified@@ -2,4 +2,3 @@ setuptools>=36.0 influxdb>=5.0.0 six>=1.11.0 docopt>=0.6.2 -antilles-tools
monitor/antilles-ganglia-mond/requirements.txt+0 −1 modified@@ -1,3 +1,2 @@ influxdb>=5.0.0 setuptools>=36.0 -antilles-tools \ No newline at end of file
Vulnerability mechanics
Generated by null/stub on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.
References
5- github.com/advisories/GHSA-hgc3-hp6x-wpgxghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2021-3840ghsaADVISORY
- github.com/lenovo/Antilles/commit/c7b9c5740908b343aceefe69733d9972e64df0b9ghsaWEB
- github.com/lenovo/Antilles/security/advisories/GHSA-hgc3-hp6x-wpgxghsax_refsource_MISCWEB
- github.com/pypa/advisory-database/tree/main/vulns/antilles-tools/PYSEC-2021-840.yamlghsaWEB
News mentions
0No linked articles in our index yet.