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...
Medium CVSS 5.3
- CVE id
- CVE-2011-3624
- Published
- Last modified
Affected packages
| Package | Affected versions | Fixed in |
|---|---|---|
| Ruby Runtimes and servers |
1.8.7 1.9.2 |
not fixed yet |
How to fix it
No fix yet. No fixed Ruby release is listed yet.
ruby --version
- Check the advisory and its references below for a workaround or a configuration change that turns off the affected feature.
- Limit exposure: don't pass untrusted input to the affected code path, and keep it off public endpoints if you can.
- Install the patched Ruby release of your minor line (rbenv, the ruby image tag) and update .ruby-version.
A free AIssue account reads the runtime versions your repositories pin (version files, Dockerfiles, build files) and tells you when one is affected.
Details
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.
References
- CVE-2011-3624 on the NVD
- Advisory: https://nvd.nist.gov/vuln/detail/CVE-2011-3624
- Web: https://access.redhat.com/security/cve/cve-2011-3624
- Web: https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2011-3624
- Web: https://redmine.ruby-lang.org/issues/5418
- Web: https://security-tracker.debian.org/tracker/CVE-2011-3624
- Web: https://access.redhat.com/security/cve/cve-2011-3624
- Web: https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2011-3624
- Web: https://redmine.ruby-lang.org/issues/5418
- Web: https://security-tracker.debian.org/tracker/CVE-2011-3624
Am I affected?
Upload or paste your lockfile. We check every package version in it against OSV.dev, this advisory included, and email you the vulnerable ones with the version that fixes them. Free, and no account needed.
About this data
Source: National Vulnerability Database (NVD) (public domain). Severity comes from the advisory's own rating when it has one, else from its CVSS score.