Skip to content

Antilles Dependency Confusion Vulnerability

High severity GitHub Reviewed Published Nov 3, 2021 in lenovo/Antilles • Updated Feb 1, 2023

Package

pip antilles-tools (pip)

Affected versions

< 1.0.1

Patched versions

1.0.1

Description

Potential Impact:

Remote code execution.

Scope of Impact:

Open-source project specific.

Summary 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.

Mitigation Strategy for Customers (what you should do to protect yourself):

Remove previous versions of Antilles as a precautionary measure and Update to version 1.0.1 or later.

Acknowledgement:

The Antilles team thanks Kotko Vladyslav for reporting this issue.

References:

lenovo/Antilles@c7b9c57

References

@yixuan178 yixuan178 published to lenovo/Antilles Nov 3, 2021
Reviewed Nov 3, 2021
Published to the GitHub Advisory Database Nov 3, 2021
Published by the National Vulnerability Database Nov 12, 2021
Last updated Feb 1, 2023

Severity

High
8.8
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Weaknesses

CVE ID

CVE-2021-3840

GHSA ID

GHSA-hgc3-hp6x-wpgx

Source code

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.