Vulnerabilities in pkg:pypi/aleksis-core
PACKAGECVE-2022-29773 is a MODERATE (CVSS 6.5) access control issue vulnerability (CWE-863: Incorrect Authorization) affecting Aleksis core libraries in the PyPI ecosystem. The issue involves access control issue in aleksis-core. Remediation is available by upgrading affected packages to version 2.9.
pkg:pypi/aleksis-core
Vulnerability advisories affecting package pkg:pypi/aleksis-core. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-76x2-h8h3-cwjg | CVE-2022-29773 | MODERATE | Access control issue in AlekSIS-Core |
CVE-2022-29773 at a Glance
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).
How to Fix CVE-2022-29773
To remediate this vulnerability, upgrade all affected Aleksis core 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 aleksis-core>=2.9
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show aleksis-core
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2022-29773, inspect your installed packages using pip:
pip show aleksis-core
Analyze the terminal output to locate any version of Aleksis core in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.9), your application is affected.
Note: The pip show aleksis-core 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 Aleksis core, 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-2022-29773 Affected Aleksis core Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
aleksis-core
|
PyPI |
< 2.9
|
2.9
|
References
Frequently Asked Questions
What is CVE-2022-29773?
Which Aleksis core versions are affected?
What version fixes CVE-2022-29773?
Is aleksis-core affected?
What is the CVSS score of CVE-2022-29773?
What CWE is associated with CVE-2022-29773?
How can I check PyPI dependencies for CVE-2022-29773?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-76x2-h8h3-cwjg",
"modified" : "2022-06-15T19:43:51Z",
"published" : "2022-06-04T00:00:25Z",
"aliases" : [ "CVE-2022-29773" ],
"summary" : "Access control issue in AlekSIS-Core",
"details" : "An access control issue in aleksis/core/util/auth_helpers.py: ClientProtectedResourceMixin of AlekSIS-Core v2.8.1 and below allows attackers to access arbitrary scopes if no allowed scopes are specifically set.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "aleksis-core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.9"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2022-29773"
}, {
"type" : "WEB",
"url" : "https://aleksis.org/2022-05-04_advisory.html"
}, {
"type" : "PACKAGE",
"url" : "https://edugit.org/AlekSIS/official/AlekSIS-Core"
}, {
"type" : "WEB",
"url" : "https://edugit.org/AlekSIS/official/AlekSIS-Core/-/commit/0d39d5f566e1d916e3c8dedd3f5bd62161f30bd8"
}, {
"type" : "WEB",
"url" : "https://edugit.org/AlekSIS/official/AlekSIS-Core/-/issues/688"
}, {
"type" : "WEB",
"url" : "https://edugit.org/AlekSIS/official/AlekSIS-Core/-/merge_requests/1011"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-863" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2022-06-06T21:20:39Z",
"nvd_published_at" : "2022-06-03T21:15:00Z"
}
}