CVE-2024-47876: Sakai kernel impl SAK-50571 Sakai Kernel Users Created Vulnerability

HIGH
Advisory Identifier: GHSA-cx95-q6gx-w4qp
CVSS 0.0
CWE-285
Published
Advisory Summary

CVE-2024-47876 is a HIGH (CVSS 0.0) sak-50571 sakai kernel users created vulnerability (CWE-285: Improper Authorization) affecting Sakai kernel impl libraries in the Maven ecosystem. The issue involves sak-50571 sakai kernel users created with type roleview can login as a normal user. Remediation is available by upgrading affected packages to version 23.3.

CVE-2024-47876 at a Glance

CVE Identifier CVE-2024-47876
GHSA Identifier GHSA-cx95-q6gx-w4qp
Severity HIGH
CVSS v3.1 Base Score 0.0
CWE Classification CWE-285: Improper Authorization
Affected Product Sakai kernel impl
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 0.0

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:N/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 None (C:N)
Integrity None (I:N)
Availability None (A:N)

How to Fix CVE-2024-47876

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

org.sakaiproject.kernel:sakai-kernel-impl fixed: 23.3
<dependency>
    <groupId>org.sakaiproject.kernel</groupId>
    <artifactId>sakai-kernel-impl</artifactId>
    <version>23.3</version>
</dependency>
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

mvn dependency:tree -Dincludes=org.sakaiproject.kernel

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2024-47876, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree -Dincludes=org.sakaiproject.kernel

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

Note: The mvn dependency:tree -Dincludes=org.sakaiproject.kernel command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-285: Improper Authorization, where the product does not perform or incorrectly performs an authorization check when an actor attempts to access a resource or perform an action. In Sakai kernel impl, 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

### Impact Illegal access can be granted to the system. ### References see https://sakaiproject.atlassian.net/browse/SAK-50571

CVE-2024-47876 Affected Sakai kernel impl Versions

1 component(s)
Fixed Versions:
23.3
Product / Package Ecosystem Affected Versions Fixed Version
org.sakaiproject.kernel:sakai-kernel-impl
Maven
≥ 23.0
< 23.3
23.3

References

Frequently Asked Questions

What is CVE-2024-47876?
CVE-2024-47876 is a security vulnerability in Sakai kernel impl involving SAK-50571 Sakai Kernel users created with type roleview can login as a normal user under CWE-285: Improper Authorization.
Which Sakai kernel impl versions are affected?
Affected versions include releases prior to 23.3 across affected packages: org.sakaiproject.kernel:sakai-kernel-impl.
What version fixes CVE-2024-47876?
Upgrading to 23.3 (or the latest patched release for your respective branch) resolves the vulnerability.
Is sakai-kernel-impl affected?
Yes, org.sakaiproject.kernel:sakai-kernel-impl is affected in releases prior to 23.3. Upgrade your dependency to 23.3 or later.
What is the CVSS score of CVE-2024-47876?
CVE-2024-47876 has a CVSS v3.1 base score of 0.0 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N.
What CWE is associated with CVE-2024-47876?
CVE-2024-47876 is classified under CWE-285: Improper Authorization (The product does not perform or incorrectly performs an authorization check when an actor attempts to access a resource or perform an action.).
How can I check Maven dependencies for CVE-2024-47876?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.sakaiproject.kernel'. 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-cx95-q6gx-w4qp",
  "modified" : "2024-10-15T19:56:17Z",
  "published" : "2024-10-15T14:04:27Z",
  "aliases" : [ "CVE-2024-47876" ],
  "summary" : "SAK-50571 Sakai Kernel users created with type roleview can login as a normal user",
  "details" : "### Impact\nIllegal access can be granted to the system.\n\n### References\nsee https://sakaiproject.atlassian.net/browse/SAK-50571",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.sakaiproject.kernel:sakai-kernel-impl"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "23.0"
      }, {
        "fixed" : "23.3"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/sakaiproject/sakai/security/advisories/GHSA-cx95-q6gx-w4qp"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-47876"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/sakaiproject/sakai/commit/a9aadd9347cfb204515e89ac0163e1be9e56cc41"
  }, {
    "type" : "WEB",
    "url" : "https://central.sonatype.com/artifact/org.sakaiproject.kernel/sakai-kernel-impl"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/sakaiproject/sakai"
  }, {
    "type" : "WEB",
    "url" : "https://sakaiproject.atlassian.net/browse/SAK-50571"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-285" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-10-15T14:04:27Z",
    "nvd_published_at" : "2024-10-15T16:15:05Z"
  }
}