CVE-2020-7964: Saleor Missing Authentication For Critical Function Vulnerability

MODERATE
Advisory Identifier: GHSA-rgcm-rpq9-9cgr
CVSS 5.3
CWE-306
Published
Advisory Summary

CVE-2020-7964 is a MODERATE (CVSS 5.3) missing authentication for critical function vulnerability (CWE-306: Missing Authentication for Critical Function) affecting Saleor libraries in the PyPI ecosystem. The issue involves missing authentication for critical function in saleor. Remediation is available by upgrading affected packages to version 2.9.1.

CVE-2020-7964 at a Glance

CVE Identifier CVE-2020-7964
GHSA Identifier GHSA-rgcm-rpq9-9cgr
Severity MODERATE
CVSS v3.1 Base Score 5.3
CWE Classification CWE-306: Missing Authentication for Critical Function
Affected Product Saleor
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 5.3

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

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

How to Fix CVE-2020-7964

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

saleor fixed: 2.9.1
pip install saleor>=2.9.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 saleor

How to Check if You Are Affected

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

pip show saleor

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

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

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-306: Missing Authentication for Critical Function, where the product does not perform any authentication for functionality that requires a provable user identity or consumes a significant amount of resources. In Saleor, 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

An issue was discovered in Mirumee Saleor 2.x before 2.9.1. Incorrect access control in the checkoutCustomerAttach mutations allows attackers to attach their checkouts to any user ID and consequently leak user data (e.g., name, address, and previous orders of any other customer).

CVE-2020-7964 Affected Saleor Versions

1 component(s)
Fixed Versions:
2.9.1
Product / Package Ecosystem Affected Versions Fixed Version
saleor
PyPI
≥ 2.0.0
< 2.9.1
2.9.1

References

Frequently Asked Questions

What is CVE-2020-7964?
CVE-2020-7964 is a security vulnerability in Saleor involving Missing Authentication for Critical Function in Saleor under CWE-306: Missing Authentication for Critical Function.
Which Saleor versions are affected?
Affected versions include releases prior to 2.9.1 across affected packages: saleor.
What version fixes CVE-2020-7964?
Upgrading to 2.9.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is saleor affected?
Yes, saleor is affected in releases prior to 2.9.1. Upgrade your dependency to 2.9.1 or later.
What is the CVSS score of CVE-2020-7964?
CVE-2020-7964 has a CVSS v3.1 base score of 5.3 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N.
What CWE is associated with CVE-2020-7964?
CVE-2020-7964 is classified under CWE-306: Missing Authentication for Critical Function (The product does not perform any authentication for functionality that requires a provable user identity or consumes a significant amount of resources.).
How can I check PyPI dependencies for CVE-2020-7964?
Run the dependency tree command: 'pip show saleor'. 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-rgcm-rpq9-9cgr",
  "modified" : "2021-07-27T15:13:34Z",
  "published" : "2021-07-28T17:57:09Z",
  "aliases" : [ "CVE-2020-7964" ],
  "summary" : "Missing Authentication for Critical Function in Saleor",
  "details" : "An issue was discovered in Mirumee Saleor 2.x before 2.9.1. Incorrect access control in the checkoutCustomerAttach mutations allows attackers to attach their checkouts to any user ID and consequently leak user data (e.g., name, address, and previous orders of any other customer).",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "saleor"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.0.0"
      }, {
        "fixed" : "2.9.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2020-7964"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/mirumee/saleor/commit/233b8890c60fa6d90daf99e4d90fea85867732c3"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/mirumee/saleor/releases/tag/2.9.1"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-306" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2021-07-27T15:13:34Z",
    "nvd_published_at" : "2020-01-24T20:15:00Z"
  }
}