Vulnerabilities in pkg:pypi/aleksis-core

PACKAGE
Advisory Identifier: GHSA-76x2-h8h3-cwjg
Advisory Summary

CVE-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.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:pypi/aleksis-core

1 Known Advisory Record(s)

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

CVE Identifier CVE-2022-29773
GHSA Identifier GHSA-76x2-h8h3-cwjg
Severity MODERATE
CVSS v3.1 Base Score 6.5
CWE Classification CWE-863: Incorrect Authorization
Affected Product Aleksis core
Package Ecosystem PyPI
Published Date
Last Updated

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).

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 None (I:N)
Availability None (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.

aleksis-core fixed: 2.9
pip install aleksis-core>=2.9
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 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

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.

CVE-2022-29773 Affected Aleksis core Versions

1 component(s)
Fixed Versions:
2.9
Product / Package Ecosystem Affected Versions Fixed Version
aleksis-core
PyPI
< 2.9
2.9

References

Frequently Asked Questions

What is CVE-2022-29773?
CVE-2022-29773 is a security vulnerability in Aleksis core involving Access control issue in AlekSIS-Core under CWE-863: Incorrect Authorization.
Which Aleksis core versions are affected?
Affected versions include releases prior to 2.9 across affected packages: aleksis-core.
What version fixes CVE-2022-29773?
Upgrading to 2.9 (or the latest patched release for your respective branch) resolves the vulnerability.
Is aleksis-core affected?
Yes, aleksis-core is affected in releases prior to 2.9. Upgrade your dependency to 2.9 or later.
What is the CVSS score of CVE-2022-29773?
CVE-2022-29773 has a CVSS v3.1 base score of 6.5 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N.
What CWE is associated with CVE-2022-29773?
CVE-2022-29773 is classified under CWE-863: Incorrect Authorization (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.).
How can I check PyPI dependencies for CVE-2022-29773?
Run the dependency tree command: 'pip show aleksis-core'. 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-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"
  }
}