CVE-2023-5968 json
Password hash in response body after username update
published 2023-11-06 3 y ago modified 2026-06-17 4 mo ago also GHSA-r67m-mf7v-qp7j , EUVD-2023-3022
- cvss
- 4.9
- 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 49%
- public exploits
- 0
- none known
Summary
Mattermost fails to properly sanitize the user object when updating the username, resulting in the password hash being included in the response body.
Patch / fix
- go github.com/mattermost/mattermost-server/v6 5.3.2-0.20230825233148-f787fd63368a, 7.8.12
- go github.com/mattermost/mattermost/server/v8 8.0.0-20230825233148-f787fd63368a, 8.0.4, 8.1.3, 9.0.1
- go github.com/mattermost/mattermost-server/v5 5.3.2-0.20230825233148-f787fd63368a
- go github.com/mattermost/mattermost-server 5.3.2-0.20230825233148-f787fd63368a
- Mattermost Mattermost 7.8.12, 8.0.4, 8.1.3, 9.0.1
- github.com/mattermost/mattermost@698f4a9 commit
- github.com/mattermost/mattermost#24362 pull request
- github.com/mattermost/mattermost#24566 pull request
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.62% chance of exploitation in the next 30 days, higher than 49% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 4.9 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N |
| NVD | 3.1 | 4.9 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N |
| GitHub | 3.1 | 4.9 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/mattermost/mattermost-server/v6 | >=5.4.0-rc1, <7.8.12 <5.3.2-0.20230825233148-f787fd63368a |
7.8.12 5.3.2-0.20230825233148-f787fd63368a |
| go | github.com/mattermost/mattermost/server/v8 | >=8.0.0, <8.0.4 >=8.1.0, <8.1.3 >=9.0.0, <9.0.1 <8.0.0-20230825233148-f787fd63368a |
8.0.4 8.1.3 9.0.1 8.0.0-20230825233148-f787fd63368a |
| go | github.com/mattermost/mattermost-server/v5 | <5.3.2-0.20230825233148-f787fd63368a |
5.3.2-0.20230825233148-f787fd63368a |
| go | github.com/mattermost/mattermost-server | <5.3.2-0.20230825233148-f787fd63368a |
5.3.2-0.20230825233148-f787fd63368a |
Affected products
- Mattermost Mattermost
Classification
References
-
github.com
/mattermost/mattermost/pull/24362
web
-
github.com
/mattermost/mattermost/pull/24566
web
-
github.com
/mattermost/mattermost/commit/698f4a97da564e2c1f2bf1fbd01755cefa3b7881
web
-
mattermost.com
/security-updates
web, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2023-5968
advisory
-
github.com
/mattermost/mattermost
package
Sources
- CVE List CVE-2023-5968
- GitHub Advisory GHSA-r67m-mf7v-qp7j
- NVD CVE-2023-5968
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.