GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration

FKIE_CVE-2011-2686

Vulnerability from fkie_nvd - Published: 2011-08-05 21:55 - Updated: 2026-06-16 23:31
Severity
Summary
Ruby before 1.8.7-p352 does not reset the random seed upon forking, which makes it easier for context-dependent attackers to predict the values of random numbers by leveraging knowledge of the number sequence obtained in a different child process, a related issue to CVE-2003-0900. NOTE: this issue exists because of a regression during Ruby 1.8.6 development.
References
secalert@redhat.comhttp://lists.fedoraproject.org/pipermail/package-announce/2011-July/063062.htmlPatch
secalert@redhat.comhttp://lists.fedoraproject.org/pipermail/package-announce/2011-July/063071.htmlPatch
secalert@redhat.comhttp://redmine.ruby-lang.org/issues/show/4338
secalert@redhat.comhttp://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=31713Patch
secalert@redhat.comhttp://svn.ruby-lang.org/repos/ruby/tags/v1_8_7_352/ChangeLog
secalert@redhat.comhttp://www.openwall.com/lists/oss-security/2011/07/11/1Patch
secalert@redhat.comhttp://www.openwall.com/lists/oss-security/2011/07/12/14Patch
secalert@redhat.comhttp://www.openwall.com/lists/oss-security/2011/07/20/1Patch
secalert@redhat.comhttp://www.openwall.com/lists/oss-security/2011/07/20/16Patch
secalert@redhat.comhttp://www.ruby-lang.org/en/news/2011/07/02/ruby-1-8-7-p352-released/Patch
secalert@redhat.comhttp://www.securityfocus.com/bid/49015
secalert@redhat.comhttps://bugzilla.redhat.com/show_bug.cgi?id=722415Patch
secalert@redhat.comhttps://exchange.xforce.ibmcloud.com/vulnerabilities/69032
af854a3a-2127-422b-91ae-364da2661108http://lists.fedoraproject.org/pipermail/package-announce/2011-July/063062.htmlPatch
af854a3a-2127-422b-91ae-364da2661108http://lists.fedoraproject.org/pipermail/package-announce/2011-July/063071.htmlPatch
af854a3a-2127-422b-91ae-364da2661108http://redmine.ruby-lang.org/issues/show/4338
af854a3a-2127-422b-91ae-364da2661108http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=31713Patch
af854a3a-2127-422b-91ae-364da2661108http://svn.ruby-lang.org/repos/ruby/tags/v1_8_7_352/ChangeLog
af854a3a-2127-422b-91ae-364da2661108http://www.openwall.com/lists/oss-security/2011/07/11/1Patch
af854a3a-2127-422b-91ae-364da2661108http://www.openwall.com/lists/oss-security/2011/07/12/14Patch
af854a3a-2127-422b-91ae-364da2661108http://www.openwall.com/lists/oss-security/2011/07/20/1Patch
af854a3a-2127-422b-91ae-364da2661108http://www.openwall.com/lists/oss-security/2011/07/20/16Patch
af854a3a-2127-422b-91ae-364da2661108http://www.ruby-lang.org/en/news/2011/07/02/ruby-1-8-7-p352-released/Patch
af854a3a-2127-422b-91ae-364da2661108http://www.securityfocus.com/bid/49015
af854a3a-2127-422b-91ae-364da2661108https://bugzilla.redhat.com/show_bug.cgi?id=722415Patch
af854a3a-2127-422b-91ae-364da2661108https://exchange.xforce.ibmcloud.com/vulnerabilities/69032
Impacted products
Vendor Product Version
ruby-lang ruby *
ruby-lang ruby 1.8.7
ruby-lang ruby 1.8.7
ruby-lang ruby 1.8.7
ruby-lang ruby 1.8.7-160
ruby-lang ruby 1.8.7-173
ruby-lang ruby 1.8.7-248
ruby-lang ruby 1.8.7-249
ruby-lang ruby 1.8.7-299
ruby-lang ruby 1.8.7-302
ruby-lang ruby 1.8.7-330
ruby-lang ruby 1.8.7-p21

{
  "affected": [
    {
      "affectedData": [
        {
          "product": "n/a",
          "vendor": "n/a",
          "versions": [
            {
              "status": "affected",
              "version": "n/a"
            }
          ]
        }
      ],
      "source": "secalert@redhat.com"
    }
  ],
  "configurations": [
    {
      "nodes": [
        {
          "cpeMatch": [
            {
              "criteria": "cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*",
              "matchCriteriaId": "2C145137-6CD4-4E6D-B17E-F21F88E272BF",
              "versionEndIncluding": "1.8.7-334",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:ruby-lang:ruby:1.8.7:p22:*:*:*:*:*:*",
              "matchCriteriaId": "1FE05F3A-A8B5-45EE-BF52-D55E2768F890",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:ruby-lang:ruby:1.8.7:p71:*:*:*:*:*:*",
              "matchCriteriaId": "0C6D66E2-3E10-4DEA-9E6B-53A5DE78AFCF",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:ruby-lang:ruby:1.8.7:p72:*:*:*:*:*:*",
              "matchCriteriaId": "17AA24B4-30C7-4D46-A55C-A5CC7C446436",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:ruby-lang:ruby:1.8.7-160:*:*:*:*:*:*:*",
              "matchCriteriaId": "DD10E326-6907-47DB-B2F1-D09EF2E7EBD8",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:ruby-lang:ruby:1.8.7-173:*:*:*:*:*:*:*",
              "matchCriteriaId": "55A7F5F2-3F5D-441B-9756-8540BDCB3356",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:ruby-lang:ruby:1.8.7-248:*:*:*:*:*:*:*",
              "matchCriteriaId": "4FE44E5F-8ECA-4325-9454-12682D84F430",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:ruby-lang:ruby:1.8.7-249:*:*:*:*:*:*:*",
              "matchCriteriaId": "81D68A0E-2809-4A02-BEEA-B37719AC23DC",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:ruby-lang:ruby:1.8.7-299:*:*:*:*:*:*:*",
              "matchCriteriaId": "324BD6C5-27BE-4678-846D-90433FD6AD0A",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:ruby-lang:ruby:1.8.7-302:*:*:*:*:*:*:*",
              "matchCriteriaId": "6AA691FE-2BBF-4407-A52B-8CCAA07E0BC1",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:ruby-lang:ruby:1.8.7-330:*:*:*:*:*:*:*",
              "matchCriteriaId": "3684A343-ABD7-4B80-993C-1F3CC0F983DF",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:ruby-lang:ruby:1.8.7-p21:*:*:*:*:*:*:*",
              "matchCriteriaId": "D1797BB1-935E-45F0-A803-A985E5659236",
              "vulnerable": true
            }
          ],
          "negate": false,
          "operator": "OR"
        }
      ]
    }
  ],
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "Ruby before 1.8.7-p352 does not reset the random seed upon forking, which makes it easier for context-dependent attackers to predict the values of random numbers by leveraging knowledge of the number sequence obtained in a different child process, a related issue to CVE-2003-0900.  NOTE: this issue exists because of a regression during Ruby 1.8.6 development."
    },
    {
      "lang": "es",
      "value": "Ruby en versiones anteriores a la 1.8.7-p352 no resetea la semilla aleatoria despu\u00e9s de la creacci\u00f3n de procesos (\"forking\"), lo que facilita a atacantes dependientes del contexto predecir los valores de n\u00fameros aleatorios bas\u00e1ndose en el conocimiento de n\u00fameros de secuencia obtenidos de procesos hijo diferentes. Vulnerabilidad relacionada con la CVE-2003-0900.  NOTA: este problema existe debido a una regresi\u00f3n durante el desarrollo de Ruby 1.8.6."
    }
  ],
  "id": "CVE-2011-2686",
  "lastModified": "2026-06-16T23:31:47.733",
  "metrics": {
    "cvssMetricV2": [
      {
        "acInsufInfo": false,
        "baseSeverity": "MEDIUM",
        "cvssData": {
          "accessComplexity": "LOW",
          "accessVector": "NETWORK",
          "authentication": "NONE",
          "availabilityImpact": "NONE",
          "baseScore": 5.0,
          "confidentialityImpact": "PARTIAL",
          "integrityImpact": "NONE",
          "vectorString": "AV:N/AC:L/Au:N/C:P/I:N/A:N",
          "version": "2.0"
        },
        "exploitabilityScore": 10.0,
        "impactScore": 2.9,
        "obtainAllPrivilege": false,
        "obtainOtherPrivilege": false,
        "obtainUserPrivilege": false,
        "source": "nvd@nist.gov",
        "type": "Primary",
        "userInteractionRequired": false
      }
    ]
  },
  "published": "2011-08-05T21:55:04.467",
  "references": [
    {
      "source": "secalert@redhat.com",
      "tags": [
        "Patch"
      ],
      "url": "http://lists.fedoraproject.org/pipermail/package-announce/2011-July/063062.html"
    },
    {
      "source": "secalert@redhat.com",
      "tags": [
        "Patch"
      ],
      "url": "http://lists.fedoraproject.org/pipermail/package-announce/2011-July/063071.html"
    },
    {
      "source": "secalert@redhat.com",
      "url": "http://redmine.ruby-lang.org/issues/show/4338"
    },
    {
      "source": "secalert@redhat.com",
      "tags": [
        "Patch"
      ],
      "url": "http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision\u0026revision=31713"
    },
    {
      "source": "secalert@redhat.com",
      "url": "http://svn.ruby-lang.org/repos/ruby/tags/v1_8_7_352/ChangeLog"
    },
    {
      "source": "secalert@redhat.com",
      "tags": [
        "Patch"
      ],
      "url": "http://www.openwall.com/lists/oss-security/2011/07/11/1"
    },
    {
      "source": "secalert@redhat.com",
      "tags": [
        "Patch"
      ],
      "url": "http://www.openwall.com/lists/oss-security/2011/07/12/14"
    },
    {
      "source": "secalert@redhat.com",
      "tags": [
        "Patch"
      ],
      "url": "http://www.openwall.com/lists/oss-security/2011/07/20/1"
    },
    {
      "source": "secalert@redhat.com",
      "tags": [
        "Patch"
      ],
      "url": "http://www.openwall.com/lists/oss-security/2011/07/20/16"
    },
    {
      "source": "secalert@redhat.com",
      "tags": [
        "Patch"
      ],
      "url": "http://www.ruby-lang.org/en/news/2011/07/02/ruby-1-8-7-p352-released/"
    },
    {
      "source": "secalert@redhat.com",
      "url": "http://www.securityfocus.com/bid/49015"
    },
    {
      "source": "secalert@redhat.com",
      "tags": [
        "Patch"
      ],
      "url": "https://bugzilla.redhat.com/show_bug.cgi?id=722415"
    },
    {
      "source": "secalert@redhat.com",
      "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/69032"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Patch"
      ],
      "url": "http://lists.fedoraproject.org/pipermail/package-announce/2011-July/063062.html"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Patch"
      ],
      "url": "http://lists.fedoraproject.org/pipermail/package-announce/2011-July/063071.html"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://redmine.ruby-lang.org/issues/show/4338"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Patch"
      ],
      "url": "http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision\u0026revision=31713"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://svn.ruby-lang.org/repos/ruby/tags/v1_8_7_352/ChangeLog"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Patch"
      ],
      "url": "http://www.openwall.com/lists/oss-security/2011/07/11/1"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Patch"
      ],
      "url": "http://www.openwall.com/lists/oss-security/2011/07/12/14"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Patch"
      ],
      "url": "http://www.openwall.com/lists/oss-security/2011/07/20/1"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Patch"
      ],
      "url": "http://www.openwall.com/lists/oss-security/2011/07/20/16"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Patch"
      ],
      "url": "http://www.ruby-lang.org/en/news/2011/07/02/ruby-1-8-7-p352-released/"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://www.securityfocus.com/bid/49015"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Patch"
      ],
      "url": "https://bugzilla.redhat.com/show_bug.cgi?id=722415"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/69032"
    }
  ],
  "sourceIdentifier": "secalert@redhat.com",
  "vulnStatus": "Modified",
  "weaknesses": [
    {
      "description": [
        {
          "lang": "en",
          "value": "CWE-310"
        }
      ],
      "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…

Detection rules are retrieved from Rulezet.

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…