{ "CVE_data_meta": { "ASSIGNER": "cve@mitre.org", "ID": "CVE-2019-18978", "STATE": "PUBLIC" }, "affects": { "vendor": { "vendor_data": [ { "product": { "product_data": [ { "product_name": "n/a", "version": { "version_data": [ { "version_value": "n/a" } ] } } ] }, "vendor_name": "n/a" } ] } }, "data_format": "MITRE", "data_type": "CVE", "data_version": "4.0", "description": { "description_data": [ { "lang": "eng", "value": "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." } ] }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "eng", "value": "n/a" } ] } ] }, "references": { "reference_data": [ { "url": "https://github.com/cyu/rack-cors/commit/e4d4fc362a4315808927011cbe5afcfe5486f17d", "refsource": "MISC", "name": "https://github.com/cyu/rack-cors/commit/e4d4fc362a4315808927011cbe5afcfe5486f17d" }, { "url": "https://github.com/cyu/rack-cors/compare/v1.0.3...v1.0.4", "refsource": "MISC", "name": "https://github.com/cyu/rack-cors/compare/v1.0.3...v1.0.4" }, { "refsource": "MLIST", "name": "[debian-lts-announce] 20200206 [SECURITY] [DLA 2096-1] ruby-rack-cors security update", "url": "https://lists.debian.org/debian-lts-announce/2020/02/msg00004.html" }, { "refsource": "MLIST", "name": "[debian-lts-announce] 20201001 [SECURITY] [DLA 2389-1] ruby-rack-cors security update", "url": "https://lists.debian.org/debian-lts-announce/2020/10/msg00000.html" }, { "refsource": "UBUNTU", "name": "USN-4571-1", "url": "https://usn.ubuntu.com/4571-1/" }, { "refsource": "DEBIAN", "name": "DSA-4918", "url": "https://www.debian.org/security/2021/dsa-4918" } ] } }