CVE-2019-18978
ruby-rack-cors - security update
5.3
MEDIUM
CVSS 3.1
EPSS 2.5%
描述
An issue was discovered in the rack-cors (aka Rack CORS Middleware) gem before 1.0.4 for Ruby. It allows ../ directory traversal to access private resources because resource matching does not ensure that pathnames are in a canonical format.
如何修補 CVE-2019-18978
要修補 CVE-2019-18978,請將受影響套件升級到下列已修補版本。
- Debian/ruby-rack-cors—升級至 1.1.1-1 或更新版本
- —升級至 0.2.9-1+deb8u1 或更新版本
- —升級至 0.4.0-1+deb9u2 或更新版本
- —升級至 1.0.2-1+deb10u1 或更新版本
- —升級至 1.0.4 或更新版本
CVE-2019-18978 正在被利用嗎?
低 — EPSS 為 2.5%,目前沒有觀察到大規模利用活動。
受影響套件(5)
- from 0, < 1.1.1-1
- from 0, < 0.2.9-1+deb8u1
- from 0, < 0.4.0-1+deb9u2
- from 0, < 1.0.2-1+deb10u1
- from 0, < 1.0.4
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |