CVE-2019-18978

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:rack-cors_project:rack-cors:*:*:*:*:*:ruby:*:*

Configuration 2 (hide)

OR cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*

Configuration 3 (hide)

cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:esm:*:*:*

History

21 May 2021, 16:47

Type Values Removed Values Added
CPE cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:esm:*:*:*
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
References (MISC) https://github.com/cyu/rack-cors/compare/v1.0.3...v1.0.4 - Patch (MISC) https://github.com/cyu/rack-cors/compare/v1.0.3...v1.0.4 - Patch, Third Party Advisory
References (MLIST) https://lists.debian.org/debian-lts-announce/2020/10/msg00000.html - (MLIST) https://lists.debian.org/debian-lts-announce/2020/10/msg00000.html - Mailing List, Third Party Advisory
References (DEBIAN) https://www.debian.org/security/2021/dsa-4918 - (DEBIAN) https://www.debian.org/security/2021/dsa-4918 - Third Party Advisory
References (MLIST) https://lists.debian.org/debian-lts-announce/2020/02/msg00004.html - (MLIST) https://lists.debian.org/debian-lts-announce/2020/02/msg00004.html - Mailing List, Third Party Advisory
References (UBUNTU) https://usn.ubuntu.com/4571-1/ - (UBUNTU) https://usn.ubuntu.com/4571-1/ - Third Party Advisory
References (MISC) https://github.com/cyu/rack-cors/commit/e4d4fc362a4315808927011cbe5afcfe5486f17d - Patch (MISC) https://github.com/cyu/rack-cors/commit/e4d4fc362a4315808927011cbe5afcfe5486f17d - Patch, Third Party Advisory

Information

Published : 2019-11-14 21:15

Updated : 2024-02-04 20:39


NVD link : CVE-2019-18978

Mitre link : CVE-2019-18978

CVE.ORG link : CVE-2019-18978


JSON object : View

Products Affected

canonical

  • ubuntu_linux

rack-cors_project

  • rack-cors

debian

  • debian_linux
CWE
CWE-22

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')