Vulnerabilities in pkg:pypi/manila

PACKAGE
Advisory Identifier: GHSA-jx7v-gmqc-6xrj
Advisory Summary

CVE-2020-9543 is a HIGH (CVSS 8.3) openstack manila unprivileged users can vulnerability (CWE-276: Incorrect Default Permissions) affecting Manila libraries in the PyPI ecosystem. The issue involves openstack manila unprivileged users can retrieve, use and manipulate share networks. Remediation is available by upgrading affected packages to version 7.4.1, 8.1.1, 9.1.1.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:pypi/manila

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:pypi/manila. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-jx7v-gmqc-6xrj CVE-2020-9543 HIGH OpenStack Manila Unprivileged users can retrieve, use and manipulate share networks

CVE-2020-9543 at a Glance

CVE Identifier CVE-2020-9543
GHSA Identifier GHSA-jx7v-gmqc-6xrj
Severity HIGH
CVSS v3.1 Base Score 8.3
CWE Classification CWE-276: Incorrect Default Permissions
Affected Product Manila
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 8.3

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:H/A:L).

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 High (I:H)
Availability Low (A:L)

How to Fix CVE-2020-9543

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

manila fixed: 7.4.1
pip install manila>=7.4.1
manila fixed: 8.1.1
pip install manila>=8.1.1
manila fixed: 9.1.1
pip install manila>=9.1.1
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 manila

How to Check if You Are Affected

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

pip show manila

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

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

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-276: Incorrect Default Permissions, where during installation, installed file permissions are set to allow anyone to modify those files. In Manila, 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

OpenStack Manila <7.4.1, >=8.0.0 <8.1.1, and >=9.0.0 <9.1.1 allows attackers to view, update, delete, or share resources that do not belong to them, because of a context-free lookup of a UUID. Attackers may also create resources, such as shared file systems and groups of shares on such share networks.

CVE-2020-9543 Affected Manila Versions

3 component(s)
Fixed Versions:
7.4.18.1.19.1.1
Product / Package Ecosystem Affected Versions Fixed Version
manila
PyPI
< 7.4.1
7.4.1
manila
PyPI
≥ 8.0.0
< 8.1.1
8.1.1
manila
PyPI
≥ 9.0.0
< 9.1.1
9.1.1

References

Frequently Asked Questions

What is CVE-2020-9543?
CVE-2020-9543 is a security vulnerability in Manila involving OpenStack Manila Unprivileged users can retrieve, use and manipulate share networks under CWE-276: Incorrect Default Permissions.
Which Manila versions are affected?
Affected versions include releases prior to 7.4.1, 8.1.1, 9.1.1 across affected packages: manila.
What version fixes CVE-2020-9543?
Upgrading to 7.4.1, 8.1.1, 9.1.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is manila affected?
Yes, manila is affected in releases prior to 7.4.1, 8.1.1, 9.1.1. Upgrade your dependency to 7.4.1, 8.1.1, 9.1.1 or later.
What is the CVSS score of CVE-2020-9543?
CVE-2020-9543 has a CVSS v3.1 base score of 8.3 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L.
What CWE is associated with CVE-2020-9543?
CVE-2020-9543 is classified under CWE-276: Incorrect Default Permissions (During installation, installed file permissions are set to allow anyone to modify those files.).
How can I check PyPI dependencies for CVE-2020-9543?
Run the dependency tree command: 'pip show manila'. 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-jx7v-gmqc-6xrj",
  "modified" : "2024-09-30T16:53:20Z",
  "published" : "2022-05-24T17:11:21Z",
  "aliases" : [ "CVE-2020-9543" ],
  "summary" : "OpenStack Manila Unprivileged users can retrieve, use and manipulate share networks",
  "details" : "OpenStack Manila <7.4.1, >=8.0.0 <8.1.1, and >=9.0.0 <9.1.1 allows attackers to view, update, delete, or share resources that do not belong to them, because of a context-free lookup of a UUID. Attackers may also create resources, such as shared file systems and groups of shares on such share networks.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "manila"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "7.4.1"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "manila"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "8.0.0"
      }, {
        "fixed" : "8.1.1"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "manila"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "9.0.0"
      }, {
        "fixed" : "9.1.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2020-9543"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/openstack/manila/commit/947315f0903c823b0fdd9d99c60078814587272c"
  }, {
    "type" : "WEB",
    "url" : "https://bugs.launchpad.net/manila/+bug/1861485"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/openstack/manila"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/pypa/advisory-database/tree/main/vulns/manila/PYSEC-2020-63.yaml"
  }, {
    "type" : "WEB",
    "url" : "https://opendev.org/openstack/manila/commit/947315f0903c823b0fdd9d99c60078814587272c"
  }, {
    "type" : "WEB",
    "url" : "https://security.openstack.org/ossa/OSSA-2020-002.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2020/03/12/1"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-276" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-04-29T10:21:22Z",
    "nvd_published_at" : "2020-03-12T17:15:00Z"
  }
}