Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. antilles-tools
  4. ›
  5. CVE-2021-3840

CVE-2021-3840: Uncontrolled Search Path Element

November 3, 2021 (updated November 17, 2021)

A dependency confusion vulnerability was reported in the Antilles open-source software 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.

References

  • github.com/advisories/GHSA-hgc3-hp6x-wpgx
  • github.com/lenovo/Antilles/commit/c7b9c5740908b343aceefe69733d9972e64df0b9
  • github.com/lenovo/Antilles/security/advisories/GHSA-hgc3-hp6x-wpgx
  • nvd.nist.gov/vuln/detail/CVE-2021-3840

Code Behaviors & Features

Detect and mitigate CVE-2021-3840 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 1.0.1

Fixed versions

  • 1.0.1

Solution

Upgrade to version 1.0.1 or above.

Impact 8.8 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-427: Uncontrolled Search Path Element
  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Source file

pypi/antilles-tools/CVE-2021-3840.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:27 +0000.