{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "fixed": "0.203"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "de824e86b13e1acc2129b80911520de6068ba2ea"
            },
            {
              "fixed": "4ea8df7403381d9b657b121b3c98d8081b27414d"
            },
            {
              "fixed": "6e8572ea8bb56d0216bb1b410e5040edc051b120"
            }
          ],
          "repo": "https://github.com/sandstorm-io/sandstorm",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "Sandstorm before build 0.203 allows remote attackers to read any specified file under /etc or /run via the sandbox backup function. The root cause is that the findFilesToZip function doesn't filter Line Feed (\\n) characters in a directory name.",
  "id": "CVE-2017-6200",
  "modified": "2026-04-01T23:08:56.281308730Z",
  "published": "2018-02-06T16:29:00.790Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://sandstorm.io/news/2017-03-02-security-review"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/sandstorm-io/sandstorm/blob/v0.202/src/sandstorm/backup.c%2B%2B#L271"
    },
    {
      "type": "FIX",
      "url": "https://github.com/sandstorm-io/sandstorm/commit/6e8572ea8bb56d0216bb1b410e5040edc051b120"
    },
    {
      "type": "FIX",
      "url": "https://github.com/sandstorm-io/sandstorm/commit/4ea8df7403381d9b657b121b3c98d8081b27414d"
    },
    {
      "type": "EVIDENCE",
      "url": "https://devco.re/blog/2018/01/26/Sandstorm-Security-Review-CVE-2017-6200-en/"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N",
      "type": "CVSS_V3"
    }
  ]
}