{
  "id": "CVE-2025-20621",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-20621",
  "published_at": "2025-01-16T18:16:28.042Z",
  "title": "Webapp crash via object that can't be cast to String in Attachment Field",
  "vendor": "Mattermost",
  "product": "Mattermost",
  "cvss": {
    "score": 7.5,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "Mattermost versions 10.2.x \u003c= 10.2.0, 9.11.x \u003c= 9.11.5, 10.0.x \u003c= 10.0.3, 10.1.x \u003c= 10.1.3 fail to properly handle posts with attachments containing fields that cannot be cast to a String, which allows an attacker to cause the webapp to crash via creating and sending such a post to a channel.",
  "cwe": "CWE-1287",
  "cpes": [
    "cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:*",
    "cpe:2.3:a:mattermost:mattermost_server:10.2.0:-:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 6.5,
    "nvd": 7.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Mattermost",
        "product": "Mattermost",
        "ranges": [
          "\u003e= 10.2.0, \u003c= 10.2.0",
          "\u003e= 9.11.0, \u003c= 9.11.5",
          "\u003e= 10.0.0, \u003c= 10.0.3",
          "\u003e= 10.1.0, \u003c= 10.1.3"
        ],
        "fixed_in": [
          "10.3.0",
          "2.23.0",
          "10.2.1",
          "9.11.6",
          "10.0.4",
          "10.1.4"
        ]
      }
    ],
    "solutions": [
      "Update Mattermost to versions 10.3.0, 2.23.0, 10.2.1, 9.11.6, 10.0.4, 10.1.4 or higher."
    ],
    "upgrade": [
      "Upgrade Mattermost to 10.3.0 or 2.23.0 or 10.2.1 or 9.11.6 or 10.0.4 or 10.1.4 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
