Ubuntu 12.04 LTS / 12.10 : ruby1.9.1 vulnerabilities (USN-1733-1)

High Nessus Plugin ID 64799

Synopsis

The remote Ubuntu host is missing one or more security-related patches.

Description

Jean-Philippe Aumasson discovered that Ruby incorrectly generated predictable hash values. An attacker could use this issue to generate hash collisions and cause a denial of service. (CVE-2012-5371)

Evgeny Ermakov discovered that documentation generated by rdoc is vulnerable to a cross-site scripting issue. With cross-site scripting vulnerabilities, if a user were tricked into viewing a specially crafted page, a remote attacker could exploit this to modify the contents, or steal confidential data, within the same domain.
(CVE-2013-0256)

Thomas Hollstegge and Ben Murphy discovered that the JSON implementation in Ruby incorrectly handled certain crafted documents.
An attacker could use this issue to cause a denial of service or bypass certain protection mechanisms. (CVE-2013-0269).

Note that Tenable Network Security has extracted the preceding description block directly from the Ubuntu security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.

Solution

Update the affected libruby1.9.1 and / or ruby1.9.1 packages.

See Also

https://usn.ubuntu.com/1733-1/

Plugin Details

Severity: High

ID: 64799

File Name: ubuntu_USN-1733-1.nasl

Version: 1.8

Type: local

Agent: unix

Published: 2013/02/22

Updated: 2019/09/19

Dependencies: 12634

Risk Information

Risk Factor: High

CVSS v2.0

Base Score: 7.5

Temporal Score: 5.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

Temporal Vector: CVSS2#E:U/RL:OF/RC:C

Vulnerability Information

CPE: p-cpe:/a:canonical:ubuntu_linux:libruby1.9.1, p-cpe:/a:canonical:ubuntu_linux:ruby1.9.1, cpe:/o:canonical:ubuntu_linux:12.04:-:lts, cpe:/o:canonical:ubuntu_linux:12.10

Required KB Items: Host/cpu, Host/Ubuntu, Host/Ubuntu/release, Host/Debian/dpkg-l

Exploit Available: false

Exploit Ease: No known exploits are available

Patch Publication Date: 2013/02/21

Vulnerability Publication Date: 2012/11/28

Reference Information

CVE: CVE-2012-5371, CVE-2013-0256, CVE-2013-0269

BID: 56484, 57785, 57899

USN: 1733-1