5.5med

CVE-2018-8008

ZipSlip in org.apache.storm:storm-core

Also known as GHSA-898j-5cc8-cmf5

Published 8 y ago · modified 4 mo ago · JSON

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

Summary

Apache Storm version 1.0.6 and earlier, 1.2.1 and earlier, and version 1.1.2 and earlier expose an arbitrary file write vulnerability, that can be achieved using a specially crafted zip archive (affects other archives as well, bzip2, tar, xz, war, cpio, 7z), that holds path traversal filenames. So when the filename gets concatenated to the target extraction directory, the final path ends up outside of the target folder.

Exploit prediction (EPSS)

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

CVSS scores

Assigned byVersionScoreVector
NVD3.05.5CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
NVD2.05.8AV:N/AC:M/Au:N/C:N/I:P/A:P
GitHub3.05.5CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N

Affected packages

EcosystemPackageAffectedFixed in
mavenorg.apache.storm:storm-core
>=1.1.0, <1.1.3
>=1.2.0, <1.2.2
<1.0.7
1.1.3
1.2.2
1.0.7

Affected products

  • Apache Software Foundation Apache Storm

Classification

Weakness
  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory

References

  • lists.apache.org /thread.html/613b2fca8bcd0a3b12c0b763ea8f7cf62e422e9f79fce6cfa5b08a58%40%3Cdev.storm.apach · x_refsource_CONFIRM, x_transferred
  • securityfocus.com /bid/104418 · vdb-entry, x_refsource_BID, x_transferred
  • nvd.nist.gov /vuln/detail/CVE-2018-8008 · advisory
  • github.com /apache/storm/commit/0fc6b522487c061f89e8cdacf09f722d3f20589 · web
  • github.com /apache/storm/commit/efad4cca2d7d461f5f8c08a0d7b51fabeb82d0a · web
  • github.com /apache/storm/commit/f61e5daf299d6c37c7ad65744d02556c94a16a4 · web
  • github.com /advisories/GHSA-898j-5cc8-cmf5 · advisory
  • issues.apache.org /jira/browse/STORM-3052 · web
  • lists.apache.org /thread.html/613b2fca8bcd0a3b12c0b763ea8f7cf62e422e9f79fce6cfa5b08a58@%3Cdev.storm.apache. · web

Sources

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