{
  "schema_version": "1.4.0",
  "id": "GHSA-6fmm-47qc-p4m4",
  "modified": "2023-09-07T21:41:55Z",
  "published": "2019-06-13T16:12:26Z",
  "aliases": [
    "CVE-2019-5438"
  ],
  "summary": "Unauthorized File Access in harp",
  "details": "All versions of `harp` are vulnerable to Unauthorized File Access. If a symlink in the project's base directory points to a file outside of the directory, the file is served. This could allow an attacker to access sensitive files on the server.\n\n\n## Recommendation\n\nNo fix is currently available. Consider using an alternative module until a fix is made available.",
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
    }
  ],
  "affected": [
    {
      "package": {
        "ecosystem": "npm",
        "name": "harp"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "0.40.3"
            }
          ]
        }
      ]
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2019-5438"
    },
    {
      "type": "WEB",
      "url": "https://hackerone.com/reports/530289"
    },
    {
      "type": "WEB",
      "url": "https://www.npmjs.com/advisories/816"
    }
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-22"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2019-06-13T16:10:29Z",
    "nvd_published_at": null
  }
}