Vulnerability · Published Nov 12, 2021 · Assigned by lenovo

CVE-2021-3840

High 8.8

In plain English

A high-severity uncontrolled search path in Antilles from Antilles. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.0% (higher than 81% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.8High
Exploit odds (30 days)2.0%top 18.8% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official 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 & fixed versions

EcosystemPackageFixed inAdvisory
PyPIantilles-tools1.0.1GHSA-hgc3-hp6x-wpgx
PyPIantilles-tools1.0.1PYSEC-2021-840

Affected products (as reported)

VendorProductVersions
Antilles Antilles unspecified – before 1.0.1

Weakness: CWE-427 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

References