Live threats

All CVEs / Macournoyer

CVE-2009-3287Macournoyer Thin

High 7.5 No auth needed

Priority
60
CVSS 2.0
7.5
EPSS
1.4%
probability of exploitation in 30 days · percentile 72
Auth required
No
Published
Sep 22, 2009
Updated
Jun 16, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-20
Vector
AV:N/AC:L/Au:N/C:P/I:P/A:P

What happens

lib/thin/connection.rb in Thin web server before 1.2.4 relies on the X-Forwarded-For header to determine the IP address of the client, which allows remote attackers to spoof the IP address and hide activities via a modified X-Forwarded-For header.

Original NVD text.

What to do

  1. Apply the vendor's security update for Thin.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
RubyGems thin < 1.2.4 1.2.4 gem "thin", ">= 1.2.4"

Per OSV / GitHub Advisories (GHSA-j24p-r6wx-r79w). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
macournoyerthin≤ 1.2.2
macournoyerthin0.4.0
macournoyerthin0.4.1
macournoyerthin0.5.0
macournoyerthin0.5.1
macournoyerthin0.5.2
macournoyerthin0.5.3
macournoyerthin0.5.4
macournoyerthin0.6.0
macournoyerthin0.6.3
macournoyerthin0.6.4
macournoyerthin0.7.0
macournoyerthin0.7.1
macournoyerthin0.8.0
macournoyerthin0.8.1
macournoyerthin0.8.2
macournoyerthin1.0.0
macournoyerthin1.1.0
macournoyerthin1.1.1
macournoyerthin1.2.0
macournoyerthin1.2.1

Official sources

References

Links published by the sources. Open them with care.