CVE-2011-2197
Published Jun 30, 2011
Last updated 5 years ago
Overview
- Description
- The cross-site scripting (XSS) prevention feature in Ruby on Rails 2.x before 2.3.12, 3.0.x before 3.0.8, and 3.1.x before 3.1.0.rc2 does not properly handle mutation of safe buffers, which makes it easier for remote attackers to conduct XSS attacks via crafted strings to an application that uses a problematic string method, as demonstrated by the sub method.
- Source
- secalert@redhat.com
- NVD status
- Analyzed
Social media
- Hype score
- Not currently trending
Risk scores
CVSS 2.0
- Type
- Primary
- Base score
- 4.3
- Impact score
- 2.9
- Exploitability score
- 8.6
- Vector string
- AV:N/AC:M/Au:N/C:N/I:P/A:N
Weaknesses
- nvd@nist.gov
- CWE-79
Configurations
[ { "nodes": [ { "negate": false, "cpeMatch": [ { "criteria": "cpe:2.3:a:rubyonrails:rails:2.0.0:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "50EEAFDA-7782-4E1E-9058-205AD4BE9A01" }, { "criteria": "cpe:2.3:a:rubyonrails:rails:2.0.0:rc1:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "CAC748BB-BFC5-44F7-B633-CEEBB1279889" }, { "criteria": "cpe:2.3:a:rubyonrails:rails:2.0.0:rc2:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "38CF2C31-70BB-41D3-9462-0A8B9869A5F0" }, { "criteria": "cpe:2.3:a:rubyonrails:rails:2.0.1:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "F8584B37-7950-4C89-83D2-04E1ACDC60BF" }, { "criteria": "cpe:2.3:a:rubyonrails:rails:2.0.2:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "8CB26F65-5CFB-4BF8-BCC4-679327D4A8DB" }, { "criteria": "cpe:2.3:a:rubyonrails:rails:2.0.4:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "EF12EA5D-5EB5-46A8-AC60-65B327D610AD" }, { "criteria": "cpe:2.3:a:rubyonrails:rails:2.1.0:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "87B4B121-94BD-4E0F-8860-6239890043B9" }, { "criteria": "cpe:2.3:a:rubyonrails:rails:2.1.1:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "63CF211C-683E-4F7D-8C62-05B153AC1960" }, { "criteria": "cpe:2.3:a:rubyonrails:rails:2.1.2:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "456A2F7E-CC66-48C4-B028-353D2976837A" }, { "criteria": "cpe:2.3:a:rubyonrails:rails:2.2.0:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "9B1CDAFA-2AC6-4C46-9E65-0BE9127E770F" }, { "criteria": "cpe:2.3:a:rubyonrails:rails:2.2.1:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "F9806A84-2160-40EA-9960-AE7756CE4E0A" }, { "criteria": "cpe:2.3:a:rubyonrails:rails:2.2.2:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "07EC67D4-3D0F-4FF9-8197-71175DCB2723" }, { "criteria": "cpe:2.3:a:rubyonrails:rails:2.3.2:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "D1467583-23E9-4E2B-982D-80A356174BB6" }, { "criteria": "cpe:2.3:a:rubyonrails:rails:2.3.3:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "4DC784C0-5618-4C32-8C17-BE7041656E14" }, { "criteria": "cpe:2.3:a:rubyonrails:rails:2.3.4:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "CFB9ABB5-1F78-4CF0-BA82-7833E0F7A56E" }, { "criteria": "cpe:2.3:a:rubyonrails:rails:2.3.9:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "AF3ED96F-3EA4-4E47-A559-9DF9A7D3DDE2" }, { "criteria": "cpe:2.3:a:rubyonrails:rails:2.3.10:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "3B38EAA4-E948-45A7-B6E5-7214F2B545E3" }, { "criteria": "cpe:2.3:a:rubyonrails:rails:2.3.11:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "6ECC8C49-5A46-4D23-81F9-8243F5D508DB" } ], "operator": "OR" } ] }, { "nodes": [ { "negate": false, "cpeMatch": [ { "criteria": "cpe:2.3:a:rubyonrails:rails:3.0.0:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "E3BE7DFE-BA20-434B-A1DE-AD038B255C60" }, { "criteria": "cpe:2.3:a:rubyonrails:rails:3.0.0:beta:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "DCEE5B21-C990-4705-8239-0D7B29DAEDA1" }, { "criteria": "cpe:2.3:a:rubyonrails:rails:3.0.0:beta2:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "65EE33B1-B079-4CDE-B9C2-F1613A4610DC" }, { "criteria": "cpe:2.3:a:rubyonrails:rails:3.0.0:beta3:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "5CAAA20B-824F-4448-99DC-9712FE628073" }, { "criteria": "cpe:2.3:a:rubyonrails:rails:3.0.0:beta4:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "D2BEBDFB-0F30-454A-B74C-F820C9D2708B" }, { "criteria": "cpe:2.3:a:rubyonrails:rails:3.0.0:rc:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "1D7CD8C1-95D1-477E-AD96-6582EC33BA01" }, { "criteria": "cpe:2.3:a:rubyonrails:rails:3.0.0:rc2:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "B6F00D98-3D0F-40AF-AE4F-090B1E6B660C" }, { "criteria": "cpe:2.3:a:rubyonrails:rails:3.0.1:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "9476CE55-69C0-45D3-B723-6F459C90BF05" }, { "criteria": "cpe:2.3:a:rubyonrails:rails:3.0.1:pre:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "486F5BA6-BCF7-4691-9754-19D364B4438D" }, { "criteria": "cpe:2.3:a:rubyonrails:rails:3.0.2:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "112FC73B-A8BC-4EEA-9F4B-CCE685EF2838" }, { "criteria": "cpe:2.3:a:rubyonrails:rails:3.0.2:pre:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "E4498383-6FCA-4E17-A1FD-B0CE7EE50F85" }, { "criteria": "cpe:2.3:a:rubyonrails:rails:3.0.3:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "D26565B1-2BA6-4A3C-9264-7FC9A1820B59" }, { "criteria": "cpe:2.3:a:rubyonrails:rails:3.0.4:rc1:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "644EF85E-6D3E-4F5C-96B0-49AD2A2D90CE" }, { "criteria": "cpe:2.3:a:rubyonrails:rails:3.0.5:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "392E2D58-CB39-4832-B4D9-9C2E23B8E14C" }, { "criteria": "cpe:2.3:a:rubyonrails:rails:3.0.5:rc1:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "1F2466EA-7039-46A1-B4A3-8DACD1953A59" }, { "criteria": "cpe:2.3:a:rubyonrails:rails:3.0.6:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "0CAB4E72-0A15-4B26-9B69-074C278568D6" }, { "criteria": "cpe:2.3:a:rubyonrails:rails:3.0.6:rc1:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "A085E105-9375-440A-80CB-9B23E6D7EB4A" }, { "criteria": "cpe:2.3:a:rubyonrails:rails:3.0.6:rc2:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "25911E48-C5D7-4ED8-B4DB-7523A74CCF49" }, { "criteria": "cpe:2.3:a:rubyonrails:rails:3.0.7:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "FE6EC1E5-3A4A-4751-9F77-28EF5AF681E3" }, { "criteria": "cpe:2.3:a:rubyonrails:rails:3.0.7:rc1:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "B29674E3-CC80-446B-9A43-82594AE7A058" }, { "criteria": "cpe:2.3:a:rubyonrails:rails:3.0.7:rc2:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "FF34D8CB-2B6D-4CB8-A206-108293BCFFE7" }, { "criteria": "cpe:2.3:a:rubyonrails:rails:3.0.8:rc1:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "272268EE-E3E8-4683-B679-55D748877A7E" }, { "criteria": "cpe:2.3:a:rubyonrails:rails:3.0.8:rc2:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "7B69FD33-61FE-4F10-BBE1-215F59035D30" }, { "criteria": "cpe:2.3:a:rubyonrails:rails:3.0.8:rc3:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "08D7CB5D-82EF-4A24-A792-938FAB40863D" }, { "criteria": "cpe:2.3:a:rubyonrails:rails:3.0.8:rc4:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "8A044B21-47D5-468D-AF4A-06B3B5CC0824" }, { "criteria": "cpe:2.3:a:rubyonrails:ruby_on_rails:3.0.4:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "224BD488-0D7E-4F8B-9012-DE872DEB544C" } ], "operator": "OR" } ] }, { "nodes": [ { "negate": false, "cpeMatch": [ { "criteria": "cpe:2.3:a:rubyonrails:rails:3.1.0:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "DB51F3E9-4899-49A9-9E7B-0DCA92A91DD8" }, { "criteria": "cpe:2.3:a:rubyonrails:rails:3.1.0:beta1:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "F884F2F4-94F3-46CB-860B-1BCC0EEF408A" }, { "criteria": "cpe:2.3:a:rubyonrails:rails:3.1.0:rc1:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "88DFBB48-1C29-4639-9369-F5B413CA2337" } ], "operator": "OR" } ] } ]