{
  "schema_version": "1.4.0",
  "id": "GHSA-j2h2-g882-x9j2",
  "modified": "2023-02-16T23:33:54Z",
  "published": "2023-02-08T21:30:18Z",
  "aliases": [
    "CVE-2022-45982"
  ],
  "summary": "Deserialization of Untrusted Data in thinkphp",
  "details": "thinkphp 6.0.0~6.0.13 and 6.1.0~6.1.1 contains a deserialization vulnerability. This vulnerability allows attackers to execute arbitrary code via a crafted payload.",
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
    }
  ],
  "affected": [
    {
      "package": {
        "ecosystem": "Packagist",
        "name": "topthink/think"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "6.1.1"
            }
          ]
        }
      ]
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-45982"
    },
    {
      "type": "WEB",
      "url": "https://gist.github.com/Dar1in9s/aa87df679057db3bbdade360d77f8cca"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/top-think/think"
    }
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-502"
    ],
    "severity": "CRITICAL",
    "github_reviewed": true,
    "github_reviewed_at": "2023-02-16T23:33:54Z",
    "nvd_published_at": "2023-02-08T21:15:00Z"
  }
}