Sha256: 2003ad5c2f961cf740f06da5e736161e23cb8bd2b1633356c50e610c8fa1c1af

Contents?: true

Size: 884 Bytes

Versions: 1

Compression:

Stored size: 884 Bytes

Contents

---
gem: rubygems-update
library: rubygems
cve: 2019-8320
url: https://blog.rubygems.org/2019/03/05/security-advisories-2019-03.html
title: Delete directory using symlink when decompressing tar
date: 2019-03-05
description: |
  A Directory Traversal issue was discovered in RubyGems 2.7.6 and later
  through 3.0.2. Before making new directories or touching files (which now
  include path-checking code for symlinks), it would delete the target
  destination. If that destination was hidden behind a symlink, a malicious gem
  could delete arbitrary files on the user’s machine, presuming the attacker
  could guess at paths. Given how frequently gem is run as sudo, and how
  predictable paths are on modern systems (/tmp, /usr, etc.), this could
  likely lead to data loss or an unusable system.
unaffected_versions:
  - "< 2.7.6"
patched_versions:
  - ">= 3.0.3"
  - "~> 2.7.9"

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bundler-audit-0.7.0.1 data/ruby-advisory-db/gems/rubygems-update/CVE-2019-8320.yml