ID CVE-2013-4164
Summary Heap-based buffer overflow in Ruby 1.8, 1.9 before 1.9.3-p484, 2.0 before 2.0.0-p353, 2.1 before 2.1.0 preview2, and trunk before revision 43780 allows context-dependent attackers to cause a denial of service (segmentation fault) and possibly execute arbitrary code via a string that is converted to a floating point value, as demonstrated using (1) the to_f method or (2) JSON.parse.
References
Vulnerable Configurations
  • ruby-lang Ruby 1.8
    cpe:2.3:a:ruby-lang:ruby:1.8
  • ruby-lang Ruby 1.9
    cpe:2.3:a:ruby-lang:ruby:1.9
  • ruby-lang Ruby 1.9.1
    cpe:2.3:a:ruby-lang:ruby:1.9.1
  • ruby-lang Ruby 1.9.2
    cpe:2.3:a:ruby-lang:ruby:1.9.2
  • ruby-lang Ruby 1.9.3
    cpe:2.3:a:ruby-lang:ruby:1.9.3
  • Ruby-lang Ruby 2.0.0
    cpe:2.3:a:ruby-lang:ruby:2.0.0
  • Ruby-lang Ruby 2.1preview1
    cpe:2.3:a:ruby-lang:ruby:2.1:preview1
CVSS
Base: 6.8 (as of 27-11-2013 - 06:54)
Impact:
Exploitability:
CWE CWE-119
CAPEC
  • Buffer Overflow via Environment Variables
    This attack pattern involves causing a buffer overflow through manipulation of environment variables. Once the attacker finds that they can modify an environment variable, they may try to overflow associated buffers. This attack leverages implicit trust often placed in environment variables.
  • Overflow Buffers
    Buffer Overflow attacks target improper or missing bounds checking on buffer operations, typically triggered by input injected by an attacker. As a consequence, an attacker is able to write past the boundaries of allocated buffer regions in memory, causing a program crash or potentially redirection of execution as per the attackers' choice.
  • Client-side Injection-induced Buffer Overflow
    This type of attack exploits a buffer overflow vulnerability in targeted client software through injection of malicious content from a custom-built hostile service.
  • Filter Failure through Buffer Overflow
    In this attack, the idea is to cause an active filter to fail by causing an oversized transaction. An attacker may try to feed overly long input strings to the program in an attempt to overwhelm the filter (by causing a buffer overflow) and hoping that the filter does not fail securely (i.e. the user input is let into the system unfiltered).
  • MIME Conversion
    An attacker exploits a weakness in the MIME conversion routine to cause a buffer overflow and gain control over the mail server machine. The MIME system is designed to allow various different information formats to be interpreted and sent via e-mail. Attack points exist when data are converted to MIME compatible format and back.
  • Overflow Binary Resource File
    An attack of this type exploits a buffer overflow vulnerability in the handling of binary resources. Binary resources may include music files like MP3, image files like JPEG files, and any other binary file. These attacks may pass unnoticed to the client machine through normal usage of files, such as a browser loading a seemingly innocent JPEG file. This can allow the attacker access to the execution stack and execute arbitrary code in the target process. This attack pattern is a variant of standard buffer overflow attacks using an unexpected vector (binary files) to wrap its attack and open up a new attack vector. The attacker is required to either directly serve the binary content to the victim, or place it in a locale like a MP3 sharing application, for the victim to download. The attacker then is notified upon the download or otherwise locates the vulnerability opened up by the buffer overflow.
  • Buffer Overflow via Symbolic Links
    This type of attack leverages the use of symbolic links to cause buffer overflows. An attacker can try to create or manipulate a symbolic link file such that its contents result in out of bounds data. When the target software processes the symbolic link file, it could potentially overflow internal buffers with insufficient bounds checking.
  • Overflow Variables and Tags
    This type of attack leverages the use of tags or variables from a formatted configuration data to cause buffer overflow. The attacker crafts a malicious HTML page or configuration file that includes oversized strings, thus causing an overflow.
  • Buffer Overflow via Parameter Expansion
    In this attack, the target software is given input that the attacker knows will be modified and expanded in size during processing. This attack relies on the target software failing to anticipate that the expanded data may exceed some internal limit, thereby creating a buffer overflow.
  • Buffer Overflow in an API Call
    This attack targets libraries or shared code modules which are vulnerable to buffer overflow attacks. An attacker who has access to an API may try to embed malicious code in the API function call and exploit a buffer overflow vulnerability in the function's implementation. All clients that make use of the code library thus become vulnerable by association. This has a very broad effect on security across a system, usually affecting more than one software process.
  • Buffer Overflow in Local Command-Line Utilities
    This attack targets command-line utilities available in a number of shells. An attacker can leverage a vulnerability found in a command-line utility to escalate privilege to root.
Access
VectorComplexityAuthentication
NETWORK MEDIUM NONE
Impact
ConfidentialityIntegrityAvailability
PARTIAL PARTIAL PARTIAL
metasploit via4
description When Ruby attempts to convert a string representation of a large floating point decimal number to its floating point equivalent, a heap-based buffer overflow can be triggered. This module has been tested successfully on a Ruby on Rails application using Ruby version 1.9.3-p448 with WebRick and Thin web servers, where the Rails application crashes with a segfault error. Other versions of Ruby are reported to be affected.
id MSF:AUXILIARY/DOS/HTTP/RAILS_JSON_FLOAT_DOS
last seen 2019-03-27
modified 2017-07-24
published 2013-11-22
reliability Normal
reporter Rapid7
source https://github.com/rapid7/metasploit-framework/blob/master/modules/auxiliary/dos/http/rails_json_float_dos.rb
title Ruby on Rails JSON Processor Floating Point Heap Overflow DoS
nessus via4
  • NASL family MacOS X Local Security Checks
    NASL id MACOSX_SERVER_4_0.NASL
    description The remote Mac OS X host has a version of OS X Server installed that is prior to version 4.0. It is, therefore, affected by the following vulnerabilities : - There are multiple vulnerabilities within the included BIND, the most serious of which can lead to a denial of service. (CVE-2013-3919, CVE-2013-4854, CVE-2014-0591) - There are multiple vulnerabilities within the included LibYAML for the Profile Manager and ServerRuby, the most serious of which can lead to arbitrary code execution. (CVE-2013-4164, CVE-2013-6393) - There are multiple vulnerabilities within the included PostgreSQL, the most serious of which can lead to arbitrary code execution. (CVE-2014-0060, CVE-2014-0061, CVE-2014-0062, CVE-2014-0063, CVE-2014-0064, CVE-2014-0065, CVE-2014-0066) - An error exists related to the way SSL 3.0 handles padding bytes when decrypting messages encrypted using block ciphers in cipher block chaining (CBC) mode. A man-in-the-middle attacker can decrypt a selected byte of a cipher text in as few as 256 tries if they are able to force a victim application to repeatedly send the same data over newly created SSL 3.0 connections. This is also known as the 'POODLE' issue. (CVE-2014-3566) - A cross-site scripting flaw exists in the Xcode Server due to not properly validating input before returning it to the user. This can allow a remote attacker, using a specially crafted request, to execute code within the browser / server trust relationship. (CVE-2014-4406) - A SQL injection flaw exists in the Wiki Server due to not properly sanitizing user input before using it in SQL queries. This can allow a remote attacker, using a specially crafted request, to inject or manipulate SQL queries, thus allowing the manipulation or disclosure of arbitrary data. (CVE-2014-4424) - A restriction bypass flaw exists in the Mail Server due to SCAL changes being cached and not enforced until the service had restarted. This can allow an authenticated remote attacker to bypass those restrictions. (CVE-2014-4446) - A password disclosure flaw exists in the Profile Manager due to passwords being potentially saved to a file when editing or setting up a profile. This can allow a local attacker to gain access to password information. (CVE-2014-4447)
    last seen 2019-02-21
    modified 2018-07-14
    plugin id 78601
    published 2014-10-21
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=78601
    title Mac OS X : OS X Server < 4.0 Multiple Vulnerabilities (POODLE)
  • NASL family SuSE Local Security Checks
    NASL id SUSE_11_RUBY-131125.NASL
    description The following security issue has been fixed : - heap overflow in float point parsing. (CVE-2013-4164)
    last seen 2018-09-02
    modified 2015-01-13
    plugin id 71226
    published 2013-12-05
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=71226
    title SuSE 11.2 / 11.3 Security Update : ruby (SAT Patch Numbers 8578 / 8579)
  • NASL family CGI abuses
    NASL id PUPPET_ENTERPRISE_311.NASL
    description According to its self-reported version number, the Puppet Enterprise 3.x install on the remote host is prior to 3.1.1. As a result, it is reportedly affected by multiple vulnerabilities : - An input validation error exists related to the included Ruby version, handling string to floating point conversions that could allow denial of service attacks or arbitrary code execution. (CVE-2013-4164) - An error exists related to the included RubyGems version and 'gem build', 'Gem::Package', and 'Gem::PackageTask' API calls that could allow denial of service attacks. (CVE-2013-4363) - An error exists in the 'i18n' gem for Ruby that could allow cross-site scripting attacks. (CVE-2013-4491) - An error exists related to handling temporary files that could allow a local attacker to overwrite files by using a symlink attack. (CVE-2013-4969) - An error exists related to the included Ruby on Rails, 'Action View', and handling certain headers that could allow denial of service attacks. (CVE-2013-6414) - An input validation error exists related to the included Ruby on Rails and the 'unit' parameter in the 'number_to_currency' helper that could allow cross-site scripting attacks. (CVE-2013-6415) - An input validation error exists related to the included Ruby on Rails, JSON parameter parsing and SQL queries that could allow SQL injection attacks. (CVE-2013-6417)
    last seen 2019-02-21
    modified 2018-11-15
    plugin id 73132
    published 2014-03-21
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=73132
    title Puppet Enterprise 3.x < 3.1.1 Multiple Vulnerabilities
  • NASL family Solaris Local Security Checks
    NASL id SOLARIS11_RUBY_20140114.NASL
    description The remote Solaris system is missing necessary patches to address security updates : - Heap-based buffer overflow in Ruby 1.8, 1.9 before 1.9.3-p484, 2.0 before 2.0.0-p353, 2.1 before 2.1.0 preview2, and trunk before revision 43780 allows context-dependent attackers to cause a denial of service (segmentation fault) and possibly execute arbitrary code via a string that is converted to a floating point value, as demonstrated using (1) the to_f method or (2) JSON.parse. (CVE-2013-4164) - Algorithmic complexity vulnerability in Gem::Version::VERSION_PATTERN in lib/ rubygems/version.rb in RubyGems before 1.8.23.1, 1.8.24 through 1.8.25, 2.0.x before 2.0.8, and 2.1.x before 2.1.0, as used in Ruby 1.9.0 through 2.0.0p247, allows remote attackers to cause a denial of service (CPU consumption) via a crafted gem version that triggers a large amount of backtracking in a regular expression. (CVE-2013-4287) - Algorithmic complexity vulnerability in Gem::Version::ANCHORED_VERSION_PATTERN in lib/rubygems/version.rb in RubyGems before 1.8.23.2, 1.8.24 through 1.8.26, 2.0.x before 2.0.10, and 2.1.x before 2.1.5, as used in Ruby 1.9.0 through 2.0.0p247, allows remote attackers to cause a denial of service (CPU consumption) via a crafted gem version that triggers a large amount of backtracking in a regular expression. NOTE: this issue is due to an incomplete fix for CVE-2013-4287. (CVE-2013-4363)
    last seen 2019-02-21
    modified 2018-11-15
    plugin id 80757
    published 2015-01-19
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=80757
    title Oracle Solaris Third-Party Patch Update : ruby (multiple_vulnerabilities_in_ruby1)
  • NASL family MacOS X Local Security Checks
    NASL id MACOSX_SECUPD2014-002.NASL
    description The remote host is running a version of Mac OS X 10.7, 10.8, or 10.9 that does not have Security Update 2014-002 applied. This update contains several security-related fixes for the following components : - CFNetwork HTTPProtocl - CoreServicesUIAgent - FontParser - Heimdal Kerberos - ImageIO - Intel Graphics Driver - IOKit Kernel - Kernel - Power Management - Ruby - Security - Secure Transport - Window Server Note that successful exploitation of the most serious issues could result in arbitrary code execution.
    last seen 2019-02-21
    modified 2018-07-14
    plugin id 73648
    published 2014-04-22
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=73648
    title Mac OS X Multiple Vulnerabilities (Security Update 2014-002)
  • NASL family Debian Local Security Checks
    NASL id DEBIAN_DSA-2809.NASL
    description Several vulnerabilities have been discovered in the interpreter for the Ruby language. The Common Vulnerabilities and Exposures project identifies the following problems : - CVE-2013-1821 Ben Murphy discovered that unrestricted entity expansion in REXML can lead to a Denial of Service by consuming all host memory. - CVE-2013-4073 William (B.J.) Snow Orvis discovered a vulnerability in the hostname checking in Ruby's SSL client that could allow man-in-the-middle attackers to spoof SSL servers via a crafted certificate issued by a trusted certification authority. - CVE-2013-4164 Charlie Somerville discovered that Ruby incorrectly handled floating point number conversion. If an application using Ruby accepted untrusted input strings and converted them to floating point numbers, an attacker able to provide such input could cause the application to crash or, possibly, execute arbitrary code with the privileges of the application.
    last seen 2019-02-21
    modified 2018-11-10
    plugin id 71220
    published 2013-12-05
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=71220
    title Debian DSA-2809-1 : ruby1.8 - several vulnerabilities
  • NASL family Ubuntu Local Security Checks
    NASL id UBUNTU_USN-2035-1.NASL
    description Charlie Somerville discovered that Ruby incorrectly handled floating point number conversion. An attacker could possibly use this issue with an application that converts text to floating point numbers to cause the application to crash, resulting in a denial of service, or possibly execute arbitrary code. (CVE-2013-4164) Vit Ondruch discovered that Ruby did not perform taint checking for certain functions. An attacker could possibly use this issue to bypass certain intended restrictions. (CVE-2013-2065). 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.
    last seen 2019-02-21
    modified 2018-12-01
    plugin id 71139
    published 2013-11-29
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=71139
    title Ubuntu 12.04 LTS / 12.10 / 13.04 / 13.10 : ruby1.8, ruby1.9.1 vulnerabilities (USN-2035-1)
  • NASL family Amazon Linux Local Security Checks
    NASL id ALA_ALAS-2013-248.NASL
    description Heap-based buffer overflow in Ruby 1.8, 1.9 before 1.9.3-p484, 2.0 before 2.0.0-p353, 2.1 before 2.1.0 preview2, and trunk before revision 43780 allows context-dependent attackers to cause a denial of service (segmentation fault) and possibly execute arbitrary code via a string that is converted to a floating point value, as demonstrated using (1) the to_f method or (2) JSON.parse.
    last seen 2019-02-21
    modified 2018-04-18
    plugin id 71079
    published 2013-11-26
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=71079
    title Amazon Linux AMI : ruby (ALAS-2013-248)
  • NASL family Slackware Local Security Checks
    NASL id SLACKWARE_SSA_2013-350-06.NASL
    description New ruby packages are available for Slackware 13.1, 13.37, 14.0, 14.1, and -current to fix a security issue.
    last seen 2019-02-21
    modified 2015-01-14
    plugin id 71472
    published 2013-12-17
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=71472
    title Slackware 13.1 / 13.37 / 14.0 / 14.1 / current : ruby (SSA:2013-350-06)
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2013-22423.NASL
    description Update to Ruby 2.0.0-p353. This includes fix to an overflow in floating point number parsing found in Ruby currently being shipped on Fedora 20. This vulnerability has been assigned the CVE identifier CVE-2013-4164. This new rpm should fix this issue. Note that Tenable Network Security has extracted the preceding description block directly from the Fedora security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2019-02-21
    modified 2015-10-19
    plugin id 71184
    published 2013-12-04
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=71184
    title Fedora 19 : ruby-2.0.0.353-16.fc19 (2013-22423)
  • NASL family Gentoo Local Security Checks
    NASL id GENTOO_GLSA-201412-27.NASL
    description The remote host is affected by the vulnerability described in GLSA-201412-27 (Ruby: Denial of Service) Multiple vulnerabilities have been discovered in Ruby. Please review the CVE identifiers referenced below for details. Impact : A context-dependent attacker could possibly execute arbitrary code with the privileges of the process, cause a Denial of Service condition, or bypass security restrictions. Workaround : There is no known workaround at this time.
    last seen 2019-02-21
    modified 2015-10-05
    plugin id 79980
    published 2014-12-15
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=79980
    title GLSA-201412-27 : Ruby: Denial of Service
  • NASL family Amazon Linux Local Security Checks
    NASL id ALA_ALAS-2013-247.NASL
    description Heap-based buffer overflow in Ruby 1.8, 1.9 before 1.9.3-p484, 2.0 before 2.0.0-p353, 2.1 before 2.1.0 preview2, and trunk before revision 43780 allows context-dependent attackers to cause a denial of service (segmentation fault) and possibly execute arbitrary code via a string that is converted to a floating point value, as demonstrated using (1) the to_f method or (2) JSON.parse.
    last seen 2019-02-21
    modified 2018-04-18
    plugin id 71078
    published 2013-11-26
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=71078
    title Amazon Linux AMI : ruby19 (ALAS-2013-247)
  • NASL family Mandriva Local Security Checks
    NASL id MANDRIVA_MDVSA-2013-286.NASL
    description A vulnerability was found and corrected in ruby : Heap-based buffer overflow in Ruby 1.8, 1.9 before 1.9.3-p484, 2.0 before 2.0.0-p353, 2.1 before 2.1.0 preview2, and trunk before revision 43780 allows context-dependent attackers to cause a denial of service (segmentation fault) and possibly execute arbitrary code via a string that is converted to a floating point value, as demonstrated using (1) the to_f method or (2) JSON.parse (CVE-2013-4164). The updated packages have been patched to correct these issues.
    last seen 2019-02-21
    modified 2018-07-19
    plugin id 71100
    published 2013-11-27
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=71100
    title Mandriva Linux Security Advisory : ruby (MDVSA-2013:286)
  • NASL family CentOS Local Security Checks
    NASL id CENTOS_RHSA-2013-1764.NASL
    description Updated ruby packages that fix one security issue are now available for Red Hat Enterprise Linux 6. The Red Hat Security Response Team has rated this update as having critical security impact. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available from the CVE link in the References section. Ruby is an extensible, interpreted, object-oriented, scripting language. It has features to process text files and to perform system management tasks. A buffer overflow flaw was found in the way Ruby parsed floating point numbers from their text representation. If an application using Ruby accepted untrusted input strings and converted them to floating point numbers, an attacker able to provide such input could cause the application to crash or, possibly, execute arbitrary code with the privileges of the application. (CVE-2013-4164) All ruby users are advised to upgrade to these updated packages, which contain a backported patch to correct this issue.
    last seen 2019-02-21
    modified 2018-11-10
    plugin id 79176
    published 2014-11-12
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=79176
    title CentOS 6 : ruby (CESA-2013:1764)
  • NASL family Debian Local Security Checks
    NASL id DEBIAN_DSA-2810.NASL
    description Charlie Somerville discovered that Ruby incorrectly handled floating point number conversion. If an application using Ruby accepted untrusted input strings and converted them to floating point numbers, an attacker able to provide such input could cause the application to crash or, possibly, execute arbitrary code with the privileges of the application.
    last seen 2019-02-21
    modified 2018-11-10
    plugin id 71221
    published 2013-12-05
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=71221
    title Debian DSA-2810-1 : ruby1.9.1 - heap overflow
  • NASL family SuSE Local Security Checks
    NASL id OPENSUSE-2013-943.NASL
    description the following security issue was fixed in ruby20 : - fix CVE-2013-4164: heap overflow in float point parsing (bnc#851803) The file CVE-2013-4164.patch contains the patch
    last seen 2019-02-21
    modified 2018-11-10
    plugin id 75224
    published 2014-06-13
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=75224
    title openSUSE Security Update : ruby20 (openSUSE-SU-2013:1834-1)
  • NASL family Red Hat Local Security Checks
    NASL id REDHAT-RHSA-2013-1764.NASL
    description Updated ruby packages that fix one security issue are now available for Red Hat Enterprise Linux 6. The Red Hat Security Response Team has rated this update as having critical security impact. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available from the CVE link in the References section. Ruby is an extensible, interpreted, object-oriented, scripting language. It has features to process text files and to perform system management tasks. A buffer overflow flaw was found in the way Ruby parsed floating point numbers from their text representation. If an application using Ruby accepted untrusted input strings and converted them to floating point numbers, an attacker able to provide such input could cause the application to crash or, possibly, execute arbitrary code with the privileges of the application. (CVE-2013-4164) All ruby users are advised to upgrade to these updated packages, which contain a backported patch to correct this issue.
    last seen 2019-02-21
    modified 2018-11-10
    plugin id 71093
    published 2013-11-26
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=71093
    title RHEL 6 : ruby (RHSA-2013:1764)
  • NASL family Solaris Local Security Checks
    NASL id SOLARIS11_RUBY_20140731.NASL
    description The remote Solaris system is missing necessary patches to address security updates : - Heap-based buffer overflow in Ruby 1.8, 1.9 before 1.9.3-p484, 2.0 before 2.0.0-p353, 2.1 before 2.1.0 preview2, and trunk before revision 43780 allows context-dependent attackers to cause a denial of service (segmentation fault) and possibly execute arbitrary code via a string that is converted to a floating point value, as demonstrated using (1) the to_f method or (2) JSON.parse. (CVE-2013-4164)
    last seen 2019-02-21
    modified 2018-11-15
    plugin id 80758
    published 2015-01-19
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=80758
    title Oracle Solaris Third-Party Patch Update : ruby (cve_2013_4164_buffer_errors)
  • NASL family FreeBSD Local Security Checks
    NASL id FREEBSD_PKG_CC9043CF7F7A426EB2CC8D1980618113.NASL
    description Ruby developers report : Any time a string is converted to a floating point value, a specially crafted string can cause a heap overflow. This can lead to a denial of service attack via segmentation faults and possibly arbitrary code execution. Any program that converts input of unknown origin to floating point values (especially common when accepting JSON) are vulnerable.
    last seen 2019-02-21
    modified 2018-11-10
    plugin id 71072
    published 2013-11-25
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=71072
    title FreeBSD : ruby -- Heap Overflow in Floating Point Parsing (cc9043cf-7f7a-426e-b2cc-8d1980618113)
  • NASL family SuSE Local Security Checks
    NASL id OPENSUSE-2013-940.NASL
    description The following security issue was fixed in ruby19 :
    last seen 2018-11-13
    modified 2018-11-10
    plugin id 75221
    published 2014-06-13
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=75221
    title openSUSE Security Update : ruby19 (openSUSE-SU-2013:1835-1)
  • NASL family Scientific Linux Local Security Checks
    NASL id SL_20131125_RUBY_ON_SL6_X.NASL
    description A buffer overflow flaw was found in the way Ruby parsed floating point numbers from their text representation. If an application using Ruby accepted untrusted input strings and converted them to floating point numbers, an attacker able to provide such input could cause the application to crash or, possibly, execute arbitrary code with the privileges of the application. (CVE-2013-4164)
    last seen 2019-02-21
    modified 2018-12-31
    plugin id 71202
    published 2013-12-04
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=71202
    title Scientific Linux Security Update : ruby on SL6.x i386/x86_64
  • NASL family Oracle Linux Local Security Checks
    NASL id ORACLELINUX_ELSA-2013-1764.NASL
    description From Red Hat Security Advisory 2013:1764 : Updated ruby packages that fix one security issue are now available for Red Hat Enterprise Linux 6. The Red Hat Security Response Team has rated this update as having critical security impact. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available from the CVE link in the References section. Ruby is an extensible, interpreted, object-oriented, scripting language. It has features to process text files and to perform system management tasks. A buffer overflow flaw was found in the way Ruby parsed floating point numbers from their text representation. If an application using Ruby accepted untrusted input strings and converted them to floating point numbers, an attacker able to provide such input could cause the application to crash or, possibly, execute arbitrary code with the privileges of the application. (CVE-2013-4164) All ruby users are advised to upgrade to these updated packages, which contain a backported patch to correct this issue.
    last seen 2019-02-21
    modified 2018-07-18
    plugin id 71131
    published 2013-11-29
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=71131
    title Oracle Linux 6 : ruby (ELSA-2013-1764)
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2013-22393.NASL
    description Update to Ruby 2.0.0-p353. This includes fix to an overflow in floating point number parsing found in Ruby currently being shipped on Fedora 20. This vulnerability has been assigned the CVE identifier CVE-2013-4164. This new rpm should fix this issue. Note that Tenable Network Security has extracted the preceding description block directly from the Fedora security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2019-02-21
    modified 2015-10-19
    plugin id 71410
    published 2013-12-14
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=71410
    title Fedora 20 : ruby-2.0.0.353-16.fc20 (2013-22393)
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2013-22315.NASL
    description An overflow in floating point number parsing was found in Ruby currently being shipped on Fedora 19. This vulnerability has been assigned the CVE identifier CVE-2013-4164. This new rpm should fix this issue. Note that Tenable Network Security has extracted the preceding description block directly from the Fedora security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2019-02-21
    modified 2015-10-19
    plugin id 71328
    published 2013-12-11
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=71328
    title Fedora 18 : ruby-1.9.3.484-32.fc18 (2013-22315)
  • NASL family Red Hat Local Security Checks
    NASL id REDHAT-RHSA-2013-1767.NASL
    description Updated ruby packages that fix one security issue are now available for Red Hat Enterprise Linux 6.2, 6.3, and 6.4 Extended Update Support. The Red Hat Security Response Team has rated this update as having critical security impact. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available from the CVE link in the References section. Ruby is an extensible, interpreted, object-oriented, scripting language. It has features to process text files and to perform system management tasks. A buffer overflow flaw was found in the way Ruby parsed floating point numbers from their text representation. If an application using Ruby accepted untrusted input strings and converted them to floating point numbers, an attacker able to provide such input could cause the application to crash or, possibly, execute arbitrary code with the privileges of the application. (CVE-2013-4164) All ruby users are advised to upgrade to these updated packages, which contain a backported patch to correct this issue.
    last seen 2019-02-21
    modified 2018-11-10
    plugin id 78982
    published 2014-11-08
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=78982
    title RHEL 6 : ruby (RHSA-2013:1767)
  • NASL family MacOS X Local Security Checks
    NASL id MACOSX_SERVER_3_1_2.NASL
    description The remote Mac OS X 10.9 host has a version of OS X Server installed that is prior to 3.1.2. It is, therefore, affected by a heap-based buffer overflow vulnerability in the Ruby component that occurs when converting a string to a floating point value. A remote attacker can exploit this, via a specially crafted request to Profile Manager or to a Ruby script, to cause a denial of service condition or the execution of arbitrary code.
    last seen 2019-02-21
    modified 2018-07-14
    plugin id 74124
    published 2014-05-21
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=74124
    title Mac OS X : OS X Server < 3.1.2 Heap-Based Buffer Overflow
redhat via4
advisories
  • bugzilla
    id 1033460
    title CVE-2013-4164 ruby: heap overflow in floating point parsing
    oval
    AND
    • OR
      • comment Red Hat Enterprise Linux 6 Client is installed
        oval oval:com.redhat.rhba:tst:20111656001
      • comment Red Hat Enterprise Linux 6 Server is installed
        oval oval:com.redhat.rhba:tst:20111656002
      • comment Red Hat Enterprise Linux 6 Workstation is installed
        oval oval:com.redhat.rhba:tst:20111656003
      • comment Red Hat Enterprise Linux 6 ComputeNode is installed
        oval oval:com.redhat.rhba:tst:20111656004
    • OR
      • AND
        • comment ruby is earlier than 0:1.8.7.352-13.el6
          oval oval:com.redhat.rhsa:tst:20131764005
        • comment ruby is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20110910006
      • AND
        • comment ruby-devel is earlier than 0:1.8.7.352-13.el6
          oval oval:com.redhat.rhsa:tst:20131764009
        • comment ruby-devel is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20110910016
      • AND
        • comment ruby-docs is earlier than 0:1.8.7.352-13.el6
          oval oval:com.redhat.rhsa:tst:20131764015
        • comment ruby-docs is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20110910012
      • AND
        • comment ruby-irb is earlier than 0:1.8.7.352-13.el6
          oval oval:com.redhat.rhsa:tst:20131764011
        • comment ruby-irb is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20110910018
      • AND
        • comment ruby-libs is earlier than 0:1.8.7.352-13.el6
          oval oval:com.redhat.rhsa:tst:20131764007
        • comment ruby-libs is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20110910020
      • AND
        • comment ruby-rdoc is earlier than 0:1.8.7.352-13.el6
          oval oval:com.redhat.rhsa:tst:20131764019
        • comment ruby-rdoc is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20110910022
      • AND
        • comment ruby-ri is earlier than 0:1.8.7.352-13.el6
          oval oval:com.redhat.rhsa:tst:20131764021
        • comment ruby-ri is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20110910014
      • AND
        • comment ruby-static is earlier than 0:1.8.7.352-13.el6
          oval oval:com.redhat.rhsa:tst:20131764013
        • comment ruby-static is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20110910010
      • AND
        • comment ruby-tcltk is earlier than 0:1.8.7.352-13.el6
          oval oval:com.redhat.rhsa:tst:20131764017
        • comment ruby-tcltk is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20110910008
    rhsa
    id RHSA-2013:1764
    released 2013-11-25
    severity Critical
    title RHSA-2013:1764: ruby security update (Critical)
  • rhsa
    id RHSA-2013:1763
  • rhsa
    id RHSA-2013:1767
  • rhsa
    id RHSA-2014:0011
  • rhsa
    id RHSA-2014:0215
rpms
  • ruby-0:1.8.7.352-13.el6
  • ruby-devel-0:1.8.7.352-13.el6
  • ruby-docs-0:1.8.7.352-13.el6
  • ruby-irb-0:1.8.7.352-13.el6
  • ruby-libs-0:1.8.7.352-13.el6
  • ruby-rdoc-0:1.8.7.352-13.el6
  • ruby-ri-0:1.8.7.352-13.el6
  • ruby-static-0:1.8.7.352-13.el6
  • ruby-tcltk-0:1.8.7.352-13.el6
refmap via4
apple
  • APPLE-SA-2014-04-22-1
  • APPLE-SA-2014-10-16-3
bid 63873
confirm
debian
  • DSA-2809
  • DSA-2810
osvdb 100113
secunia
  • 55787
  • 57376
suse
  • SUSE-SU-2013:1897
  • openSUSE-SU-2013:1834
  • openSUSE-SU-2013:1835
ubuntu USN-2035-1
Last major update 30-12-2016 - 21:59
Published 23-11-2013 - 14:55
Last modified 08-01-2018 - 21:29
Back to Top