CVE-2020-7964: Saleor Missing Authentication For Critical Function Vulnerability
MODERATECVE-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
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).
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.
pip install saleor>=2.9.1
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
CVE-2020-7964 Affected Saleor Versions
1 component(s)| 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?
Which Saleor versions are affected?
What version fixes CVE-2020-7964?
Is saleor affected?
What is the CVSS score of CVE-2020-7964?
What CWE is associated with CVE-2020-7964?
How can I check PyPI dependencies for CVE-2020-7964?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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"
}
}