{
  "schema_version": "1.4.0",
  "id": "GHSA-46hv-7769-j7rx",
  "modified": "2023-09-07T21:43:42Z",
  "published": "2019-06-13T16:12:22Z",
  "aliases": [
    "CVE-2019-5437"
  ],
  "summary": "Unauthorized File Access in harp",
  "details": "Affected versions of `harp` are vulnerable to Unauthorized File Access. The package states that it ignores files and directories with names that start with an underscore, such as `_secret-folder`. If the underscore character is URL encoded the server delivers the file.\n\n## Recommendation\n\nUpgrade to version `0.40.2` or later.",
  "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": "harp"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "0.40.2"
            }
          ]
        }
      ]
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2019-5437"
    },
    {
      "type": "WEB",
      "url": "https://github.com/sintaxi/harp/commit/1ec790baeeb2bfdb4584f1998af3d10a8fa31210"
    },
    {
      "type": "WEB",
      "url": "https://hackerone.com/reports/453820"
    },
    {
      "type": "WEB",
      "url": "https://www.npmjs.com/advisories/807"
    }
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-548"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2019-06-13T16:10:40Z",
    "nvd_published_at": null
  }
}