CVE-2022-41965: Opencast common Authenticated OpenRedirect Vulnerability Vulnerability

MODERATE
Advisory Identifier: GHSA-r3qr-vwvg-43f7
CVSS 6.1
CWE-601
Published
Advisory Summary

CVE-2022-41965 is a MODERATE (CVSS 6.1) authenticated openredirect vulnerability vulnerability (CWE-601: URL Redirection to Untrusted Site ('Open Redirect')) affecting Opencast common libraries in the Maven ecosystem. The issue involves authenticated openredirect vulnerability. Remediation is available by upgrading affected packages to version 12.5.

CVE-2022-41965 at a Glance

CVE Identifier CVE-2022-41965
GHSA Identifier GHSA-r3qr-vwvg-43f7
Severity MODERATE
CVSS v3.1 Base Score 6.1
CWE Classification CWE-601: URL Redirection to Untrusted Site ('Open Redirect')
Affected Product Opencast common
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 6.1

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:R/S:C/C:L/I:L/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction Required (UI:R)
Scope Changed (S:C)
Confidentiality Low (C:L)
Integrity Low (I:L)
Availability None (A:N)

How to Fix CVE-2022-41965

To remediate this vulnerability, upgrade all affected Opencast common 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-common fixed: 12.5
<dependency>
    <groupId>org.opencastproject</groupId>
    <artifactId>opencast-common</artifactId>
    <version>12.5</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-2022-41965, 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 common in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 12.5), 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-601: URL Redirection to Untrusted Site ('Open Redirect'), where the web application accepts a user-controlled input that specifies a link to an external site, and uses that link in a redirect. In Opencast common, 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

**Description** Prior to Opencast 12.5 Opencast's Paella authentication page could be used to redirect to an arbitrary URL for authenticated users. **Impact** The vulnerability allows attackers to redirect users to sites outside of your Opencast install, potentially facilitating phishing attacks or other security issues. **Patches** This issue is fixed in Opencast 12.5 and newer **References** [Patch fixing the issue](https://github.com/opencast/opencast/commit/d2ce2321590f86b066a67e8c231cf68219aea017) **If you have any questions or comments about this advisory**: Open an issue in [our issue tracker](https://github.com/opencast/opencast/issues) Email us at [security@opencast.org](mailto:security@opencast.org)

CVE-2022-41965 Affected Opencast common Versions

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

References

Frequently Asked Questions

What is CVE-2022-41965?
CVE-2022-41965 is a security vulnerability in Opencast common involving Authenticated OpenRedirect Vulnerability under CWE-601: URL Redirection to Untrusted Site ('Open Redirect').
Which Opencast common versions are affected?
Affected versions include releases prior to 12.5 across affected packages: org.opencastproject:opencast-common.
What version fixes CVE-2022-41965?
Upgrading to 12.5 (or the latest patched release for your respective branch) resolves the vulnerability.
Is opencast-common affected?
Yes, org.opencastproject:opencast-common is affected in releases prior to 12.5. Upgrade your dependency to 12.5 or later.
What is the CVSS score of CVE-2022-41965?
CVE-2022-41965 has a CVSS v3.1 base score of 6.1 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.
What CWE is associated with CVE-2022-41965?
CVE-2022-41965 is classified under CWE-601: URL Redirection to Untrusted Site ('Open Redirect') (The web application accepts a user-controlled input that specifies a link to an external site, and uses that link in a redirect.).
How can I check Maven dependencies for CVE-2022-41965?
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-r3qr-vwvg-43f7",
  "modified" : "2022-12-03T04:10:07Z",
  "published" : "2022-11-30T21:22:23Z",
  "aliases" : [ "CVE-2022-41965" ],
  "summary" : "Authenticated OpenRedirect Vulnerability",
  "details" : "**Description**\nPrior to Opencast 12.5 Opencast's Paella authentication page could be used to redirect to an arbitrary URL for authenticated users.\n\n**Impact**\nThe vulnerability allows attackers to redirect users to sites outside of your Opencast install, potentially facilitating phishing attacks or other security issues.\n\n**Patches**\nThis issue is fixed in Opencast 12.5 and newer\n\n**References**\n[Patch fixing the issue](https://github.com/opencast/opencast/commit/d2ce2321590f86b066a67e8c231cf68219aea017)\n\n**If you have any questions or comments about this advisory**:\nOpen an issue in [our issue tracker](https://github.com/opencast/opencast/issues)\nEmail us at [security@opencast.org](mailto:security@opencast.org)",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.opencastproject:opencast-common"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "12.5"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/opencast/opencast/security/advisories/GHSA-r3qr-vwvg-43f7"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2022-41965"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/opencast/opencast/commit/d2ce2321590f86b066a67e8c231cf68219aea017"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/opencast/opencast"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-601" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2022-11-30T21:22:23Z",
    "nvd_published_at" : "2022-11-28T21:15:00Z"
  }
}