CVE-2024-4182 json
Mattermost crashes web clients via a malformed custom status
published 2024-04-26 2 y ago modified 2026-06-17 4 mo ago also GHSA-8f99-g2pj-x8w3 , GO-2024-2795 , EUVD-2024-1158
- cvss
- 4.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 46%
- public exploits
- 0
- none known
Summary
Mattermost versions 9.6.0, 9.5.x before 9.5.3, 9.4.x before 9.4.5, and 8.1.x before 8.1.12 fail to handle JSON parsing errors in custom status values, which allows an authenticated attacker to crash other users' web clients via a malformed custom status.
Patch / fix
- go github.com/mattermost/mattermost-server 8.1.12, 8.1.12+incompatible, 9.4.5, 9.4.5+incompatible, 9.5.3, 9.5.3+incompatible, 9.6.1, 9.6.1+incompatible
- Mattermost Mattermost 8.1.12, 9.4.5, 9.5.3, 9.6.1, 9.7.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-4182 updated cvss 4.3
mattermost: fail to handle JSON parsing errors in custom status values
-
Red Hat Advanced Cluster Management for Kubernetes 2 rhacm2/acm-grafana-rhel8 Red Hat Advanced Cluster Security 3 advanced-cluster-security/rhacs-docs-rhel8, advanced-cluster-security/rhacs-main-rhel8, advanced-cluster-security/rhacs-roxctl-rhel8, advanced-cluster-security/rhacs-scanner-rhel8, advanced-cluster-security/rhacs-rhel8-operator, advanced-cluster-security/rhacs-scanner-db-rhel8affected: no fix available “Fix deferred”
-
Red Hat OpenShift Container Platform 4 openshift4/ose-grafananot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.55% chance of exploitation in the next 30 days, higher than 46% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L |
| NVD | 3.1 | 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L |
| GitHub | 3.1 | 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/mattermost/mattermost-server | >=8.1.0, <8.1.12 >=9.4.0, <9.4.5 >=9.5.0, <9.5.3 >=9.6.0-rc1, <9.6.1 >=8.1.0+incompatible, <8.1.12+incompatible >=9.4.0+incompatible, <9.4.5+incompatible >=9.5.0+incompatible, <9.5.3+incompatible >=9.6.0-rc1+incompatible, <9.6.1+incompatible |
8.1.12 9.4.5 9.5.3 9.6.1 8.1.12+incompatible 9.4.5+incompatible 9.5.3+incompatible 9.6.1+incompatible |
Affected products
- Mattermost Mattermost
Classification
- Weakness
-
- CWE-754 Improper Check for Unusual or Exceptional Conditions
References
-
github.com
/mattermost/mattermost/commit/41333a0babf565453d89287549bec1e546e75ce7
web
-
github.com
/mattermost/mattermost/commit/6cbab0f7ece104681f73dd12c75d9f22d567125e
web
-
github.com
/mattermost/mattermost/commit/a99dadd80c57d376185ca06f8f70919a6f135bc6
web
-
github.com
/mattermost/mattermost/commit/f84f8ed65f6a5faba974426424b684635455a527
web
-
mattermost.com
/security-updates
web, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2024-4182
advisory
-
github.com
/mattermost/mattermost
package
-
github.com
/advisories/GHSA-8f99-g2pj-x8w3
advisory
Sources
- CVE List CVE-2024-4182
- GitHub Advisory GHSA-8f99-g2pj-x8w3
- NVD CVE-2024-4182
- OSV GO-2024-2795
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.