Advisory

USN-3685-1

Also known as: CVE-2017-0898, CVE-2017-0901, CVE-2017-0902, CVE-2017-0903, CVE-2017-10784, CVE-2017-14064, CVE-2017-17742, CVE-2018-1000074, CVE-2018-8777

Summary

ruby1.9.1, ruby2.0, ruby2.3 vulnerabilities

Details

Some of these CVE were already addressed in previous
USN: 3439-1, 3553-1, 3528-1. Here we address for
the remain releases.

It was discovered that Ruby incorrectly handled certain inputs.
An attacker could use this to cause a buffer overrun. (CVE-2017-0898)

It was discovered that Ruby incorrectly handled certain files.
An attacker could use this to overwrite any file on the filesystem.
(CVE-2017-0901)

It was discovered that Ruby was vulnerable to a DNS hijacking vulnerability.
An attacker could use this to possibly force the RubyGems client to download
and install gems from a server that the attacker controls. (CVE-2017-0902)

It was discovered that Ruby incorrectly handled certain YAML files.
An attacker could use this to possibly execute arbitrary code. (CVE-2017-0903)

It was discovered that Ruby incorrectly handled certain files.
An attacker could use this to expose sensitive information.
(CVE-2017-14064)

It was discovered that Ruby incorrectly handled certain inputs.
An attacker could use this to execute arbitrary code. (CVE-2017-10784)

It was discovered that Ruby incorrectly handled certain network requests.
An attacker could possibly use this to inject a crafted key into a HTTP
response. (CVE-2017-17742)

It was discovered that Ruby incorrectly handled certain files.
An attacker could possibly use this to execute arbitrary code.
This update is only addressed to ruby2.0. (CVE-2018-1000074)

It was discovered that Ruby incorrectly handled certain network requests.
An attacker could possibly use this to cause a denial of service.
(CVE-2018-8777)

Severity

Not rated by the source.

Dates

Published
2018-06-13 19:56 UTC
Modified
2026-04-27 15:33 UTC

Affected packages and fixes

ruby1.9.1

Debian packages (deb) · Ubuntu 14.04

Affected

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

Fixed versions

1.9.3.484-2ubuntu1.12

Fix

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

Debian packages (deb) · Ubuntu 14.04

Affected

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

Fixed versions

2.0.0.484-1ubuntu2.10

Fix

  • Fixed version 2.0.0.484-1ubuntu2.10
    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.10 (ecosystem)

Fixed versions

2.3.1-2~16.04.10

Fix

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