CVE-2023-24437: Jira steps Cross-site Request Forgery Vulnerability Vulnerability

MODERATE
Advisory Identifier: GHSA-r3gm-jwf4-xgv2
CWE-352
Published
Advisory Summary

CVE-2023-24437 is a MODERATE cross-site request forgery vulnerability vulnerability (CWE-352: Cross-Site Request Forgery (CSRF)) affecting Jira steps libraries in the Maven ecosystem. The issue involves cross-site request forgery vulnerability in jenkins jira pipeline steps plugin. Remediation is available in the latest vendor maintenance releases.

CVE-2023-24437 at a Glance

CVE Identifier CVE-2023-24437
GHSA Identifier GHSA-r3gm-jwf4-xgv2
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-352: Cross-Site Request Forgery (CSRF)
Affected Product Jira steps
Package Ecosystem Maven
Published Date
Last Updated

How to Fix CVE-2023-24437

To remediate this vulnerability, upgrade all affected Jira steps 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.jenkins-ci.plugins:jira-steps fixed: Latest secure release
<dependency>
    <groupId>org.jenkins-ci.plugins</groupId>
    <artifactId>jira-steps</artifactId>
    <version>Latest secure release</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.jenkins-ci.plugins

How to Check if You Are Affected

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

mvn dependency:tree -Dincludes=org.jenkins-ci.plugins

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

Note: The mvn dependency:tree -Dincludes=org.jenkins-ci.plugins 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-352: Cross-Site Request Forgery (CSRF), where the web application does not, or cannot, sufficiently verify whether a request was intentionally provided by the user who sent the request, which could have originated from an unauthorized actor. In Jira steps, 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

A cross-site request forgery (CSRF) vulnerability in Jenkins JIRA Pipeline Steps Plugin 2.0.165.v8846cf59f3db and earlier allows attackers to connect to an attacker-specified URL using attacker-specified credentials IDs obtained through another method, capturing credentials stored in Jenkins.

CVE-2023-24437 Affected Jira steps Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
org.jenkins-ci.plugins:jira-steps
Maven
≤ 2.0.165.v8846cf59f3db

References

Frequently Asked Questions

What is CVE-2023-24437?
CVE-2023-24437 is a security vulnerability in Jira steps involving Cross-site request forgery vulnerability in Jenkins JIRA Pipeline Steps Plugin under CWE-352: Cross-Site Request Forgery (CSRF).
Which Jira steps versions are affected?
Affected versions include releases prior to current release patches across affected packages: org.jenkins-ci.plugins:jira-steps.
What version fixes CVE-2023-24437?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is jira-steps affected?
Yes, org.jenkins-ci.plugins:jira-steps is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What CWE is associated with CVE-2023-24437?
CVE-2023-24437 is classified under CWE-352: Cross-Site Request Forgery (CSRF) (The web application does not, or cannot, sufficiently verify whether a request was intentionally provided by the user who sent the request, which could have originated from an unauthorized actor.).
How can I check Maven dependencies for CVE-2023-24437?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.jenkins-ci.plugins'. 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-r3gm-jwf4-xgv2",
  "modified" : "2023-01-27T01:27:59Z",
  "published" : "2023-01-26T21:30:18Z",
  "aliases" : [ "CVE-2023-24437" ],
  "summary" : "Cross-site request forgery vulnerability in Jenkins JIRA Pipeline Steps Plugin",
  "details" : "A cross-site request forgery (CSRF) vulnerability in Jenkins JIRA Pipeline Steps Plugin 2.0.165.v8846cf59f3db and earlier allows attackers to connect to an attacker-specified URL using attacker-specified credentials IDs obtained through another method, capturing credentials stored in Jenkins.",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.jenkins-ci.plugins:jira-steps"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "2.0.165.v8846cf59f3db"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-24437"
  }, {
    "type" : "WEB",
    "url" : "https://www.jenkins.io/security/advisory/2023-01-24/#SECURITY-2786"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-352" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-01-27T01:27:59Z",
    "nvd_published_at" : "2023-01-26T21:18:00Z"
  }
}