{"containers":{"cna":{"affected":[{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}],"descriptions":[{"lang":"en","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."}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2021-05-18T23:06:12.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","shortName":"mitre"},"references":[{"tags":["x_refsource_MISC"],"url":"https://github.com/cyu/rack-cors/commit/e4d4fc362a4315808927011cbe5afcfe5486f17d"},{"tags":["x_refsource_MISC"],"url":"https://github.com/cyu/rack-cors/compare/v1.0.3...v1.0.4"},{"name":"[debian-lts-announce] 20200206 [SECURITY] [DLA 2096-1] ruby-rack-cors security update","tags":["mailing-list","x_refsource_MLIST"],"url":"https://lists.debian.org/debian-lts-announce/2020/02/msg00004.html"},{"name":"[debian-lts-announce] 20201001 [SECURITY] [DLA 2389-1] ruby-rack-cors security update","tags":["mailing-list","x_refsource_MLIST"],"url":"https://lists.debian.org/debian-lts-announce/2020/10/msg00000.html"},{"name":"USN-4571-1","tags":["vendor-advisory","x_refsource_UBUNTU"],"url":"https://usn.ubuntu.com/4571-1/"},{"name":"DSA-4918","tags":["vendor-advisory","x_refsource_DEBIAN"],"url":"https://www.debian.org/security/2021/dsa-4918"}],"x_legacyV4Record":{"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":[{"name":"https://github.com/cyu/rack-cors/commit/e4d4fc362a4315808927011cbe5afcfe5486f17d","refsource":"MISC","url":"https://github.com/cyu/rack-cors/commit/e4d4fc362a4315808927011cbe5afcfe5486f17d"},{"name":"https://github.com/cyu/rack-cors/compare/v1.0.3...v1.0.4","refsource":"MISC","url":"https://github.com/cyu/rack-cors/compare/v1.0.3...v1.0.4"},{"name":"[debian-lts-announce] 20200206 [SECURITY] [DLA 2096-1] ruby-rack-cors security update","refsource":"MLIST","url":"https://lists.debian.org/debian-lts-announce/2020/02/msg00004.html"},{"name":"[debian-lts-announce] 20201001 [SECURITY] [DLA 2389-1] ruby-rack-cors security update","refsource":"MLIST","url":"https://lists.debian.org/debian-lts-announce/2020/10/msg00000.html"},{"name":"USN-4571-1","refsource":"UBUNTU","url":"https://usn.ubuntu.com/4571-1/"},{"name":"DSA-4918","refsource":"DEBIAN","url":"https://www.debian.org/security/2021/dsa-4918"}]}}},"adp":[{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-08-05T02:02:39.801Z"},"title":"CVE Program Container","references":[{"tags":["x_refsource_MISC","x_transferred"],"url":"https://github.com/cyu/rack-cors/commit/e4d4fc362a4315808927011cbe5afcfe5486f17d"},{"tags":["x_refsource_MISC","x_transferred"],"url":"https://github.com/cyu/rack-cors/compare/v1.0.3...v1.0.4"},{"name":"[debian-lts-announce] 20200206 [SECURITY] [DLA 2096-1] ruby-rack-cors security update","tags":["mailing-list","x_refsource_MLIST","x_transferred"],"url":"https://lists.debian.org/debian-lts-announce/2020/02/msg00004.html"},{"name":"[debian-lts-announce] 20201001 [SECURITY] [DLA 2389-1] ruby-rack-cors security update","tags":["mailing-list","x_refsource_MLIST","x_transferred"],"url":"https://lists.debian.org/debian-lts-announce/2020/10/msg00000.html"},{"name":"USN-4571-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"],"url":"https://usn.ubuntu.com/4571-1/"},{"name":"DSA-4918","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"],"url":"https://www.debian.org/security/2021/dsa-4918"}]}]},"cveMetadata":{"assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","assignerShortName":"mitre","cveId":"CVE-2019-18978","datePublished":"2019-11-14T20:21:24.000Z","dateReserved":"2019-11-14T00:00:00.000Z","dateUpdated":"2024-08-05T02:02:39.801Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"}