FKIE_CVE-2009-1904

Vulnerability from fkie_nvd - Published: 2009-06-11 21:30 - Updated: 2026-06-16 23:08
Severity
Summary
The BigDecimal library in Ruby 1.8.6 before p369 and 1.8.7 before p173 allows context-dependent attackers to cause a denial of service (application crash) via a string argument that represents a large number, as demonstrated by an attempted conversion to the Float data type.
References
cve@mitre.orghttp://bugs.debian.org/cgi-bin/bugreport.cgi?bug=532689Patch
cve@mitre.orghttp://bugs.gentoo.org/show_bug.cgi?id=273213
cve@mitre.orghttp://github.com/NZKoz/bigdecimal-segfault-fix/tree/masterPatch
cve@mitre.orghttp://groups.google.com/group/rubyonrails-security/msg/fad60751e2b9b4f6?dmode=source
cve@mitre.orghttp://lists.apple.com/archives/security-announce/2010//Mar/msg00001.html
cve@mitre.orghttp://mail-index.netbsd.org/pkgsrc-changes/2009/06/10/msg024708.html
cve@mitre.orghttp://osvdb.org/55031
cve@mitre.orghttp://redmine.ruby-lang.org/issues/show/794Exploit, Patch
cve@mitre.orghttp://secunia.com/advisories/35399Vendor Advisory
cve@mitre.orghttp://secunia.com/advisories/35527
cve@mitre.orghttp://secunia.com/advisories/35593
cve@mitre.orghttp://secunia.com/advisories/35699
cve@mitre.orghttp://secunia.com/advisories/35937
cve@mitre.orghttp://secunia.com/advisories/37705
cve@mitre.orghttp://security.gentoo.org/glsa/glsa-200906-02.xml
cve@mitre.orghttp://slackware.com/security/viewer.php?l=slackware-security&y=2009&m=slackware-security.430805
cve@mitre.orghttp://support.apple.com/kb/HT4077
cve@mitre.orghttp://weblog.rubyonrails.org/2009/6/10/dos-vulnerability-in-ruby/Patch
cve@mitre.orghttp://www.mandriva.com/security/advisories?name=MDVSA-2009:160
cve@mitre.orghttp://www.redhat.com/support/errata/RHSA-2009-1140.html
cve@mitre.orghttp://www.ruby-forum.com/topic/189071
cve@mitre.orghttp://www.ruby-lang.org/en/news/2009/06/09/dos-vulnerability-in-bigdecimal/Patch, Vendor Advisory
cve@mitre.orghttp://www.securityfocus.com/bid/35278
cve@mitre.orghttp://www.securitytracker.com/id?1022371
cve@mitre.orghttp://www.ubuntu.com/usn/USN-805-1
cve@mitre.orghttp://www.vupen.com/english/advisories/2009/1563
cve@mitre.orghttps://bugs.launchpad.net/bugs/385436
cve@mitre.orghttps://bugs.launchpad.net/bugs/cve/2009-1904
cve@mitre.orghttps://exchange.xforce.ibmcloud.com/vulnerabilities/51032
cve@mitre.orghttps://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9780
cve@mitre.orghttps://www.redhat.com/archives/fedora-package-announce/2009-December/msg00731.html
af854a3a-2127-422b-91ae-364da2661108http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=532689Patch
af854a3a-2127-422b-91ae-364da2661108http://bugs.gentoo.org/show_bug.cgi?id=273213
af854a3a-2127-422b-91ae-364da2661108http://github.com/NZKoz/bigdecimal-segfault-fix/tree/masterPatch
af854a3a-2127-422b-91ae-364da2661108http://groups.google.com/group/rubyonrails-security/msg/fad60751e2b9b4f6?dmode=source
af854a3a-2127-422b-91ae-364da2661108http://lists.apple.com/archives/security-announce/2010//Mar/msg00001.html
af854a3a-2127-422b-91ae-364da2661108http://mail-index.netbsd.org/pkgsrc-changes/2009/06/10/msg024708.html
af854a3a-2127-422b-91ae-364da2661108http://osvdb.org/55031
af854a3a-2127-422b-91ae-364da2661108http://redmine.ruby-lang.org/issues/show/794Exploit, Patch
af854a3a-2127-422b-91ae-364da2661108http://secunia.com/advisories/35399Vendor Advisory
af854a3a-2127-422b-91ae-364da2661108http://secunia.com/advisories/35527
af854a3a-2127-422b-91ae-364da2661108http://secunia.com/advisories/35593
af854a3a-2127-422b-91ae-364da2661108http://secunia.com/advisories/35699
af854a3a-2127-422b-91ae-364da2661108http://secunia.com/advisories/35937
af854a3a-2127-422b-91ae-364da2661108http://secunia.com/advisories/37705
af854a3a-2127-422b-91ae-364da2661108http://security.gentoo.org/glsa/glsa-200906-02.xml
af854a3a-2127-422b-91ae-364da2661108http://slackware.com/security/viewer.php?l=slackware-security&y=2009&m=slackware-security.430805
af854a3a-2127-422b-91ae-364da2661108http://support.apple.com/kb/HT4077
af854a3a-2127-422b-91ae-364da2661108http://weblog.rubyonrails.org/2009/6/10/dos-vulnerability-in-ruby/Patch
af854a3a-2127-422b-91ae-364da2661108http://www.mandriva.com/security/advisories?name=MDVSA-2009:160
af854a3a-2127-422b-91ae-364da2661108http://www.redhat.com/support/errata/RHSA-2009-1140.html
af854a3a-2127-422b-91ae-364da2661108http://www.ruby-forum.com/topic/189071
af854a3a-2127-422b-91ae-364da2661108http://www.ruby-lang.org/en/news/2009/06/09/dos-vulnerability-in-bigdecimal/Patch, Vendor Advisory
af854a3a-2127-422b-91ae-364da2661108http://www.securityfocus.com/bid/35278
af854a3a-2127-422b-91ae-364da2661108http://www.securitytracker.com/id?1022371
af854a3a-2127-422b-91ae-364da2661108http://www.ubuntu.com/usn/USN-805-1
af854a3a-2127-422b-91ae-364da2661108http://www.vupen.com/english/advisories/2009/1563
af854a3a-2127-422b-91ae-364da2661108https://bugs.launchpad.net/bugs/385436
af854a3a-2127-422b-91ae-364da2661108https://bugs.launchpad.net/bugs/cve/2009-1904
af854a3a-2127-422b-91ae-364da2661108https://exchange.xforce.ibmcloud.com/vulnerabilities/51032
af854a3a-2127-422b-91ae-364da2661108https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9780
af854a3a-2127-422b-91ae-364da2661108https://www.redhat.com/archives/fedora-package-announce/2009-December/msg00731.html
Impacted products
Vendor Product Version
ruby-lang ruby 1.8.6
ruby-lang ruby 1.8.7

{
  "affected": [
    {
      "affectedData": [
        {
          "product": "n/a",
          "vendor": "n/a",
          "versions": [
            {
              "status": "affected",
              "version": "n/a"
            }
          ]
        }
      ],
      "source": "cve@mitre.org"
    }
  ],
  "configurations": [
    {
      "nodes": [
        {
          "cpeMatch": [
            {
              "criteria": "cpe:2.3:a:ruby-lang:ruby:1.8.6:*:*:*:*:*:*:*",
              "matchCriteriaId": "876B2575-4F81-4A70-9A88-9BEE44649626",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:ruby-lang:ruby:1.8.7:*:*:*:*:*:*:*",
              "matchCriteriaId": "2D86FC99-3521-4E22-8FD3-65CEB05A6342",
              "vulnerable": true
            }
          ],
          "negate": false,
          "operator": "OR"
        }
      ]
    }
  ],
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "The BigDecimal library in Ruby 1.8.6 before p369 and 1.8.7 before p173 allows context-dependent attackers to cause a denial of service (application crash) via a string argument that represents a large number, as demonstrated by an attempted conversion to the Float data type."
    },
    {
      "lang": "es",
      "value": "La librer\u00eda BigDecimal en Ruby v1.8.6 anteriores p369 y v1.8.7, anteriores a p173 permite a los atacantes dependientes del contexto causar una denegaci\u00f3n de servicio (ca\u00edda de la aplicaci\u00f3n) a trav\u00e9s de un argumento de cadena de caracteres que representa un n\u00famero largo, como se demuestra por un intento de conversi\u00f3n al tipo de dato Float."
    }
  ],
  "id": "CVE-2009-1904",
  "lastModified": "2026-06-16T23:08:19.730",
  "metrics": {
    "cvssMetricV2": [
      {
        "acInsufInfo": false,
        "baseSeverity": "MEDIUM",
        "cvssData": {
          "accessComplexity": "LOW",
          "accessVector": "NETWORK",
          "authentication": "NONE",
          "availabilityImpact": "PARTIAL",
          "baseScore": 5.0,
          "confidentialityImpact": "NONE",
          "integrityImpact": "NONE",
          "vectorString": "AV:N/AC:L/Au:N/C:N/I:N/A:P",
          "version": "2.0"
        },
        "exploitabilityScore": 10.0,
        "impactScore": 2.9,
        "obtainAllPrivilege": false,
        "obtainOtherPrivilege": false,
        "obtainUserPrivilege": false,
        "source": "nvd@nist.gov",
        "type": "Primary",
        "userInteractionRequired": false
      }
    ]
  },
  "published": "2009-06-11T21:30:00.217",
  "references": [
    {
      "source": "cve@mitre.org",
      "tags": [
        "Patch"
      ],
      "url": "http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=532689"
    },
    {
      "source": "cve@mitre.org",
      "url": "http://bugs.gentoo.org/show_bug.cgi?id=273213"
    },
    {
      "source": "cve@mitre.org",
      "tags": [
        "Patch"
      ],
      "url": "http://github.com/NZKoz/bigdecimal-segfault-fix/tree/master"
    },
    {
      "source": "cve@mitre.org",
      "url": "http://groups.google.com/group/rubyonrails-security/msg/fad60751e2b9b4f6?dmode=source"
    },
    {
      "source": "cve@mitre.org",
      "url": "http://lists.apple.com/archives/security-announce/2010//Mar/msg00001.html"
    },
    {
      "source": "cve@mitre.org",
      "url": "http://mail-index.netbsd.org/pkgsrc-changes/2009/06/10/msg024708.html"
    },
    {
      "source": "cve@mitre.org",
      "url": "http://osvdb.org/55031"
    },
    {
      "source": "cve@mitre.org",
      "tags": [
        "Exploit",
        "Patch"
      ],
      "url": "http://redmine.ruby-lang.org/issues/show/794"
    },
    {
      "source": "cve@mitre.org",
      "tags": [
        "Vendor Advisory"
      ],
      "url": "http://secunia.com/advisories/35399"
    },
    {
      "source": "cve@mitre.org",
      "url": "http://secunia.com/advisories/35527"
    },
    {
      "source": "cve@mitre.org",
      "url": "http://secunia.com/advisories/35593"
    },
    {
      "source": "cve@mitre.org",
      "url": "http://secunia.com/advisories/35699"
    },
    {
      "source": "cve@mitre.org",
      "url": "http://secunia.com/advisories/35937"
    },
    {
      "source": "cve@mitre.org",
      "url": "http://secunia.com/advisories/37705"
    },
    {
      "source": "cve@mitre.org",
      "url": "http://security.gentoo.org/glsa/glsa-200906-02.xml"
    },
    {
      "source": "cve@mitre.org",
      "url": "http://slackware.com/security/viewer.php?l=slackware-security\u0026y=2009\u0026m=slackware-security.430805"
    },
    {
      "source": "cve@mitre.org",
      "url": "http://support.apple.com/kb/HT4077"
    },
    {
      "source": "cve@mitre.org",
      "tags": [
        "Patch"
      ],
      "url": "http://weblog.rubyonrails.org/2009/6/10/dos-vulnerability-in-ruby/"
    },
    {
      "source": "cve@mitre.org",
      "url": "http://www.mandriva.com/security/advisories?name=MDVSA-2009:160"
    },
    {
      "source": "cve@mitre.org",
      "url": "http://www.redhat.com/support/errata/RHSA-2009-1140.html"
    },
    {
      "source": "cve@mitre.org",
      "url": "http://www.ruby-forum.com/topic/189071"
    },
    {
      "source": "cve@mitre.org",
      "tags": [
        "Patch",
        "Vendor Advisory"
      ],
      "url": "http://www.ruby-lang.org/en/news/2009/06/09/dos-vulnerability-in-bigdecimal/"
    },
    {
      "source": "cve@mitre.org",
      "url": "http://www.securityfocus.com/bid/35278"
    },
    {
      "source": "cve@mitre.org",
      "url": "http://www.securitytracker.com/id?1022371"
    },
    {
      "source": "cve@mitre.org",
      "url": "http://www.ubuntu.com/usn/USN-805-1"
    },
    {
      "source": "cve@mitre.org",
      "url": "http://www.vupen.com/english/advisories/2009/1563"
    },
    {
      "source": "cve@mitre.org",
      "url": "https://bugs.launchpad.net/bugs/385436"
    },
    {
      "source": "cve@mitre.org",
      "url": "https://bugs.launchpad.net/bugs/cve/2009-1904"
    },
    {
      "source": "cve@mitre.org",
      "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/51032"
    },
    {
      "source": "cve@mitre.org",
      "url": "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9780"
    },
    {
      "source": "cve@mitre.org",
      "url": "https://www.redhat.com/archives/fedora-package-announce/2009-December/msg00731.html"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Patch"
      ],
      "url": "http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=532689"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://bugs.gentoo.org/show_bug.cgi?id=273213"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Patch"
      ],
      "url": "http://github.com/NZKoz/bigdecimal-segfault-fix/tree/master"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://groups.google.com/group/rubyonrails-security/msg/fad60751e2b9b4f6?dmode=source"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://lists.apple.com/archives/security-announce/2010//Mar/msg00001.html"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://mail-index.netbsd.org/pkgsrc-changes/2009/06/10/msg024708.html"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://osvdb.org/55031"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Exploit",
        "Patch"
      ],
      "url": "http://redmine.ruby-lang.org/issues/show/794"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Vendor Advisory"
      ],
      "url": "http://secunia.com/advisories/35399"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://secunia.com/advisories/35527"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://secunia.com/advisories/35593"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://secunia.com/advisories/35699"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://secunia.com/advisories/35937"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://secunia.com/advisories/37705"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://security.gentoo.org/glsa/glsa-200906-02.xml"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://slackware.com/security/viewer.php?l=slackware-security\u0026y=2009\u0026m=slackware-security.430805"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://support.apple.com/kb/HT4077"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Patch"
      ],
      "url": "http://weblog.rubyonrails.org/2009/6/10/dos-vulnerability-in-ruby/"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://www.mandriva.com/security/advisories?name=MDVSA-2009:160"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://www.redhat.com/support/errata/RHSA-2009-1140.html"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://www.ruby-forum.com/topic/189071"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Patch",
        "Vendor Advisory"
      ],
      "url": "http://www.ruby-lang.org/en/news/2009/06/09/dos-vulnerability-in-bigdecimal/"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://www.securityfocus.com/bid/35278"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://www.securitytracker.com/id?1022371"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://www.ubuntu.com/usn/USN-805-1"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://www.vupen.com/english/advisories/2009/1563"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "https://bugs.launchpad.net/bugs/385436"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "https://bugs.launchpad.net/bugs/cve/2009-1904"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/51032"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9780"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "https://www.redhat.com/archives/fedora-package-announce/2009-December/msg00731.html"
    }
  ],
  "sourceIdentifier": "cve@mitre.org",
  "vulnStatus": "Modified",
  "weaknesses": [
    {
      "description": [
        {
          "lang": "en",
          "value": "CWE-189"
        }
      ],
      "source": "nvd@nist.gov",
      "type": "Primary"
    }
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…