UBUNTU-CVE-2019-18978

Source
https://ubuntu.com/security/CVE-2019-18978
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-18978.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2019-18978
Upstream
Downstream
Related
Published
2019-11-14T21:15:00Z
Modified
2025-09-08T16:45:40Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

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.

References

Affected packages

Ubuntu:16.04:LTS / ruby-rack-cors

Package

Name
ruby-rack-cors
Purl
pkg:deb/ubuntu/ruby-rack-cors@0.4.0-1+deb9u2build0.16.04.1?arch=source&distro=xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.4.0-1+deb9u2build0.16.04.1

Affected versions

0.*

0.4.0-1
0.4.0-1+deb9u1build0.16.04.1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "ruby-rack-cors",
            "binary_version": "0.4.0-1+deb9u2build0.16.04.1"
        }
    ],
    "availability": "No subscription required"
}

Ubuntu:Pro:18.04:LTS / ruby-rack-cors

Package

Name
ruby-rack-cors
Purl
pkg:deb/ubuntu/ruby-rack-cors@1.0.1-2?arch=source&distro=esm-apps/bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*

0.4.1-1

1.*

1.0.1-2

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "ruby-rack-cors",
            "binary_version": "1.0.1-2"
        }
    ]
}