Improper input validation in RubyGems - CVE-2017-0898

 

Improper input validation in RubyGems - CVE-2017-0898

Published: September 15, 2017


Vulnerability identifier: #VU8447
CSH Severity: Low
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2017-0898
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to cause DoS condition or obtain potentially sensitive information on the target system.

The weakness exists due to buffer underrun in the Kernel.sprintf() method. A remote attacker can provide a specially crafted format string value to cause the target interpreter to crash or potentially access data from the heap.

Successful exploitation of the vulnerability results in information disclosure or denial of service.

Affected software

RubyGems
Gentoo Linux
Amazon Linux AMI
Debian Linux
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux Server
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Scientific Computing
Red Hat Enterprise Linux EUS Compute Node
Red Hat Enterprise Linux for Power
macOS
Slackware Linux
Ubuntu
Fedora
EMC Integrated Data Protection Appliance
Dell EMC Data Protection Search
prayer (Alpine package)
ruby (Alpine package)
ruby1.8 (Debian package)
ruby1.9.1 (Debian package)
ruby1.9.1 (Ubuntu package)
ruby1.9.3 (Ubuntu package)
libruby1.9.1 (Ubuntu package)
libruby2.0 (Ubuntu package)
ruby2.0 (Ubuntu package)
ruby2.1 (Debian package)
ruby2.3 (Ubuntu package)
libruby2.3 (Ubuntu package)
rh-ruby22-ruby (Red Hat package)
rh-ruby23-ruby (Red Hat package)
ruby

How to mitigate CVE-2017-0898

Update to version 2.2.8 or 2.3.5.

EMC Integrated Data Protection Appliance - update to 2.7.1
macOS - update to 10.14.1 18B75
Dell EMC Data Protection Search - update to 19.6.0
ruby (Alpine package) - addressed in versions 2.2.8-r0, 2.7.2-r0
ruby1.8 (Debian package) - update to 1.8.7.358-7.1+deb7u4
ruby1.9.1 (Debian package) - update to 1.9.3.194-8.1+deb7u6
ruby1.9.1 (Ubuntu package) - update to 1.9.3.484-2ubuntu1.12
ruby1.9.3 (Ubuntu package) - update to 1.9.3.484-2ubuntu1.12
libruby1.9.1 (Ubuntu package) - update to 1.9.3.484-2ubuntu1.12
libruby2.0 (Ubuntu package) - addressed in versions 2.0.0.484-1ubuntu2.10, 2.0.0.484-1ubuntu2.13+esm1
ruby2.0 (Ubuntu package) - addressed in versions 2.0.0.484-1ubuntu2.10, 2.0.0.484-1ubuntu2.13+esm1
ruby2.1 (Debian package) - update to 2.1.5-2+deb8u4
ruby2.3 (Ubuntu package) - addressed in versions 2.3.1-2~16.04.10, 2.3.3-1ubuntu1.6
libruby2.3 (Ubuntu package) - addressed in versions 2.3.1-2~16.04.10, 2.3.3-1ubuntu1.6
rh-ruby22-ruby (Red Hat package) - addressed in versions 2.2.9-19.el6, 2.2.9-19.el7
rh-ruby23-ruby (Red Hat package) - addressed in versions 2.3.6-67.el6, 2.3.6-67.el7
ruby - addressed in versions 2.4.2-84.fc26, 2.4.2-84.fc27

External References

Related Security Bulletins