CVE-2024-24774: Github.com/mattermost/mattermost plugin jira Mattermost Jira Plugin Does Not Vulnerability

MODERATE
Advisory Identifier: GHSA-qr8f-cjw7-838m
CVSS 3.4
CWE-863
Published
Advisory Summary

CVE-2024-24774 is a MODERATE (CVSS 3.4) mattermost jira plugin does not vulnerability (CWE-863: Incorrect Authorization) affecting Github.com/mattermost/mattermost plugin jira libraries in the Go ecosystem. The issue involves mattermost jira plugin does not properly check security levels. Remediation is available by upgrading affected packages to version 4.0.0-rc1.

CVE-2024-24774 at a Glance

CVE Identifier CVE-2024-24774
GHSA Identifier GHSA-qr8f-cjw7-838m
Severity MODERATE
CVSS v3.1 Base Score 3.4
CWE Classification CWE-863: Incorrect Authorization
Affected Product Github.com/mattermost/mattermost plugin jira
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 3.4

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:N/A:N).

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

How to Fix CVE-2024-24774

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: 4.0.0-rc1
Upgrade github.com/mattermost/mattermost-plugin-jira to 4.0.0-rc1
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-24774, 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 4.0.0-rc1), 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-863: Incorrect Authorization, where the product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check. 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 handling subscriptions fails to check the security level of an incoming issue or limit it based on the user who created the subscription resulting in registered users on Jira being able to create webhooks that give them access to all Jira issues.

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

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

References

Frequently Asked Questions

What is CVE-2024-24774?
CVE-2024-24774 is a security vulnerability in Github.com/mattermost/mattermost plugin jira involving Mattermost Jira Plugin does not properly check security levels under CWE-863: Incorrect Authorization.
Which Github.com/mattermost/mattermost plugin jira versions are affected?
Affected versions include releases prior to 4.0.0-rc1 across affected packages: github.com/mattermost/mattermost-plugin-jira.
What version fixes CVE-2024-24774?
Upgrading to 4.0.0-rc1 (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 4.0.0-rc1. Upgrade your dependency to 4.0.0-rc1 or later.
What is the CVSS score of CVE-2024-24774?
CVE-2024-24774 has a CVSS v3.1 base score of 3.4 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:N/A:N.
What CWE is associated with CVE-2024-24774?
CVE-2024-24774 is classified under CWE-863: Incorrect Authorization (The product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check.).
How can I check Go dependencies for CVE-2024-24774?
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-qr8f-cjw7-838m",
  "modified" : "2024-11-18T16:26:36Z",
  "published" : "2024-02-09T15:31:27Z",
  "aliases" : [ "CVE-2024-24774" ],
  "summary" : "Mattermost Jira Plugin does not properly check security levels",
  "details" : "Mattermost Jira Plugin handling subscriptions fails to check the security level of an incoming issue or limit it based on the user who created the subscription resulting in registered users on Jira being able to create webhooks that give them access to all Jira issues.\n\n",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:N/A:N"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:P/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/mattermost/mattermost-plugin-jira"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "4.0.0-rc1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-24774"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/mattermost/mattermost-plugin-jira/commit/5f5e084d169bf6b82d5c46a7a7eb033e1a01c6de"
  }, {
    "type" : "WEB",
    "url" : "https://mattermost.com/security-updates"
  }, {
    "type" : "PACKAGE",
    "url" : "mattermost/mattermost-plugin-jira"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-863" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-02-09T18:18:58Z",
    "nvd_published_at" : "2024-02-09T15:15:08Z"
  }
}