Arbitrary Code Injection Affecting ruby package, versions [1.8.7,1.9.2]


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.38% (73rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-RUBY-2370225
  • published26 Jan 2022
  • disclosed26 Nov 2019
  • creditUnknown

Introduced: 26 Nov 2019

CVE-2011-3624  (opens in a new tab)
CWE-74  (opens in a new tab)

How to fix?

There is no fixed version for ruby.

Overview

Affected versions of this package are vulnerable to Arbitrary Code Injection. 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.

CVSS Scores

version 3.1