Advisory

UBUNTU-CVE-2019-8324

Also known as: CVE-2019-8324

Summary

The record has no summary.

Details

An issue was discovered in RubyGems 2.6 and later through 3.0.2. A crafted gem with a multi-line name is not handled correctly. Therefore, an attacker could inject arbitrary code to the stub line of gemspec, which is eval-ed by code in ensure_loadable_spec during the preinstall check.

Severity

High Basis: CVSS v3 score 8.8, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Dates

Published
2019-03-27 00:00 UTC
Modified
2026-04-22 12:21 UTC

Affected packages and fixes

ruby1.9.1

Debian packages (deb) · Ubuntu 14.04

Affected

  • introduced 0, fixed 1.9.3.484-2ubuntu1.14 (ecosystem)

Fixed versions

1.9.3.484-2ubuntu1.14

Fix

  • Fixed version 1.9.3.484-2ubuntu1.14
    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.

ruby2.0

Debian packages (deb) · Ubuntu 14.04

Affected

  • introduced 0, fixed 2.0.0.484-1ubuntu2.13 (ecosystem)

Fixed versions

2.0.0.484-1ubuntu2.13

Fix

  • Fixed version 2.0.0.484-1ubuntu2.13
    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.

ruby2.3

Debian packages (deb) · Ubuntu 16.04

Affected

  • introduced 0, fixed 2.3.1-2~16.04.12 (ecosystem)

Fixed versions

2.3.1-2~16.04.12

Fix

  • Fixed version 2.3.1-2~16.04.12
    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.

ruby2.5

Debian packages (deb) · Ubuntu 18.04

Affected

  • introduced 0, fixed 2.5.1-1ubuntu1.2 (ecosystem)

Fixed versions

2.5.1-1ubuntu1.2

Fix

  • Fixed version 2.5.1-1ubuntu1.2
    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) · Ubuntu 18.04

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

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: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences