p PatchFirst

CVE-2011-2197

CVE-2011-2197

EPSS 2.0% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

Check the installed version:

gem list --exact actionpack
gem list --exact activesupport

Assess your server’s risks

The free check of your project’s lock file or server gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check dependencies for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

Published
Updated

Stack: ruby

Affected products and versions

  • n/a

    Versions
    • n/a: Affected

    No fix published

  • actionpack RubyGems

    Versions
    • 2.0.0
    • 2.0.1
    • 2.0.2
    • 2.0.4
    • 2.0.5
    • 2.1.0
    All versions (22)
    • 2.1.1
    • 2.1.2
    • 2.2.2
    • 2.2.3
    • 2.3.10
    • 2.3.11
    • 2.3.2
    • 2.3.3
    • 2.3.4
    • 2.3.5
    • 2.3.6
    • 2.3.7
    • 2.3.8
    • 2.3.8.pre1
    • 2.3.9
    • 2.3.9.pre
    Affected ranges
    • ECOSYSTEM: ≥ 2.0.0, < 2.3.12

    Update to 2.3.12

  • actionpack RubyGems

    Versions
    • 3.0.0
    • 3.0.1
    • 3.0.2
    • 3.0.3
    • 3.0.4
    • 3.0.4.rc1
    All versions (17)
    • 3.0.5
    • 3.0.5.rc1
    • 3.0.6
    • 3.0.6.rc1
    • 3.0.6.rc2
    • 3.0.7
    • 3.0.7.rc1
    • 3.0.7.rc2
    • 3.0.8.rc1
    • 3.0.8.rc2
    • 3.0.8.rc4
    Affected ranges
    • ECOSYSTEM: ≥ 3.0.0, < 3.0.8

    Update to 3.0.8

  • activesupport RubyGems

    Versions
    • 2.0.0
    • 2.0.1
    • 2.0.2
    • 2.0.4
    • 2.0.5
    • 2.1.0
    All versions (23)
    • 2.1.1
    • 2.1.2
    • 2.2.2
    • 2.2.3
    • 2.3.10
    • 2.3.11
    • 2.3.2
    • 2.3.3
    • 2.3.4
    • 2.3.5
    • 2.3.6
    • 2.3.6.pre
    • 2.3.7
    • 2.3.8
    • 2.3.8.pre1
    • 2.3.9
    • 2.3.9.pre
    Affected ranges
    • ECOSYSTEM: ≥ 2.0.0, < 2.3.12

    Update to 2.3.12

  • activesupport RubyGems

    Versions
    • 3.0.0
    • 3.0.1
    • 3.0.2
    • 3.0.3
    • 3.0.4
    • 3.0.4.rc1
    All versions (17)
    • 3.0.5
    • 3.0.5.rc1
    • 3.0.6
    • 3.0.6.rc1
    • 3.0.6.rc2
    • 3.0.7
    • 3.0.7.rc1
    • 3.0.7.rc2
    • 3.0.8.rc1
    • 3.0.8.rc2
    • 3.0.8.rc4
    Affected ranges
    • ECOSYSTEM: ≥ 3.0.0, < 3.0.8

    Update to 3.0.8

Original sources

Check your server →