Medium severity · published Nov 14, 2019
CVE-2019-18978
An issue was discovered in the rack-cors (aka Rack CORS Middleware) gem before 1.0.4 for Ruby
5.3
CVSS
2.5%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
Low
Integrity
None
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)2.5% · higher than 84% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
DL
Debian Linux · Debian
8.0; 9.0; 10.0 · source: NVD
RA
Rack-cors · Rack-cors Project
before 1.0.4 · source: NVD
UL
Ubuntu Linux · Canonical
16.04 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2019-18978
CVE.org
https://www.cve.org/CVERecord?id=CVE-2019-18978
Patch
https://github.com/cyu/rack-cors/commit/e4d4fc362a4315808927011cbe5afcfe5486f17d
Patch
https://github.com/cyu/rack-cors/compare/v1.0.3...v1.0.4
Mailing List
https://lists.debian.org/debian-lts-announce/2020/02/msg00004.html
Mailing List
https://lists.debian.org/debian-lts-announce/2020/10/msg00000.html
Third Party Advisory
https://usn.ubuntu.com/4571-1/
Third Party Advisory
https://www.debian.org/security/2021/dsa-4918
More from Ubuntu Linux
9.8
CVE-2020-11651
SaltStack Salt Authentication Bypass Vulnerability
9.8
CVE-2020-7247
OpenSMTPD Remote Code Execution Vulnerability
9.8
CVE-2019-11043
Underflow in PHP-FPM can lead to RCE
9.8
CVE-2019-16928
Exim Out-of-bounds Write Vulnerability
9.8
CVE-2019-10149
Exim Mail Transfer Agent (MTA) Improper Input Validation
