{
  "schema_version": "1.4.0",
  "id": "GHSA-2j5x-56p6-hj6x",
  "modified": "2023-09-12T19:30:43Z",
  "published": "2019-09-04T10:02:14Z",
  "aliases": [
    "CVE-2019-5480"
  ],
  "summary": "Path Traversal in statichttpserver",
  "details": "All versions of `statichttpserver` are vulnerable to Path Traversal. The package fails to sanitize URLs, allowing attackers to access server files outside of the served folder using relative paths.\n\n\n## Recommendation\n\nNo fix is currently available. Consider using an alternative package until a fix is made available.",
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
    }
  ],
  "affected": [
    {
      "package": {
        "ecosystem": "npm",
        "name": "statichttpserver"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "0.9.7"
            }
          ]
        }
      ]
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2019-5480"
    },
    {
      "type": "WEB",
      "url": "https://hackerone.com/reports/570035"
    },
    {
      "type": "WEB",
      "url": "https://www.npmjs.com/advisories/1143"
    }
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-22"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2019-09-04T09:51:22Z",
    "nvd_published_at": null
  }
}