{
  "schema_version": "1.4.0",
  "id": "GHSA-4v5m-vwvp-p7w8",
  "modified": "2022-09-22T22:45:45Z",
  "published": "2022-09-21T00:00:39Z",
  "aliases": [
    "CVE-2022-38916"
  ],
  "summary": "Pagekit vulnerable to Unrestricted Upload of File with Dangerous Type",
  "details": "A file upload vulnerability exists in the storage feature of pagekit 1.0.18, which allows an attacker to upload malicious files",
  "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": "pagekit/pagekit"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "1.0.18"
            }
          ]
        }
      ]
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-38916"
    },
    {
      "type": "WEB",
      "url": "https://github.com/pagekit/pagekit/issues/970"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/pagekit/pagekit"
    }
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-434"
    ],
    "severity": "CRITICAL",
    "github_reviewed": true,
    "github_reviewed_at": "2022-09-22T22:45:45Z",
    "nvd_published_at": "2022-09-20T17:15:00Z"
  }
}