6.5med

CVE-2017-6200

Sandstorm before build 0.203 allows remote attackers to read any specified file under /etc or /run via the sandbox backup function.

Published 8 y ago · modified 4 mo ago · JSON

CVSS
6.5
v3.0 · NVD
CISA KEV
No
not known exploited
EPSS
2.3%
percentile 83%
Public exploits
0
none known

Summary

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.

Exploit prediction (EPSS)

2.31% probability of exploitation in the next 30 days, higher than 83% of all scored CVEs.

CVSS scores

Assigned byVersionScoreVector
NVD3.06.5CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
NVD2.04.0AV:N/AC:L/Au:S/C:P/I:N/A:N

Classification

Weakness
  • CWE-200 Exposure of Sensitive Information to an Unauthorized Actor

References

  • github.com /sandstorm-io/sandstorm/commit/4ea8df7403381d9b657b121b3c98d8081b27414d · x_refsource_CONFIRM, x_transferred
  • github.com /sandstorm-io/sandstorm/commit/6e8572ea8bb56d0216bb1b410e5040edc051b120 · x_refsource_CONFIRM, x_transferred
  • github.com /sandstorm-io/sandstorm/blob/v0.202/src/sandstorm/backup.c%2B%2B#L271 · x_refsource_MISC, x_transferred
  • sandstorm.io /news/2017-03-02-security-review · x_refsource_CONFIRM, x_transferred
  • devco.re /blog/2018/01/26/Sandstorm-Security-Review-CVE-2017-6200-en/ · x_refsource_MISC, x_transferred

Sources

vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.