9.8
CRITICAL
CVE-2017-5946
Rubyzip Zip::File Directory Traversal Vulnerability
Description

The Zip::File component in the rubyzip gem before 1.2.1 for Ruby has a directory traversal vulnerability. If a site allows uploading of .zip files, an attacker can upload a malicious file that uses "../" pathname substrings to write arbitrary files to the filesystem.

INFO

Published Date :

Feb. 27, 2017, 7:59 a.m.

Last Modified :

May 14, 2020, 12:47 p.m.

Remotely Exploitable :

Yes !

Impact Score :

5.9

Exploitability Score :

3.9
Public PoC/Exploit Available at Github

CVE-2017-5946 has a 1 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2017-5946 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Debian debian_linux
1 Rubyzip_project rubyzip
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2017-5946.

URL Resource
http://www.debian.org/security/2017/dsa-3801 Third Party Advisory
http://www.securityfocus.com/bid/96445 Third Party Advisory VDB Entry
https://github.com/rubyzip/rubyzip/issues/315 Third Party Advisory
https://github.com/rubyzip/rubyzip/releases Third Party Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Check Ruby projects for dependencies with known security problems

Ruby

Updated: 3 years, 3 months ago
0 stars 0 fork 0 watcher
Born at : Aug. 7, 2018, 9:54 a.m. This repo has been linked 6 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2017-5946 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2017-5946 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Modified Analysis by [email protected]

    May. 14, 2020

    Action Type Old Value New Value
    Removed CVSS V3 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type http://www.debian.org/security/2017/dsa-3801 No Types Assigned http://www.debian.org/security/2017/dsa-3801 Third Party Advisory
    Changed Reference Type http://www.securityfocus.com/bid/96445 No Types Assigned http://www.securityfocus.com/bid/96445 Third Party Advisory, VDB Entry
    Changed Reference Type https://github.com/rubyzip/rubyzip/issues/315 No Types Assigned https://github.com/rubyzip/rubyzip/issues/315 Third Party Advisory
    Changed Reference Type https://github.com/rubyzip/rubyzip/releases No Types Assigned https://github.com/rubyzip/rubyzip/releases Third Party Advisory
    Changed CPE Configuration OR *cpe:2.3:a:rubyzip:rubyzip:*:*:*:*:*:*:*:* versions up to (including) 1.2.0 OR *cpe:2.3:a:rubyzip_project:rubyzip:*:*:*:*:*:ruby:*:* versions up to (excluding) 1.2.1
    Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* *cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Nov. 04, 2017

    Action Type Old Value New Value
    Added Reference http://www.debian.org/security/2017/dsa-3801 [No Types Assigned]
  • Initial Analysis by [email protected]

    Mar. 02, 2017

    Action Type Old Value New Value
    Added CVSS V2 (AV:N/AC:L/Au:N/C:P/I:P/A:P)
    Added CVSS V3 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    Added CWE CWE-22
    Added CPE Configuration OR *cpe:2.3:a:rubyzip:rubyzip:1.2.0:*:*:*:*:*:*:* (and previous)
  • CVE Modified by [email protected]

    Mar. 02, 2017

    Action Type Old Value New Value
    Added Reference http://www.securityfocus.com/bid/96445 [No Types Assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2017-5946 is associated with the following CWEs:

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.43 }} 0.00%

score

0.70391

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability