Advisory

DEBIAN-CVE-2019-8320

Also known as: CVE-2019-8320

Summary

The record has no summary.

Details

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.

Severity

High Basis: CVSS v3 score 7.4, vector CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H

Dates

Published
2019-06-06 15:29 UTC
Modified
2026-09-21 07:03 UTC

Affected packages and fixes

jruby

Debian packages (deb) · Debian 12

Affected

  • introduced 0, fixed 9.1.17.0-3 (ecosystem)

Fixed versions

9.1.17.0-3

Fix

  • Fixed version 9.1.17.0-3
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

jruby

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 9.1.17.0-3 (ecosystem)

Fixed versions

9.1.17.0-3

Fix

  • Fixed version 9.1.17.0-3
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

jruby

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 9.1.17.0-3 (ecosystem)

Fixed versions

9.1.17.0-3

Fix

  • Fixed version 9.1.17.0-3
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

rubygems

Debian packages (deb) · Debian 12

Affected

  • introduced 0, fixed 3.2.0~rc.1-1 (ecosystem)

Fixed versions

3.2.0~rc.1-1

Fix

  • Fixed version 3.2.0~rc.1-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

rubygems

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 3.2.0~rc.1-1 (ecosystem)

Fixed versions

3.2.0~rc.1-1

Fix

  • Fixed version 3.2.0~rc.1-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

rubygems

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 3.2.0~rc.1-1 (ecosystem)

Fixed versions

3.2.0~rc.1-1

Fix

  • Fixed version 3.2.0~rc.1-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences