Vulnerabilities in pkg:maven/org.rundeck/rundeck

PACKAGE
Advisory Identifier: GHSA-phmw-jx86-x666
Advisory Summary

CVE-2023-48222 is a HIGH (CVSS 8.1) authenticated rundeck users can view vulnerability (CWE-862: Missing Authorization) affecting Rundeck libraries in the Maven ecosystem. The issue involves authenticated rundeck users can view or delete jobs they do not have authorization for.. Remediation is available by upgrading affected packages to version 4.17.3.

4 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:maven/org.rundeck/rundeck

4 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:maven/org.rundeck/rundeck. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-phmw-jx86-x666 CVE-2023-48222 HIGH Authenticated Rundeck users can view or delete jobs they do not have authorization for.
GHSA-4262-wr7p-gpcj CVE-2019-6804 MODERATE Rundeck Community Edition vulnerable to Cross-site Scripting
GHSA-hprf-rrwq-jm5c CVE-2022-31044 HIGH Rundeck's Key Storage converter plugin mechanism's encryption layer not working in 4.2.0, 4.2.1, 4.3.0
GHSA-5679-7qrc-5m7j CVE-2020-11009 MODERATE IDOR can reveal execution data and logs to unauthorized user in Rundeck

CVE-2023-48222 at a Glance

CVE Identifier CVE-2023-48222
GHSA Identifier GHSA-phmw-jx86-x666
Severity HIGH
CVSS v3.1 Base Score 8.1
CWE Classification CWE-862: Missing Authorization
Affected Product Rundeck
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 8.1

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

How to Fix CVE-2023-48222

To remediate this vulnerability, upgrade all affected Rundeck 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.rundeck:rundeck fixed: 4.17.3
<dependency>
    <groupId>org.rundeck</groupId>
    <artifactId>rundeck</artifactId>
    <version>4.17.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.rundeck

How to Check if You Are Affected

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

mvn dependency:tree -Dincludes=org.rundeck

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

Note: The mvn dependency:tree -Dincludes=org.rundeck 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-862: Missing Authorization, where the product does not perform an authorization check when an actor attempts to access a resource or perform an action. In Rundeck, 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

Access to two URLs used in both Rundeck Open Source and Process Automation products could allow authenticated users to access the URL path, which would allow access to view or delete jobs, without the necessary authorization checks. The affected URLs are: - `http[s]://[host]/context/rdJob/*` - `http[s]://[host]/context/api/*/incubator/jobs` ### Impact Rundeck, Process Automation version 4.12.0 up to 4.16.0 ### Patches Patched versions: 4.17.3 ### Workarounds Access to two URLs used in either Rundeck Open Source or Process Automation products could be blocked at a load balancer level. - `http[s]://host/context/rdJob/*` - `http[s]://host/context/api/*/incubator/jobs` ### For more information If you have any questions or comments about this advisory: * Open an issue in [our forums](https://community.pagerduty.com/forum/c/process-automation) * Enterprise Customers can open a [Support ticket](https://support.rundeck.com)

CVE-2023-48222 Affected Rundeck Versions

1 component(s)
Fixed Versions:
4.17.3
Product / Package Ecosystem Affected Versions Fixed Version
org.rundeck:rundeck
Maven
≥ 4.12.0
< 4.17.3
4.17.3

References

Frequently Asked Questions

What is CVE-2023-48222?
CVE-2023-48222 is a security vulnerability in Rundeck involving Authenticated Rundeck users can view or delete jobs they do not have authorization for. under CWE-862: Missing Authorization.
Which Rundeck versions are affected?
Affected versions include releases prior to 4.17.3 across affected packages: org.rundeck:rundeck.
What version fixes CVE-2023-48222?
Upgrading to 4.17.3 (or the latest patched release for your respective branch) resolves the vulnerability.
Is rundeck affected?
Yes, org.rundeck:rundeck is affected in releases prior to 4.17.3. Upgrade your dependency to 4.17.3 or later.
What is the CVSS score of CVE-2023-48222?
CVE-2023-48222 has a CVSS v3.1 base score of 8.1 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N.
What CWE is associated with CVE-2023-48222?
CVE-2023-48222 is classified under CWE-862: Missing Authorization (The product does not perform an authorization check when an actor attempts to access a resource or perform an action.).
How can I check Maven dependencies for CVE-2023-48222?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.rundeck'. 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-phmw-jx86-x666",
  "modified" : "2023-11-17T22:04:57Z",
  "published" : "2023-11-16T20:48:46Z",
  "aliases" : [ "CVE-2023-48222" ],
  "summary" : "Authenticated Rundeck users can view or delete jobs they do not have authorization for.",
  "details" : "Access to two URLs used in both Rundeck Open Source and Process Automation products could allow authenticated users to access the URL path, which would allow access to view or delete jobs, without the necessary authorization checks.\n\nThe affected URLs are:\n- `http[s]://[host]/context/rdJob/*` \n- `http[s]://[host]/context/api/*/incubator/jobs`\n\n### Impact\n\nRundeck, Process Automation version 4.12.0 up to 4.16.0\n\n### Patches\n\nPatched versions: 4.17.3\n\n### Workarounds\n\nAccess to two URLs used in either Rundeck Open Source or Process Automation products could be blocked at a load balancer level.\n- `http[s]://host/context/rdJob/*` \n- `http[s]://host/context/api/*/incubator/jobs`\n\n### For more information\n\nIf you have any questions or comments about this advisory:\n* Open an issue in [our forums](https://community.pagerduty.com/forum/c/process-automation)\n* Enterprise Customers can open a [Support ticket](https://support.rundeck.com)\n\n",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.rundeck:rundeck"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.12.0"
      }, {
        "fixed" : "4.17.3"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/rundeck/rundeck/security/advisories/GHSA-phmw-jx86-x666"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-48222"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/rundeck/rundeck"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-862" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-11-16T20:48:46Z",
    "nvd_published_at" : "2023-11-16T22:15:28Z"
  }
}