CVE-2019-18978

MEDIUM5.3EPSS 0.78%

The rack-cors rubygem may allow directory traveral

Published: 11/15/2019Modified: 4/28/2026
Also known as:GHSA-pf8f-w267-mq2hDEBIAN-CVE-2019-18978

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.

Affected packages (5)

CVSS scores

SourceVersionSeverityVector
osvCVSS 3.1MEDIUM5.3CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

References (9)