5.3
MEDIUM
CVE-2019-18978
Apache Rack CORS Middleware Directory Traversal Vulnerability
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.

INFO

Published Date :

Nov. 14, 2019, 9:15 p.m.

Last Modified :

May 21, 2021, 4:47 p.m.

Remotely Exploitable :

Yes !

Impact Score :

1.4

Exploitability Score :

3.9
Affected Products

The following products are affected by CVE-2019-18978 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Canonical ubuntu_linux
1 Debian debian_linux
1 Rack-cors_project rack-cors
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2019-18978.

URL Resource
https://github.com/cyu/rack-cors/commit/e4d4fc362a4315808927011cbe5afcfe5486f17d Patch Third Party Advisory
https://github.com/cyu/rack-cors/compare/v1.0.3...v1.0.4 Patch Third Party Advisory
https://lists.debian.org/debian-lts-announce/2020/02/msg00004.html Mailing List Third Party Advisory
https://lists.debian.org/debian-lts-announce/2020/10/msg00000.html Mailing List Third Party Advisory
https://usn.ubuntu.com/4571-1/ Third Party Advisory
https://www.debian.org/security/2021/dsa-4918 Third Party Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2019-18978 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2019-18978 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Modified Analysis by [email protected]

    May. 21, 2021

    Action Type Old Value New Value
    Changed Reference Type https://github.com/cyu/rack-cors/commit/e4d4fc362a4315808927011cbe5afcfe5486f17d Patch https://github.com/cyu/rack-cors/commit/e4d4fc362a4315808927011cbe5afcfe5486f17d Patch, Third Party Advisory
    Changed Reference Type https://github.com/cyu/rack-cors/compare/v1.0.3...v1.0.4 Patch https://github.com/cyu/rack-cors/compare/v1.0.3...v1.0.4 Patch, Third Party Advisory
    Changed Reference Type https://lists.debian.org/debian-lts-announce/2020/02/msg00004.html No Types Assigned https://lists.debian.org/debian-lts-announce/2020/02/msg00004.html Mailing List, Third Party Advisory
    Changed Reference Type https://lists.debian.org/debian-lts-announce/2020/10/msg00000.html No Types Assigned https://lists.debian.org/debian-lts-announce/2020/10/msg00000.html Mailing List, Third Party Advisory
    Changed Reference Type https://usn.ubuntu.com/4571-1/ No Types Assigned https://usn.ubuntu.com/4571-1/ Third Party Advisory
    Changed Reference Type https://www.debian.org/security/2021/dsa-4918 No Types Assigned https://www.debian.org/security/2021/dsa-4918 Third Party Advisory
    Added CPE Configuration 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:*:*:*:*:*:*:*
    Added CPE Configuration OR *cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:esm:*:*:*
  • CVE Modified by [email protected]

    May. 19, 2021

    Action Type Old Value New Value
    Added Reference https://www.debian.org/security/2021/dsa-4918 [No Types Assigned]
  • CVE Modified by [email protected]

    Oct. 14, 2020

    Action Type Old Value New Value
    Added Reference https://usn.ubuntu.com/4571-1/ [No Types Assigned]
  • CVE Modified by [email protected]

    Oct. 01, 2020

    Action Type Old Value New Value
    Added Reference https://lists.debian.org/debian-lts-announce/2020/10/msg00000.html [No Types Assigned]
  • CVE Modified by [email protected]

    Feb. 06, 2020

    Action Type Old Value New Value
    Added Reference https://lists.debian.org/debian-lts-announce/2020/02/msg00004.html [No Types Assigned]
  • Initial Analysis by [email protected]

    Nov. 18, 2019

    Action Type Old Value New Value
    Added CVSS V2 NIST (AV:N/AC:L/Au:N/C:P/I:N/A:N)
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
    Changed Reference Type https://github.com/cyu/rack-cors/commit/e4d4fc362a4315808927011cbe5afcfe5486f17d No Types Assigned https://github.com/cyu/rack-cors/commit/e4d4fc362a4315808927011cbe5afcfe5486f17d Patch
    Changed Reference Type https://github.com/cyu/rack-cors/compare/v1.0.3...v1.0.4 No Types Assigned https://github.com/cyu/rack-cors/compare/v1.0.3...v1.0.4 Patch
    Added CWE NIST CWE-22
    Added CPE Configuration OR *cpe:2.3:a:rack-cors_project:rack-cors:*:*:*:*:*:ruby:*:* versions up to (excluding) 1.0.4
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2019-18978 is associated with the following CWEs:

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.44 }} 0.16%

score

0.75299

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability