Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-37861

Mattermost 6.0.2 and earlier fails to sufficiently sanitize user's password in audit logs when user creation fails.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-37861
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 06:30 UTC · Revision 1

Source evidence

CVE-2021-37861

core-osv · Original source

Published 9 Dec 2021, 22:15 UTC

Mattermost 6.0.2 and earlier fails to sufficiently sanitize user's password in audit logs when user creation fails.

osv:CVE-2021-37861
Complete source record
{
  "id": "aea1e0c1d75786f4062126c95cc7c96d31cf318a2d84f396b04b281d89719bac",
  "url": "https://osv.dev/vulnerability/CVE-2021-37861",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-37861",
    "summary": "Mattermost 6.0.2 and earlier fails to sufficiently sanitize user's password in audit logs when user creation fails.",
    "evidence": "osv:CVE-2021-37861",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2021-37861",
      "aliases": [
        "CVE-2021-37861"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/mattermost/mattermost",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "0077fb2b04feeb5425dced76b633393b8a4ea2d0"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:mattermost:mattermost:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "6.0.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v6.0.2",
            "v6.0.1",
            "v6.0.0",
            "cloud-2021-08-12-1",
            "cloud-2021-07-29-1",
            "cloud-2021-07-15-1",
            "cloud-2021-07-01-1",
            "cloud-2021-06-16-1",
            "cloud-2021-06-02-1",
            "cloud-2021-05-21-1",
            "cloud-2021-05-05-1",
            "cloud-2021-04-22-1",
            "cloud-2021-03-23-1",
            "cloud-2021-03-12-1",
            "cloud-2021-02-25-1",
            "cloud-2021-02-24",
            "cloud-2021-02-10",
            "cloud-2021-01-26",
            "cloud-2021-01-12",
            "cloud-2020-12-18",
            "cloud-2020-12-08",
            "cloud-2020-11-24",
            "v5.2.0-rc2",
            "v5.2.0-rc1",
            "v5.1.0-rc1",
            "v5.0.0-rc1",
            "v4.10.0-rc1",
            "v4.9.0-rc1",
            "v4.8.0-rc1",
            "v4.7.0-rc1",
            "v4.6.0-rc2",
            "v4.6.0-rc1",
            "v4.5.0-rc1",
            "v4.4.0-rc1",
            "v4.3.0-rc1",
            "v4.2.0-rc1",
            "v0.5.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-37861.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:40.467034186Z",
      "provider": "osv",
      "references": [
        "https://mattermost.com/security-updates/"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2021-37861",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 434924,
  "published_at": "2021-12-09T22:15:07.673+00:00"
}