CVE-2024-23823: Vantage6 Vantage6's CORS Settings Overly Permissive Vulnerability

MODERATE
Advisory Identifier: GHSA-4946-85pr-fvxh
CVSS 4.2
CWE-942 CWE-863
Published
Advisory Summary

CVE-2024-23823 is a MODERATE (CVSS 4.2) vantage6's cors settings overly permissive vulnerability (CWE-942: Permissive Cross-domain Security Policy with Untrusted Domains) affecting Vantage6 libraries in the PyPI ecosystem. The issue involves vantage6's cors settings overly permissive. Remediation is available by upgrading affected packages to version 4.3.0.

CVE-2024-23823 at a Glance

CVE Identifier CVE-2024-23823
GHSA Identifier GHSA-4946-85pr-fvxh
Severity MODERATE
CVSS v3.1 Base Score 4.2
CWE Classification CWE-942: Permissive Cross-domain Security Policy with Untrusted Domains
Affected Product Vantage6
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 4.2

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

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

How to Fix CVE-2024-23823

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.3.0
pip install vantage6>=4.3.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-2024-23823, 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.3.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-942: Permissive Cross-domain Security Policy with Untrusted Domains, where the product uses a web-client protection mechanism such as a content security policy (csp) or cross-domain policy file, but the policy includes untrusted domains with which the web client is allowed to communicate. 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

### Impact The vantage6 server has no restrictions on CORS settings. It should be possible for people to set the allowed origins of the server. The impact is limited because v6 does not use session cookies ### Patches No ### Workarounds No

CVE-2024-23823 Affected Vantage6 Versions

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

References

Frequently Asked Questions

What is CVE-2024-23823?
CVE-2024-23823 is a security vulnerability in Vantage6 involving vantage6's CORS settings overly permissive under CWE-942: Permissive Cross-domain Security Policy with Untrusted Domains.
Which Vantage6 versions are affected?
Affected versions include releases prior to 4.3.0 across affected packages: vantage6.
What version fixes CVE-2024-23823?
Upgrading to 4.3.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.3.0. Upgrade your dependency to 4.3.0 or later.
What is the CVSS score of CVE-2024-23823?
CVE-2024-23823 has a CVSS v3.1 base score of 4.2 (MODERATE) with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N.
What CWE is associated with CVE-2024-23823?
CVE-2024-23823 is classified under CWE-942: Permissive Cross-domain Security Policy with Untrusted Domains (The product uses a web-client protection mechanism such as a Content Security Policy (CSP) or cross-domain policy file, but the policy includes untrusted domains with which the web client is allowed to communicate.).
How can I check PyPI dependencies for CVE-2024-23823?
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-4946-85pr-fvxh",
  "modified" : "2024-03-15T16:42:55Z",
  "published" : "2024-03-15T16:42:55Z",
  "aliases" : [ "CVE-2024-23823" ],
  "summary" : "vantage6's CORS settings overly permissive",
  "details" : "### Impact\nThe vantage6 server has no restrictions on CORS settings. It should be possible for people to set the allowed origins of the server. \n\nThe impact is limited because v6 does not use session cookies\n\n### Patches\nNo\n\n### Workarounds\nNo",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "vantage6"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "4.3.0"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 4.2.2"
    }
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/vantage6/vantage6/security/advisories/GHSA-4946-85pr-fvxh"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-23823"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/vantage6/vantage6/commit/70bb4e1d889230a841eb364d6c03accd7dd01a41"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/vantage6/vantage6"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-863", "CWE-942" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-03-15T16:42:55Z",
    "nvd_published_at" : "2024-03-14T19:15:49Z"
  }
}