cve.bz

CVE-2019-18978

5.3 mediumEPSS 2.5%

Medium (5.3). EPSS 2.5% chance of exploitation in the next 30 days. Fixed in rack-cors 1.0.4.

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.

Severity

CVSS 3.1

5.3 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
EPSS
2.5% chance of exploitation in the next 30 days; higher than 84% of CVEs (scores of 2026-10-31)
CWE
CWE-22
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-pf8f-w267-mq2hRubyGemsrack-cors<1.0.41.0.4

References

Check your stackJSON