vendor:
Ruby
by:
Kazuho Oku
7,5
CVSS
HIGH
Directory Traversal
22
CWE
Product Name: Ruby
Affected Version From: 2.0.3
Affected Version To: 2.0.3
Patch Exists: YES
Related CWE: CVE-2013-0334
CPE: 2.3:a:ruby:ruby
Other Scripts:
N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References:
N/A
Nuclei Metadata: N/A
Platforms Tested: None
2013
Name Field in Metadata.gz Vulnerability
An attacker can create an arbitrary file out of the directory of the gem, or even replace an existing file with a malicious file by assigning a maliciously crafted string like ../../../../../any/where to the field.
Mitigation:
Ensure that the name field in metadata.gz is properly sanitized and validated.