CVE-2021-44597: Duplicate Advisory Incorrect Authorization Vulnerability
CRITICALCVE-2021-44597 is a CRITICAL (CVSS 9.8) incorrect authorization vulnerability (CWE-863: Incorrect Authorization) affecting Duplicate Advisory libraries in the PyPI ecosystem. The issue involves incorrect authorization in gerapy. Remediation is available by upgrading affected packages to version 0.9.8.
CVE-2021-44597 at a Glance
Security Impact
CVSS: 9.8
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:H/I:H/A:H).
How to Fix CVE-2021-44597
To remediate this vulnerability, upgrade all affected Duplicate Advisory 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 gerapy>=0.9.8
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show gerapy
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2021-44597, inspect your installed packages using pip:
pip show gerapy
Analyze the terminal output to locate any version of Duplicate Advisory in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.9.8), your application is affected.
Note: The pip show gerapy command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-863: Incorrect Authorization, where the product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check. In Duplicate Advisory, 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-2021-44597 Affected Duplicate Advisory Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
gerapy
|
PyPI |
< 0.9.8
|
0.9.8
|
References
Frequently Asked Questions
What is CVE-2021-44597?
Which Duplicate Advisory versions are affected?
What version fixes CVE-2021-44597?
Is gerapy affected?
What is the CVSS score of CVE-2021-44597?
What CWE is associated with CVE-2021-44597?
How can I check PyPI dependencies for CVE-2021-44597?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-29vr-79w7-p649",
"modified" : "2023-07-31T20:36:31Z",
"published" : "2022-03-11T00:02:00Z",
"withdrawn" : "2023-07-31T20:36:31Z",
"aliases" : [ "CVE-2021-44597" ],
"summary" : "Duplicate Advisory: Incorrect Authorization in Gerapy",
"details" : "## Duplicate Advisory\nThis advisory has been withdrawn because it is a duplicate of GHSA-9w7f-m4j4-j3xw. This link is maintained to preserve external references.\n\n## Original Description\nAn Access Control vunerabiity exists in Gerapy v 0.9.7 via the spider parameter in project_configure function.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "gerapy"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.9.8"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2021-44597"
}, {
"type" : "WEB",
"url" : "https://github.com/Gerapy/Gerapy/issues/219"
}, {
"type" : "WEB",
"url" : "https://github.com/Gerapy/Gerapy/commit/49bcb19be5e0320e7e1535f34fe00f16a3cf3b28"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/Gerapy/Gerapy"
}, {
"type" : "WEB",
"url" : "https://github.com/Gerapy/Gerapy/releases/tag/v0.9.8"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/gerapy/PYSEC-2022-228.yaml"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-863" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2022-03-28T14:23:45Z",
"nvd_published_at" : "2022-03-10T21:15:00Z"
}
}