{
  "schema_version": "1.4.0",
  "id": "GHSA-4vhw-4rw7-jfpv",
  "modified": "2023-02-09T14:23:48Z",
  "published": "2021-08-25T20:49:02Z",
  "aliases": [
    "CVE-2020-35883"
  ],
  "summary": "Path traversal in mozwire",
  "details": "An issue was discovered in the mozwire crate through 2020-08-18 for Rust. A ../ directory-traversal situation allows overwriting local files that have .conf at the end of the filename.",
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H"
    }
  ],
  "affected": [
    {
      "package": {
        "ecosystem": "crates.io",
        "name": "mozwire"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "0.5.0"
            }
          ]
        }
      ]
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2020-35883"
    },
    {
      "type": "WEB",
      "url": "https://github.com/NilsIrl/MozWire/issues/14"
    },
    {
      "type": "WEB",
      "url": "https://github.com/NilsIrl/MozWire/pull/17/commits/dd0639bf2876773b66382f47285f7db701f628d9"
    },
    {
      "type": "WEB",
      "url": "https://github.com/NilsIrl/MozWire"
    },
    {
      "type": "WEB",
      "url": "https://rustsec.org/advisories/RUSTSEC-2020-0030.html"
    }
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-22"
    ],
    "severity": "CRITICAL",
    "github_reviewed": true,
    "github_reviewed_at": "2021-08-19T20:56:07Z",
    "nvd_published_at": "2020-12-31T10:15:00Z"
  }
}