CVE-2024-47220

Publication date 22 September 2024

Last updated 27 October 2025


Ubuntu priority

Description

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."

Read the notes from the security team

Status

Package Ubuntu Release Status
ruby-webrick 25.10 questing
Fixed 1.8.1-1ubuntu1
25.04 plucky
Fixed 1.8.1-1ubuntu1
24.10 oracular
Fixed 1.8.1-1ubuntu1
24.04 LTS noble
Fixed 1.8.1-1ubuntu0.1
22.04 LTS jammy
Fixed 1.7.0-3ubuntu0.1
20.04 LTS focal Not in release
jruby 25.10 questing
Not affected
25.04 plucky
Not affected
24.04 LTS noble
Not affected
22.04 LTS jammy Not in release
20.04 LTS focal
Vulnerable
18.04 LTS bionic
Vulnerable
16.04 LTS xenial
Vulnerable
14.04 LTS trusty
Vulnerable
ruby2.3 25.10 questing Not in release
25.04 plucky Not in release
24.04 LTS noble Not in release
22.04 LTS jammy Not in release
16.04 LTS xenial
Fixed 2.3.1-2~ubuntu16.04.16+esm11
ruby2.5 25.10 questing Not in release
25.04 plucky Not in release
24.04 LTS noble Not in release
22.04 LTS jammy Not in release
18.04 LTS bionic
Fixed 2.5.1-1ubuntu1.16+esm6
ruby2.7 25.10 questing Not in release
25.04 plucky Not in release
24.04 LTS noble Not in release
22.04 LTS jammy Not in release
20.04 LTS focal
Fixed 2.7.0-5ubuntu1.18+esm3

Get expanded security coverage with Ubuntu Pro

Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.

Get Ubuntu Pro 30-day free trial

Notes


mdeslaur

webrick should not be used in production

Patch details

For informational purposes only. We recommend not to cherry-pick updates. How can I get the fixes?

Package Patch details
ruby-webrick

References

Related Ubuntu Security Notices (USN)

Other references