CVE-2023-22738: Vantage6 Vantage6 Vulnerable To Improper Preservation Vulnerability

HIGH
Advisory Identifier: GHSA-vvjv-97j8-94xh
CVSS 6.5
CWE-281
Published
Advisory Summary

CVE-2023-22738 is a HIGH (CVSS 6.5) vantage6 vulnerable to improper preservation vulnerability (CWE-281: Improper Preservation of Permissions) affecting Vantage6 libraries in the PyPI ecosystem. The issue involves vantage6 vulnerable to improper preservation of permissions. Remediation is available by upgrading affected packages to version 3.8.0.

CVE-2023-22738 at a Glance

CVE Identifier CVE-2023-22738
GHSA Identifier GHSA-vvjv-97j8-94xh
Severity HIGH
CVSS v3.1 Base Score 6.5
CWE Classification CWE-281: Improper Preservation of Permissions
Affected Product Vantage6
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 6.5

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

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

How to Fix CVE-2023-22738

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: 3.8.0
pip install vantage6>=3.8.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-22738, 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 3.8.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-281: Improper Preservation of Permissions, where the product does not preserve permissions or incorrectly preserves permissions when copying, restoring, or sharing objects, which can cause them to have less restrictive permissions than intended. 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 Assigning existing users to a different organization is currently possible. It may lead to unintended access: if a user from organization A is accidentally assigned to organization B, they will retain their permissions and therefore might be able to access stuff they should not be allowed to access. ### Patches Update to 3.8.0 ### Workarounds None ### References None ### For more information If you have any questions or comments about this advisory: * Email us at [vantage6@iknl.nl](mailto:vantage6@iknl.nl)

CVE-2023-22738 Affected Vantage6 Versions

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

References

Frequently Asked Questions

What is CVE-2023-22738?
CVE-2023-22738 is a security vulnerability in Vantage6 involving vantage6 vulnerable to Improper Preservation of Permissions under CWE-281: Improper Preservation of Permissions.
Which Vantage6 versions are affected?
Affected versions include releases prior to 3.8.0 across affected packages: vantage6.
What version fixes CVE-2023-22738?
Upgrading to 3.8.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is vantage6 affected?
Yes, vantage6 is affected in releases prior to 3.8.0. Upgrade your dependency to 3.8.0 or later.
What is the CVSS score of CVE-2023-22738?
CVE-2023-22738 has a CVSS v3.1 base score of 6.5 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N.
What CWE is associated with CVE-2023-22738?
CVE-2023-22738 is classified under CWE-281: Improper Preservation of Permissions (The product does not preserve permissions or incorrectly preserves permissions when copying, restoring, or sharing objects, which can cause them to have less restrictive permissions than intended.).
How can I check PyPI dependencies for CVE-2023-22738?
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-vvjv-97j8-94xh",
  "modified" : "2024-11-18T23:09:56Z",
  "published" : "2023-02-28T23:19:24Z",
  "aliases" : [ "CVE-2023-22738" ],
  "summary" : "vantage6 vulnerable to Improper Preservation of Permissions",
  "details" : "### Impact\nAssigning existing users to a different organization is currently possible. It may lead to unintended access: if a user from organization A is accidentally assigned to organization B, they will retain their permissions and therefore might be able to access stuff they should not be allowed to access.\n\n### Patches\nUpdate to 3.8.0\n\n### Workarounds\nNone\n\n### References\nNone\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Email us at [vantage6@iknl.nl](mailto:vantage6@iknl.nl)\n",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "vantage6"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "3.8.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/vantage6/vantage6/security/advisories/GHSA-vvjv-97j8-94xh"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-22738"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/vantage6/vantage6/commit/798aca1de142a4eca175ef51112e2235642f4f24"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/pypa/advisory-database/tree/main/vulns/vantage6/PYSEC-2023-53.yaml"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/vantage6/vantage6"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-281" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-02-28T23:19:24Z",
    "nvd_published_at" : "2023-03-01T21:15:00Z"
  }
}