CVE-2011-2705
Published Aug 5, 2011
Last updated 13 years ago
Overview
- Description
- The SecureRandom.random_bytes function in lib/securerandom.rb in Ruby before 1.8.7-p352 and 1.9.x before 1.9.2-p290 relies on PID values for initialization, which makes it easier for context-dependent attackers to predict the result string by leveraging knowledge of random strings obtained in an earlier process with the same PID.
- Source
- secalert@redhat.com
- NVD status
- Modified
Social media
- Hype score
- Not currently trending
Risk scores
CVSS 2.0
- Type
- Primary
- Base score
- 5
- Impact score
- 2.9
- Exploitability score
- 10
- Vector string
- AV:N/AC:L/Au:N/C:P/I:N/A:N
Weaknesses
- nvd@nist.gov
- CWE-20
Configurations
[ { "nodes": [ { "negate": false, "cpeMatch": [ { "criteria": "cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "2C145137-6CD4-4E6D-B17E-F21F88E272BF", "versionEndIncluding": "1.8.7-334" }, { "criteria": "cpe:2.3:a:ruby-lang:ruby:1.8.7:p22:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "1FE05F3A-A8B5-45EE-BF52-D55E2768F890" }, { "criteria": "cpe:2.3:a:ruby-lang:ruby:1.8.7:p71:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "0C6D66E2-3E10-4DEA-9E6B-53A5DE78AFCF" }, { "criteria": "cpe:2.3:a:ruby-lang:ruby:1.8.7:p72:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "17AA24B4-30C7-4D46-A55C-A5CC7C446436" }, { "criteria": "cpe:2.3:a:ruby-lang:ruby:1.8.7-160:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "DD10E326-6907-47DB-B2F1-D09EF2E7EBD8" }, { "criteria": "cpe:2.3:a:ruby-lang:ruby:1.8.7-173:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "55A7F5F2-3F5D-441B-9756-8540BDCB3356" }, { "criteria": "cpe:2.3:a:ruby-lang:ruby:1.8.7-248:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "4FE44E5F-8ECA-4325-9454-12682D84F430" }, { "criteria": "cpe:2.3:a:ruby-lang:ruby:1.8.7-249:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "81D68A0E-2809-4A02-BEEA-B37719AC23DC" }, { "criteria": "cpe:2.3:a:ruby-lang:ruby:1.8.7-299:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "324BD6C5-27BE-4678-846D-90433FD6AD0A" }, { "criteria": "cpe:2.3:a:ruby-lang:ruby:1.8.7-302:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "6AA691FE-2BBF-4407-A52B-8CCAA07E0BC1" }, { "criteria": "cpe:2.3:a:ruby-lang:ruby:1.8.7-330:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "3684A343-ABD7-4B80-993C-1F3CC0F983DF" }, { "criteria": "cpe:2.3:a:ruby-lang:ruby:1.8.7-p21:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "D1797BB1-935E-45F0-A803-A985E5659236" } ], "operator": "OR" } ] }, { "nodes": [ { "negate": false, "cpeMatch": [ { "criteria": "cpe:2.3:a:ruby-lang:ruby:1.9:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "D9237145-35F8-4E05-B730-77C0F386E5B2" }, { "criteria": "cpe:2.3:a:ruby-lang:ruby:1.9:r18423:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "11743FC1-0DD5-4946-AECF-C9962BF7C21F" }, { "criteria": "cpe:2.3:a:ruby-lang:ruby:1.9.0:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "52179EC7-CAF0-42AA-A21A-7105E10CA122" }, { "criteria": "cpe:2.3:a:ruby-lang:ruby:1.9.0:r18423:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "D906EA97-7071-4CFA-84EF-EC82D813D7AE" }, { "criteria": "cpe:2.3:a:ruby-lang:ruby:1.9.0-0:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "A2D5127F-1E79-4F83-8BB0-C479B6CFE9AE" }, { "criteria": "cpe:2.3:a:ruby-lang:ruby:1.9.0-1:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "31181BA2-71A7-40C8-9E08-8FEAB013977B" }, { "criteria": "cpe:2.3:a:ruby-lang:ruby:1.9.0-2:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "EB8F3772-C973-41DB-AB3A-F4323418FC7F" }, { "criteria": "cpe:2.3:a:ruby-lang:ruby:1.9.0-20060415:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "A688B357-7096-4362-A7DD-5A24FB0AF431" }, { "criteria": "cpe:2.3:a:ruby-lang:ruby:1.9.0-20070709:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "46913DE9-8AE6-40E5-AEA1-6D2524EE7581" }, { "criteria": "cpe:2.3:a:ruby-lang:ruby:1.9.1:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "C78BB1D8-0505-484D-B824-1AA219F8B247" }, { "criteria": "cpe:2.3:a:ruby-lang:ruby:1.9.1:-p0:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "470CF526-96F6-4DD1-B687-17106051A6D5" }, { "criteria": "cpe:2.3:a:ruby-lang:ruby:1.9.1:-p129:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "52159D9F-8CD3-4103-82E6-BDE035BA3625" }, { "criteria": "cpe:2.3:a:ruby-lang:ruby:1.9.1:-p243:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "EC0FD3F8-73A3-4518-8892-1E34D709FB89" }, { "criteria": "cpe:2.3:a:ruby-lang:ruby:1.9.1:-p376:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "4B846CCE-7D1D-4A7E-95D8-50F92CF79AC6" }, { "criteria": "cpe:2.3:a:ruby-lang:ruby:1.9.1:-p429:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "CB99DD31-7355-4FF1-AE41-CC156F83D7A2" }, { "criteria": "cpe:2.3:a:ruby-lang:ruby:1.9.1:-preview_1:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "A7E15263-74D3-42D4-B37C-C649F68EDECC" }, { "criteria": "cpe:2.3:a:ruby-lang:ruby:1.9.1:-preview_2:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "BA7FEA9B-06CE-4D08-9D61-2526ED5AE630" }, { "criteria": "cpe:2.3:a:ruby-lang:ruby:1.9.1:-rc1:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "0D7F7EA5-7F6C-4C15-AB97-024836DC4862" }, { "criteria": "cpe:2.3:a:ruby-lang:ruby:1.9.1:-rc2:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "236B38D1-0CCA-43C5-B2FC-1224F4F4E165" }, { "criteria": "cpe:2.3:a:ruby-lang:ruby:1.9.2:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "5178D04D-1C29-4353-8987-559AA07443EC" }, { "criteria": "cpe:2.3:a:ruby-lang:ruby:1.9.2:dev:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "D19F541D-98C2-42A6-9364-D6D9A279796E" }, { "criteria": "cpe:2.3:a:ruby-lang:ruby:1.9.2-p136:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "BCD01B23-A519-4FB8-99A1-1F91E6267E22" }, { "criteria": "cpe:2.3:a:ruby-lang:ruby:1.9.2-p180:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "C9035B9B-CAFA-49F2-900D-78108FDAFB90" } ], "operator": "OR" } ] } ]