Advisory

UBUNTU-CVE-2017-17790

Also known as: CVE-2017-17790

Summary

The record has no summary.

Details

The lazy_initialize function in lib/resolv.rb in Ruby through 2.4.3 uses Kernel#open, which might allow Command Injection attacks, as demonstrated by a Resolv::Hosts::new argument beginning with a '|' character, a different vulnerability than CVE-2017-17405. NOTE: situations with untrusted input may be highly unlikely.

Severity

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

Dates

Published
2017-12-20 00:00 UTC
Modified
2026-04-22 11:20 UTC

Affected packages and fixes

ruby1.9.1

Debian packages (deb) · Ubuntu 14.04

Affected

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

Fixed versions

1.9.3.484-2ubuntu1.7

Fix

  • Fixed version 1.9.3.484-2ubuntu1.7
    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.5 (ecosystem)

Fixed versions

2.3.1-2~16.04.5

Fix

  • Fixed version 2.3.1-2~16.04.5
    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: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences