CVE-2017-1000221: Opencast kernel Opencast Has Incorrect Permission Assignment Vulnerability

MODERATE
Advisory Identifier: GHSA-hx44-c87v-p6xg
CVSS 6.5
CWE-732
Published
Advisory Summary

CVE-2017-1000221 is a MODERATE (CVSS 6.5) opencast has incorrect permission assignment vulnerability (CWE-732: Incorrect Permission Assignment for Critical Resource) affecting Opencast kernel libraries in the Maven ecosystem. The issue involves opencast has incorrect permission assignment. Remediation is available by upgrading affected packages to version 2.2.4.

CVE-2017-1000221 at a Glance

CVE Identifier CVE-2017-1000221
GHSA Identifier GHSA-hx44-c87v-p6xg
Severity MODERATE
CVSS v3.1 Base Score 6.5
CWE Classification CWE-732: Incorrect Permission Assignment for Critical Resource
Affected Product Opencast kernel
Package Ecosystem Maven
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.0/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-2017-1000221

To remediate this vulnerability, upgrade all affected Opencast kernel 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.opencastproject:opencast-kernel fixed: 2.2.4
<dependency>
    <groupId>org.opencastproject</groupId>
    <artifactId>opencast-kernel</artifactId>
    <version>2.2.4</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.opencastproject

How to Check if You Are Affected

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

mvn dependency:tree -Dincludes=org.opencastproject

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

Note: The mvn dependency:tree -Dincludes=org.opencastproject 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-732: Incorrect Permission Assignment for Critical Resource, where the product specifies permissions for a security-critical resource in a way that allows that resource to be read or modified by unintended actors. In Opencast kernel, 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

In Opencast 2.2.3 and older if user names overlap, the Opencast search service used for publication to the media modules and players will handle the access control incorrectly so that users only need to match part of the user name used for the access restriction. For example, a user with the role ROLE_USER will have access to recordings published only for ROLE_USER_X.

CVE-2017-1000221 Affected Opencast kernel Versions

1 component(s)
Fixed Versions:
2.2.4
Product / Package Ecosystem Affected Versions Fixed Version
org.opencastproject:opencast-kernel
Maven
< 2.2.4
2.2.4

References

Frequently Asked Questions

What is CVE-2017-1000221?
CVE-2017-1000221 is a security vulnerability in Opencast kernel involving Opencast has Incorrect Permission Assignment under CWE-732: Incorrect Permission Assignment for Critical Resource.
Which Opencast kernel versions are affected?
Affected versions include releases prior to 2.2.4 across affected packages: org.opencastproject:opencast-kernel.
What version fixes CVE-2017-1000221?
Upgrading to 2.2.4 (or the latest patched release for your respective branch) resolves the vulnerability.
Is opencast-kernel affected?
Yes, org.opencastproject:opencast-kernel is affected in releases prior to 2.2.4. Upgrade your dependency to 2.2.4 or later.
What is the CVSS score of CVE-2017-1000221?
CVE-2017-1000221 has a CVSS v3.1 base score of 6.5 (MODERATE) with vector string CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N.
What CWE is associated with CVE-2017-1000221?
CVE-2017-1000221 is classified under CWE-732: Incorrect Permission Assignment for Critical Resource (The product specifies permissions for a security-critical resource in a way that allows that resource to be read or modified by unintended actors.).
How can I check Maven dependencies for CVE-2017-1000221?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.opencastproject'. 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-hx44-c87v-p6xg",
  "modified" : "2022-11-08T21:57:59Z",
  "published" : "2022-05-13T01:40:59Z",
  "aliases" : [ "CVE-2017-1000221" ],
  "summary" : "Opencast has Incorrect Permission Assignment",
  "details" : "In Opencast 2.2.3 and older if user names overlap, the Opencast search service used for publication to the media modules and players will handle the access control incorrectly so that users only need to match part of the user name used for the access restriction. For example, a user with the role ROLE_USER will have access to recordings published only for ROLE_USER_X.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.opencastproject:opencast-kernel"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "2.2.4"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2017-1000221"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/opencast/opencast/commit/f1abcaf998a469a2081461e0e3b4211927849439"
  }, {
    "type" : "WEB",
    "url" : "https://opencast.jira.com/browse/MH-11862"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-732" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2022-11-08T21:57:59Z",
    "nvd_published_at" : "2017-11-17T22:29:00Z"
  }
}