{"id":"CVE-2021-3840","details":"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.","aliases":["GHSA-hgc3-hp6x-wpgx","PYSEC-2021-840"],"modified":"2026-05-18T20:49:15.960916Z","published":"2021-11-12T22:15:08.527Z","references":[{"type":"FIX","url":"https://github.com/lenovo/Antilles/security/advisories/GHSA-hgc3-hp6x-wpgx"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/lenovo/antilles","events":[{"introduced":"0"},{"fixed":"4e48b59ef642afbfe9ee8f80dc202ec7cc7ab2b5"}],"database_specific":{"cpe":"cpe:2.3:a:lenovo:antilles:*:*:*:*:*:*:*:*","source":"CPE_FIELD","extracted_events":[{"introduced":"0"},{"fixed":"1.0.1"}]}}],"versions":["v1.0.0"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-3840.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}