CVE-2024-23319: Github.com/mattermost/mattermost plugin jira Mattermost Jira Plugin Vulnerable To Vulnerability

LOW
Advisory Identifier: GHSA-4fp6-574p-fc35
CVSS 3.5
CWE-352
Published
Advisory Summary

CVE-2024-23319 is a LOW (CVSS 3.5) mattermost jira plugin vulnerable to vulnerability (CWE-352: Cross-Site Request Forgery (CSRF)) affecting Github.com/mattermost/mattermost plugin jira libraries in the Go ecosystem. The issue involves mattermost jira plugin vulnerable to cross-site request forgery. Remediation is available by upgrading affected packages to version 1.1.2-0.20230830170046-f4cf4c6de017.

CVE-2024-23319 at a Glance

CVE Identifier CVE-2024-23319
GHSA Identifier GHSA-4fp6-574p-fc35
Severity LOW
CVSS v3.1 Base Score 3.5
CWE Classification CWE-352: Cross-Site Request Forgery (CSRF)
Affected Product Github.com/mattermost/mattermost plugin jira
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 3.5

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

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

How to Fix CVE-2024-23319

To remediate this vulnerability, upgrade all affected Github.com/mattermost/mattermost plugin jira dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

github.com/mattermost/mattermost-plugin-jira fixed: 1.1.2-0.20230830170046-f4cf4c6de017
Upgrade github.com/mattermost/mattermost-plugin-jira to 1.1.2-0.20230830170046-f4cf4c6de017
Verify Direct and Transitive Dependencies

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

inspect dependencies for github.com/mattermost/mattermost-plugin-jira

How to Check if You Are Affected

To determine whether your application is affected by CVE-2024-23319, inspect your project dependencies for Github.com/mattermost/mattermost plugin jira:

inspect dependencies for github.com/mattermost/mattermost-plugin-jira

Analyze the terminal output to locate any version of Github.com/mattermost/mattermost plugin jira in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.1.2-0.20230830170046-f4cf4c6de017), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

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 Github.com/mattermost/mattermost plugin jira, 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

Mattermost Jira Plugin fails to protect against logout CSRF allowing an attacker to post a specially crafted message that would disconnect a user's Jira connection in Mattermost only by viewing the message.

CVE-2024-23319 Affected Github.com/mattermost/mattermost plugin jira Versions

1 component(s)
Fixed Versions:
1.1.2-0.20230830170046-f4cf4c6de017
Product / Package Ecosystem Affected Versions Fixed Version
github.com/mattermost/mattermost-plugin-jira
Go
< 1.1.2-0.20230830170046-f4cf4c6de017
1.1.2-0.20230830170046-f4cf4c6de017

References

Frequently Asked Questions

What is CVE-2024-23319?
CVE-2024-23319 is a security vulnerability in Github.com/mattermost/mattermost plugin jira involving Mattermost Jira Plugin vulnerable to Cross-Site Request Forgery under CWE-352: Cross-Site Request Forgery (CSRF).
Which Github.com/mattermost/mattermost plugin jira versions are affected?
Affected versions include releases prior to 1.1.2-0.20230830170046-f4cf4c6de017 across affected packages: github.com/mattermost/mattermost-plugin-jira.
What version fixes CVE-2024-23319?
Upgrading to 1.1.2-0.20230830170046-f4cf4c6de017 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/mattermost/mattermost-plugin-jira affected?
Yes, github.com/mattermost/mattermost-plugin-jira is affected in releases prior to 1.1.2-0.20230830170046-f4cf4c6de017. Upgrade your dependency to 1.1.2-0.20230830170046-f4cf4c6de017 or later.
What is the CVSS score of CVE-2024-23319?
CVE-2024-23319 has a CVSS v3.1 base score of 3.5 (LOW) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L.
What CWE is associated with CVE-2024-23319?
CVE-2024-23319 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 Go dependencies for CVE-2024-23319?
Run the dependency tree command: 'inspect dependencies for github.com/mattermost/mattermost-plugin-jira'. 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-4fp6-574p-fc35",
  "modified" : "2024-03-18T19:57:20Z",
  "published" : "2024-02-09T15:31:26Z",
  "aliases" : [ "CVE-2024-23319" ],
  "summary" : "Mattermost Jira Plugin vulnerable to Cross-Site Request Forgery",
  "details" : "Mattermost Jira Plugin fails to protect against logout CSRF allowing an attacker to post a specially crafted message that would disconnect a user's Jira connection in Mattermost only by viewing the message.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/mattermost/mattermost-plugin-jira"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.1.2-0.20230830170046-f4cf4c6de017"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-23319"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/mattermost/mattermost-plugin-jira/commit/f4cf4c6de017ef6aa4428d393b78f418dd84cd8e"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/mattermost/mattermost-plugin-jira"
  }, {
    "type" : "WEB",
    "url" : "https://mattermost.com/security-updates"
  }, {
    "type" : "WEB",
    "url" : "https://pkg.go.dev/vuln/GO-2024-2539"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-352" ],
    "severity" : "LOW",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-02-09T18:14:44Z",
    "nvd_published_at" : "2024-02-09T15:15:08Z"
  }
}