Directory Traversal Vulnerability in Rack CORS Middleware for Ruby
CVE-2019-18978

5.3MEDIUM

Key Information:

Status
Vendor
CVE Published:
14 November 2019

What is CVE-2019-18978?

A vulnerability exists in the Rack CORS Middleware gem for Ruby, prior to version 1.0.4, that permits unauthorized directory traversal attacks. This flaw arises from insufficient validation of pathname formats, allowing attackers to access sensitive resources by manipulating URL paths. The vulnerability emphasizes the importance of ensuring that file paths are canonicalized before processing, to mitigate risks associated with unauthorized access to private resources.

References

CVSS V3.1

Score:
5.3
Severity:
MEDIUM
Confidentiality:
Low
Integrity:
None
Availability:
Low
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.
CVE-2019-18978 : Directory Traversal Vulnerability in Rack CORS Middleware for Ruby