CVE-2019-18978
ruby-rack-cors - security update
5.3
MEDIUM
CVSS 3.1
EPSS 2.5%
Description
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.
How to fix CVE-2019-18978
To remediate CVE-2019-18978, upgrade the affected package to a fixed version below.
- Debian/ruby-rack-cors—upgrade to 1.1.1-1 or later
- —upgrade to 0.2.9-1+deb8u1 or later
- —upgrade to 0.4.0-1+deb9u2 or later
- —upgrade to 1.0.2-1+deb10u1 or later
- —upgrade to 1.0.4 or later
Is CVE-2019-18978 being exploited?
Low — EPSS is 2.5%, meaning exploitation activity has not been observed at scale.
Affected packages (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 scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| 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 |