GHSA-r67m-mf7v-qp7j

Suggest an improvement
Source
https://github.com/advisories/GHSA-r67m-mf7v-qp7j
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/11/GHSA-r67m-mf7v-qp7j/GHSA-r67m-mf7v-qp7j.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-r67m-mf7v-qp7j
Aliases
Published
2023-11-06T18:30:19Z
Modified
2023-11-27T21:26:53Z
Severity
  • 4.9 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
Mattermost password hash disclosure vulnerability
Details

Mattermost fails to properly sanitize the user object when updating the username, resulting in the password hash being included in the response body. 

Database specific
{
    "nvd_published_at": "2023-11-06T16:15:42Z",
    "cwe_ids": [
        "CWE-116",
        "CWE-200"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2023-11-08T14:58:02Z"
}
References

Affected packages

Go / github.com/mattermost/mattermost-server/v6

Package

Name
github.com/mattermost/mattermost-server/v6
View open source insights on deps.dev
Purl
pkg:golang/github.com/mattermost/mattermost-server/v6

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
7.8.12

Go / github.com/mattermost/mattermost/server/v8

Package

Name
github.com/mattermost/mattermost/server/v8
View open source insights on deps.dev
Purl
pkg:golang/github.com/mattermost/mattermost/server/v8

Affected ranges

Type
SEMVER
Events
Introduced
8.0.0
Fixed
8.0.4

Go / github.com/mattermost/mattermost/server/v8

Package

Name
github.com/mattermost/mattermost/server/v8
View open source insights on deps.dev
Purl
pkg:golang/github.com/mattermost/mattermost/server/v8

Affected ranges

Type
SEMVER
Events
Introduced
8.1.0
Fixed
8.1.3

Go / github.com/mattermost/mattermost/server/v8

Package

Name
github.com/mattermost/mattermost/server/v8
View open source insights on deps.dev
Purl
pkg:golang/github.com/mattermost/mattermost/server/v8

Affected ranges

Type
SEMVER
Events
Introduced
9.0.0
Fixed
9.0.1

Affected versions

9.*

9.0.0