CVE-2024-47220 Affecting ruby-webrick package, versions <1.8.1-1ubuntu1


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.05% (18th 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-UBUNTU2410-RUBYWEBRICK-8190268
  • published15 Oct 2024
  • disclosed22 Sept 2024

Introduced: 22 Sep 2024

CVE-2024-47220  (opens in a new tab)

How to fix?

Upgrade Ubuntu:24.10 ruby-webrick to version 1.8.1-1ubuntu1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ruby-webrick package and not the ruby-webrick package as distributed by Ubuntu. See How to fix? for Ubuntu:24.10 relevant fixed versions and status.

An issue was discovered in the WEBrick toolkit through 1.8.1 for Ruby. It allows HTTP request smuggling by providing both a Content-Length header and a Transfer-Encoding header, e.g., "GET /admin HTTP/1.1\r\n" inside of a "POST /user HTTP/1.1\r\n" request. NOTE: the supplier's position is "Webrick should not be used in production."

CVSS Scores

version 3.1