CVE-2019-18978

Source
https://nvd.nist.gov/vuln/detail/CVE-2019-18978
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2019-18978.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2019-18978
Aliases
Related
Published
2019-11-14T21:15:12Z
Modified
2024-10-12T04:40:20.402913Z
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

Debian:11 / ruby-rack-cors

Package

Name
ruby-rack-cors
Purl
pkg:deb/debian/ruby-rack-cors?arch=source

Affected ranges

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

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / ruby-rack-cors

Package

Name
ruby-rack-cors
Purl
pkg:deb/debian/ruby-rack-cors?arch=source

Affected ranges

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

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / ruby-rack-cors

Package

Name
ruby-rack-cors
Purl
pkg:deb/debian/ruby-rack-cors?arch=source

Affected ranges

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

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Git / github.com/cyu/rack-cors

Affected ranges

Type
GIT
Repo
https://github.com/cyu/rack-cors
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

v0.*

v0.1.0
v0.1.1
v0.2.0
v0.2.2
v0.2.3
v0.2.4
v0.2.5
v0.2.6
v0.2.7
v0.2.8
v0.2.9
v0.3.0
v0.3.1
v0.4.0
v0.4.1

v1.*

v1.0.0
v1.0.1
v1.0.2
v1.0.3