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.test.osv.dev/v1/vulns/UBUNTU-CVE-2019-18978
Related
Published
2019-11-14T21:15:00Z
Modified
2024-10-15T14:07:05Z
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
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?arch=src?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

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

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

Package

Name
ruby-rack-cors
Purl
pkg:deb/ubuntu/ruby-rack-cors?arch=src?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

{
    "ubuntu_priority": "medium"
}

Ubuntu:20.04:LTS / ruby-rack-cors

Package

Name
ruby-rack-cors
Purl
pkg:deb/ubuntu/ruby-rack-cors?arch=src?distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.1.1-1

Affected versions

1.*

1.0.2-1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "1.1.1-1",
            "binary_name": "ruby-rack-cors"
        }
    ]
}

Ubuntu:22.04:LTS / ruby-rack-cors

Package

Name
ruby-rack-cors
Purl
pkg:deb/ubuntu/ruby-rack-cors?arch=src?distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.1.1-1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "1.1.1-1",
            "binary_name": "ruby-rack-cors"
        }
    ]
}

Ubuntu:24.04:LTS / ruby-rack-cors

Package

Name
ruby-rack-cors
Purl
pkg:deb/ubuntu/ruby-rack-cors?arch=src?distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.1.1-1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "1.1.1-1",
            "binary_name": "ruby-rack-cors"
        }
    ]
}