CVE-2023-41881: Vantage6 Remote Code Execution Vulnerability

LOW
Advisory Identifier: GHSA-rf54-7qrr-96j6
CVSS 3.7
CWE-200
Published
Advisory Summary

CVE-2023-41881 is a LOW (CVSS 3.7) remote code execution vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) affecting Vantage6 libraries in the PyPI ecosystem. The issue involves vantage6 does not properly delete linked resources when deleting a collaboration. Remediation is available by upgrading affected packages to version 4.0.0.

CVE-2023-41881 at a Glance

CVE Identifier CVE-2023-41881
GHSA Identifier GHSA-rf54-7qrr-96j6
Severity LOW
CVSS v3.1 Base Score 3.7
CWE Classification CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
Affected Product Vantage6
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 3.7

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:C/C:L/I:L/A:N).

Attack Vector Local (AV:L)
Attack Complexity High (AC:H)
Privileges Required High (PR:H)
User Interaction Required (UI:R)
Scope Changed (S:C)
Confidentiality Low (C:L)
Integrity Low (I:L)
Availability None (A:N)

How to Fix CVE-2023-41881

To remediate this vulnerability, upgrade all affected Vantage6 dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

vantage6 fixed: 4.0.0
pip install vantage6>=4.0.0
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

pip show vantage6

How to Check if You Are Affected

To determine whether your Python environment is affected by CVE-2023-41881, inspect your installed packages using pip:

pip show vantage6

Analyze the terminal output to locate any version of Vantage6 in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.0.0), your application is affected.

Note: The pip show vantage6 command checks currently installed packages in your active Python environment.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor, where the product exposes sensitive information to an actor that is not explicitly authorized to have access to that information. In Vantage6, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

When a collaboration is deleted in vantage6, the linked resources (such as tasks from that collaboration) are not properly deleted. This is partly to manage data properly, but also to prevent a potential (but unlikely) side-effect, where if a collaboration with id=10 is deleted, and subsequently a new collaboration is created with id=10, the authenticated users in that collaboration could potentially see results of the deleted collaboration in some cases, resulting in information disclosure.

CVE-2023-41881 Affected Vantage6 Versions

1 component(s)
Fixed Versions:
4.0.0
Product / Package Ecosystem Affected Versions Fixed Version
vantage6
PyPI
< 4.0.0
4.0.0

References

Frequently Asked Questions

What is CVE-2023-41881?
CVE-2023-41881 is a security vulnerability in Vantage6 involving vantage6 does not properly delete linked resources when deleting a collaboration under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor.
Which Vantage6 versions are affected?
Affected versions include releases prior to 4.0.0 across affected packages: vantage6.
What version fixes CVE-2023-41881?
Upgrading to 4.0.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is vantage6 affected?
Yes, vantage6 is affected in releases prior to 4.0.0. Upgrade your dependency to 4.0.0 or later.
What is the CVSS score of CVE-2023-41881?
CVE-2023-41881 has a CVSS v3.1 base score of 3.7 (LOW) with vector string CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:C/C:L/I:L/A:N.
What CWE is associated with CVE-2023-41881?
CVE-2023-41881 is classified under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor (The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.).
How can I check PyPI dependencies for CVE-2023-41881?
Run the dependency tree command: 'pip show vantage6'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-rf54-7qrr-96j6",
  "modified" : "2024-11-18T23:12:55Z",
  "published" : "2023-10-16T14:31:39Z",
  "aliases" : [ "CVE-2023-41881" ],
  "summary" : "vantage6 does not properly delete linked resources when deleting a collaboration",
  "details" : "When a collaboration is deleted in vantage6, the linked resources (such as tasks from that collaboration) are not properly deleted.\n\nThis is partly to manage data properly, but also to prevent a potential (but unlikely) side-effect, where if a collaboration with id=10 is deleted, and subsequently a new collaboration is created with id=10, the authenticated users in that collaboration could potentially see results of the deleted collaboration in some cases, resulting in information disclosure.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:C/C:L/I:L/A:N"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:L/AC:L/AT:P/PR:H/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "vantage6"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "4.0.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/vantage6/vantage6/security/advisories/GHSA-rf54-7qrr-96j6"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-41881"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/vantage6/vantage6/pull/748"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/vantage6/vantage6/commit/cce9538f8b70e814c080dd0ae43b297f3af8a732"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/pypa/advisory-database/tree/main/vulns/vantage6/PYSEC-2023-200.yaml"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/vantage6/vantage6"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/vantage6/vantage6/blob/0682c4288f43fee5bcc72dc448cdd99bd7e57f76/docs/release_notes.rst#400"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-200" ],
    "severity" : "LOW",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-10-16T14:31:39Z",
    "nvd_published_at" : "2023-10-11T20:15:10Z"
  }
}