Skip to content
OpenAdvisories
Medium CVE-2012-1098 EUVD-2017-0294GHSA-qv8p-v9qw-wc7g

activesupport Cross-site Scripting vulnerability

Published Mar 13, 2012 · Updated Aug 6, 2024 · Assigned by redhat

Description

Cross-site scripting (XSS) vulnerability in Ruby on Rails 3.0.x before 3.0.12, 3.1.x before 3.1.4, and 3.2.x before 3.2.2 allows remote attackers to inject arbitrary web script or HTML via vectors involving a SafeBuffer object that is manipulated through certain methods.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 rails 2.3.14 —
Debian 13 rails 2.3.14 —
Debian 12 rails 2.3.14 —

Affected packages

EcosystemPackageAffectedFixedRecord
RubyGems activesupport >= 3.0.0, < 3.0.12 3.0.12 GHSA-qv8p-v9qw-wc7g
RubyGems activesupport >= 3.1.0, < 3.1.4 3.1.4 GHSA-qv8p-v9qw-wc7g
RubyGems activesupport >= 3.2.0, < 3.2.2 3.2.2 GHSA-qv8p-v9qw-wc7g

References