CVE-2011-3624
Various methods in WEBrick::HTTPRequest in Ruby 1.9.2 and 1.8.7 and earlier do not validate the X-Forwarded-For, X-Forwarded-Host and X-Forwarded-Server headers in requests, which might allow remote attackers to inject arbitrary text into log files or bypass intended address parsing via a crafted header.
What to do
Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 14.04 | ruby1.9.1 | Fix pending | ||
| Red Hat Enterprise Linux 6 | ruby | Fix pending Affected | ||
| Red Hat Enterprise Linux 6 | ruby-devel | Fix pending Affected | ||
| Red Hat Enterprise Linux 6 | ruby-docs | Fix pending Affected | ||
| Red Hat Enterprise Linux 6 | ruby-irb | Fix pending Affected | ||
| Red Hat Enterprise Linux 6 | ruby-libs | Fix pending Affected | ||
| Red Hat Enterprise Linux 6 | ruby-rdoc | Fix pending Affected | ||
| Red Hat Enterprise Linux 6 | ruby-ri | Fix pending Affected | ||
| Red Hat Enterprise Linux 6 | ruby-static | Fix pending Affected | ||
| Red Hat Enterprise Linux 6 | ruby-tcltk | Fix pending Affected | ||
| Red Hat Enterprise Linux 5 | ruby | Fix pending Affected | ||
| Red Hat Enterprise Linux 4 | ruby | Fix pending Affected |
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Ruby: affected: 1.9.2, 1.8.7 and earlier
References
- https://security-tracker.debian.org/tracker/CVE-2011-3624
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2011-3624
- https://access.redhat.com/security/cve/cve-2011-3624
- https://redmine.ruby-lang.org/issues/5418
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.