CVE-2022-1332 json
Restricted custom admin role can bypass the restrictions and view the server logs and server config.json file contents
published 4y ago modified 4mo ago also BIT-mattermost-2022-1332 , EUVD-2022-1816 , GHSA-qggc-pj29-j27m , GO-2022-0616
- cvss
- 4.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.7%
- EPSS 0.7% chance of exploitation in 30 days, percentile 51%
- public exploits
- 0
- none known
Summary
One of the API in Mattermost version 6.4.1 and earlier fails to properly protect the permissions, which allows the authenticated members with restricted custom admin role to bypass the restrictions and view the server logs and server config.json file contents.
Patch / fix
- go github.com/mattermost/mattermost-server/v6 6.2.5, 6.3.5, 6.4.2
- go github.com/mattermost/mattermost-server/v5 5.37.9
- bitnami mattermost 5.37.9, 6.2.5, 6.3.5, 6.4.2
- Mattermost Mattermost 5.37.9, 6.2.5, 6.3.5, 6.4.2
Is CVE-2022-1332 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- last yr.
Exploit prediction
0.65% chance of exploitation in the next 30 days, higher than 51% of all scored CVEs (FIRST EPSS, 2026-11-09).
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:L/I:N/A:N |
| GitHub | 3.1 | 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
| NVD | 3.1 | 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
| NVD | 2.0 | 4.0 | AV:N/AC:L/Au:S/C:P/I:N/A:N |
| OSV | 3.1 | 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/mattermost/mattermost-server/v6 | >=6.4.0, <6.4.2 >=6.3.0, <6.3.5 >=6.0.0, <6.2.5 |
6.4.2 6.3.5 6.2.5 |
| go | github.com/mattermost/mattermost-server/v5 | <5.37.9 |
5.37.9 |
| bitnami | mattermost | >=5.37.0, <5.37.9 >=6.2.0, <6.2.5 >=6.3.0, <6.3.5 >=6.4.0, <6.4.2 |
5.37.9 6.2.5 6.3.5 6.4.2 |
| go | github.com/mattermost/mattermost-server | all versions |
no fix listed |
Affected products
- Mattermost Mattermost
Classification
References
-
mattermost.com
/security-updates/
vendor-advisory, web
-
nvd.nist.gov
/vuln/detail/CVE-2022-1332
advisory, web
-
github.com
/mattermost/mattermost-server
package
-
mattermost.com
/security-updates
web
-
github.com
/advisories/GHSA-qggc-pj29-j27m
advisory
Sources
- CVE List CVE-2022-1332
- GitHub Advisory GHSA-qggc-pj29-j27m
- NVD CVE-2022-1332
- OSV BIT-mattermost-2022-1332
- OSV GO-2022-0616
Fencer Intel 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.