CVE-2019-8320
ruby2.3 - security update
7.4
HIGH
CVSS 3.1
EPSS 4.2%
描述
A Directory Traversal issue was discovered in RubyGems 2.7.6 and later through 3.0.2. Before making new directories or touching files (which now include path-checking code for symlinks), it would delete the target destination. If that destination was hidden behind a symlink, a malicious gem could delete arbitrary files on the user's machine, presuming the attacker could guess at paths. Given how frequently gem is run as sudo, and how predictable paths are on modern systems (/tmp, /usr, etc.), this could likely lead to data loss or an unusable system.
如何修補 CVE-2019-8320
要修補 CVE-2019-8320,請將受影響套件升級到下列已修補版本。
- —升級至 2.4.6-r0 或更新版本
- —升級至 9.1.17.0-3 或更新版本
- —升級至 2.1.5-2+deb8u7 或更新版本
- —升級至 2.3.3-1+deb9u6 或更新版本
- —升級至 3.2.0~rc.1-1 或更新版本
- —升級至 2.7.9 或更新版本
CVE-2019-8320 正在被利用嗎?
低 — EPSS 為 4.2%,目前沒有觀察到大規模利用活動。
受影響套件(6)
- from 0, < 2.4.6-r0
- from 0, < 9.1.17.0-3
- from 0, < 2.1.5-2+deb8u7
- from 0, < 2.3.3-1+deb9u6
- from 0, < 3.2.0~rc.1-1
- >= 2.7.6, < 2.7.9
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.4 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H |