Skip to content
Heist/ feed
Back to feed
Critical

rbenv — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2017-1000047

rbenv (all current versions) is vulnerable to Directory Traversal in the specification of Ruby version resulting in arbitrary code execution

Products
rbenv
Affected versions
0.4.0+debian1-3, 1.0.0-2, 1.1.1-1, 1.1.2-1, 1.1.2-2, 1.3.2-1
Fixed versions
Not specified
CVEs
CVE-2017-1000047
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 00:20 UTC · Revision 1

Source evidence

UBUNTU-CVE-2017-1000047

core-osv · Original source

Published 17 Jul 2017, 13:18 UTC

rbenv (all current versions) is vulnerable to Directory Traversal in the specification of Ruby version resulting in arbitrary code execution

osv:UBUNTU-CVE-2017-1000047

rbenv

Fixed versions: Not specified

rbenv

Fixed versions: Not specified

rbenv

Fixed versions: Not specified

rbenv

Fixed versions: Not specified

rbenv

Fixed versions: Not specified

rbenv

Fixed versions: Not specified

rbenv

Fixed versions: Not specified

rbenv

Fixed versions: Not specified

Complete source record
{
  "id": "81bcbc2abb22b8eefc8ff96a06fa4bf9651a93fd5f4b4dedf81de5adfa76965a",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2017-1000047",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2017-1000047",
    "summary": "rbenv (all current versions) is vulnerable to Directory Traversal in the specification of Ruby version resulting in arbitrary code execution",
    "evidence": "osv:UBUNTU-CVE-2017-1000047",
    "products": [
      {
        "name": {
          "value": "rbenv",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.4.0+debian1-3",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "rbenv",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.0.0-2",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "rbenv",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.1.1-1",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "rbenv",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.1.2-1",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "rbenv",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.1.2-1",
            "evidence": "/affected/4/versions"
          }
        ]
      },
      {
        "name": {
          "value": "rbenv",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.1.2-2",
            "evidence": "/affected/5/versions"
          }
        ]
      },
      {
        "name": {
          "value": "rbenv",
          "evidence": "/affected/6/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.3.2-1",
            "evidence": "/affected/6/versions"
          }
        ]
      },
      {
        "name": {
          "value": "rbenv",
          "evidence": "/affected/7/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.1.2-2",
            "evidence": "/affected/7/versions"
          },
          {
            "value": "1.3.2-1",
            "evidence": "/affected/7/versions"
          }
        ]
      }
    ],
    "severity": "critical",
    "structured": {
      "id": "UBUNTU-CVE-2017-1000047",
      "aliases": [
        "UBUNTU-CVE-2017-1000047"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        },
        {
          "type": "Ubuntu",
          "score": "low"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "rbenv",
            "purl": "pkg:deb/ubuntu/rbenv?arch=source&distro=xenial",
            "ecosystem": "Ubuntu:16.04:LTS"
          },
          "versions": [
            "0.4.0+debian1-3"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-1000047.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "rbenv",
                "binary_version": "0.4.0+debian1-3"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "rbenv",
            "purl": "pkg:deb/ubuntu/rbenv?arch=source&distro=bionic",
            "ecosystem": "Ubuntu:18.04:LTS"
          },
          "versions": [
            "1.0.0-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-1000047.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "rbenv",
                "binary_version": "1.0.0-2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "rbenv",
            "purl": "pkg:deb/ubuntu/rbenv?arch=source&distro=focal",
            "ecosystem": "Ubuntu:20.04:LTS"
          },
          "versions": [
            "1.1.1-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-1000047.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "rbenv",
                "binary_version": "1.1.1-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "rbenv",
            "purl": "pkg:deb/ubuntu/rbenv?arch=source&distro=jammy",
            "ecosystem": "Ubuntu:22.04:LTS"
          },
          "versions": [
            "1.1.2-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-1000047.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "rbenv",
                "binary_version": "1.1.2-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "rbenv",
            "purl": "pkg:deb/ubuntu/rbenv?arch=source&distro=noble",
            "ecosystem": "Ubuntu:24.04:LTS"
          },
          "versions": [
            "1.1.2-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-1000047.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "rbenv",
                "binary_version": "1.1.2-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "rbenv",
            "purl": "pkg:deb/ubuntu/rbenv?arch=source&distro=questing",
            "ecosystem": "Ubuntu:25.10"
          },
          "versions": [
            "1.1.2-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-1000047.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "rbenv",
                "binary_version": "1.1.2-2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "rbenv",
            "purl": "pkg:deb/ubuntu/rbenv?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "1.3.2-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-1000047.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "rbenv",
                "binary_version": "1.3.2-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "rbenv",
            "purl": "pkg:deb/ubuntu/rbenv?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "1.1.2-2",
            "1.3.2-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-1000047.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "rbenv",
                "binary_version": "1.3.2-1"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:52:45.913288432Z",
      "provider": "osv",
      "upstream": [
        "CVE-2017-1000047"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2017-1000047",
        "https://github.com/justinsteven/advisories/blob/master/2017_rbenv_ruby_version_directory_traversal.md",
        "https://www.cve.org/CVERecord?id=CVE-2017-1000047"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2017-1000047",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 353284,
  "published_at": "2017-07-17T13:18:00+00:00"
}