{"id":"CVE-2021-3840","aliases":["GHSA-hgc3-hp6x-wpgx","PYSEC-2021-840"],"url":"https://o3.security/vulnerability/CVE-2021-3840","summary":"Antilles Dependency Confusion Vulnerability","details":"### Potential Impact: \nRemote code execution.\n\n### Scope of Impact: \nOpen-source project specific.\n\n### Summary Description:\nA 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). \nMITRE 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.\nThe 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.\n\n### Mitigation Strategy for Customers (what you should do to protect yourself):\nRemove previous versions of Antilles as a precautionary measure and Update to version 1.0.1 or later.\n\n### Acknowledgement:\nThe Antilles team thanks Kotko Vladyslav for reporting this issue.\n\n### References:\nhttps://github.com/lenovo/Antilles/commit/c7b9c5740908b343aceefe69733d9972e64df0b9\n","published":"2021-11-12T22:15:08.527Z","modified":"2026-10-20T10:54:52.043100944Z","cvss":{"score":8.8,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},"epss":{"score":0.02036,"percentile":0.81482,"asOf":"2026-11-24"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"PyPI","name":"antilles-tools","fixedVersion":"1.0.1"}],"fix":{"url":"https://github.com/lenovo/Antilles/commit/c7b9c5740908b343aceefe69733d9972e64df0b9","label":"lenovo/Antilles@c7b9c57"},"references":[{"type":"FIX","url":"https://github.com/lenovo/Antilles/security/advisories/GHSA-hgc3-hp6x-wpgx"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3840"},{"type":"WEB","url":"https://github.com/lenovo/Antilles/commit/c7b9c5740908b343aceefe69733d9972e64df0b9"},{"type":"PACKAGE","url":"https://github.com/lenovo/Antilles"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/antilles-tools/PYSEC-2021-840.yaml"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-10-20T10:54:52.043100944Z"}}