Search

Find a vulnerability

Search criteria

    Related vulnerabilities

    UBUNTU-CVE-2013-4164 (CVE-2013-4164)

    Vulnerability from osv_ubuntu – Published: 2013-11-22 00:00 – Updated: 2026-11-24 09:40 – Source website
    VLAI
    Details

    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.

    Upstream
    Related
    Severity
    N/A (UNKNOWN)
    Impacted products
    Ecosystem Package Version
    Ubuntu:14.04:LTS ruby1.9.1
    pkg:deb/ubuntu/ruby1.9.1@1.9.3.448-1ubuntu2?arch=source&distro=trusty
    Affected: < 1.9.3.448-1ubuntu2 (ecosystem)
    1.9.3.194-8.1ubuntu21.9.3.448-1ubuntu1
    Ubuntu:14.04:LTS ruby2.0
    pkg:deb/ubuntu/ruby2.0@2.0.0.343-1ubuntu1?arch=source&distro=trusty
    Affected: < 2.0.0.343-1ubuntu1 (ecosystem)
    2.0.0.299-22.0.0.343-1

    {
      "affected": [
        {
          "ecosystem_specific": {
            "availability": "No subscription required",
            "binaries": [
              {
                "binary_name": "libruby1.9.1",
                "binary_version": "1.9.3.448-1ubuntu2"
              },
              {
                "binary_name": "libtcltk-ruby1.9.1",
                "binary_version": "1.9.3.448-1ubuntu2"
              },
              {
                "binary_name": "ri1.9.1",
                "binary_version": "1.9.3.448-1ubuntu2"
              },
              {
                "binary_name": "ruby1.9.1",
                "binary_version": "1.9.3.448-1ubuntu2"
              },
              {
                "binary_name": "ruby1.9.1-examples",
                "binary_version": "1.9.3.448-1ubuntu2"
              },
              {
                "binary_name": "ruby1.9.1-full",
                "binary_version": "1.9.3.448-1ubuntu2"
              },
              {
                "binary_name": "ruby1.9.3",
                "binary_version": "1.9.3.448-1ubuntu2"
              }
            ]
          },
          "package": {
            "ecosystem": "Ubuntu:14.04:LTS",
            "name": "ruby1.9.1",
            "purl": "pkg:deb/ubuntu/ruby1.9.1@1.9.3.448-1ubuntu2?arch=source\u0026distro=trusty"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1.9.3.448-1ubuntu2"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ],
          "versions": [
            "1.9.3.194-8.1ubuntu2",
            "1.9.3.448-1ubuntu1"
          ]
        },
        {
          "ecosystem_specific": {
            "availability": "No subscription required",
            "binaries": [
              {
                "binary_name": "libruby2.0",
                "binary_version": "2.0.0.343-1ubuntu1"
              },
              {
                "binary_name": "ruby2.0",
                "binary_version": "2.0.0.343-1ubuntu1"
              },
              {
                "binary_name": "ruby2.0-tcltk",
                "binary_version": "2.0.0.343-1ubuntu1"
              }
            ]
          },
          "package": {
            "ecosystem": "Ubuntu:14.04:LTS",
            "name": "ruby2.0",
            "purl": "pkg:deb/ubuntu/ruby2.0@2.0.0.343-1ubuntu1?arch=source\u0026distro=trusty"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.0.0.343-1ubuntu1"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ],
          "versions": [
            "2.0.0.299-2",
            "2.0.0.343-1"
          ]
        }
      ],
      "aliases": [],
      "details": "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.",
      "id": "UBUNTU-CVE-2013-4164",
      "modified": "2026-11-24T09:40:25Z",
      "published": "2013-11-22T00:00:00Z",
      "references": [
        {
          "type": "REPORT",
          "url": "https://ubuntu.com/security/CVE-2013-4164"
        },
        {
          "type": "REPORT",
          "url": "https://www.ruby-lang.org/en/news/2013/11/22/heap-overflow-in-floating-point-parsing-cve-2013-4164/"
        },
        {
          "type": "REPORT",
          "url": "https://www.ruby-lang.org/en/news/2013/11/22/ruby-1-9-3-p484-is-released/"
        },
        {
          "type": "ADVISORY",
          "url": "https://ubuntu.com/security/notices/USN-2035-1"
        },
        {
          "type": "REPORT",
          "url": "https://www.cve.org/CVERecord?id=CVE-2013-4164"
        }
      ],
      "related": [
        "USN-2035-1"
      ],
      "schema_version": "1.9.2",
      "severity": [
        {
          "score": "medium",
          "source": "SELF",
          "type": "Ubuntu"
        }
      ],
      "upstream": [
        "CVE-2013-4164"
      ]
    }