CVE-2019-18978 – rack-cors
Package
Manager: gem
Name: rack-cors
Vulnerable Version: >=0 <1.0.4
Severity
Level: Medium
CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
EPSS: 0.00723 pctl0.71685
Details
The rack-cors rubygem may allow directory traveral 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.
Metadata
Created: 2019-11-15T20:26:59Z
Modified: 2023-01-23T20:22:08Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/11/GHSA-pf8f-w267-mq2h/GHSA-pf8f-w267-mq2h.json
CWE IDs: ["CWE-22"]
Alternative ID: GHSA-pf8f-w267-mq2h
Finding: F063
Auto approve: 1