USN-7646-1: Rails vulnerability

Publication date

17 July 2025

Overview

Rails could be made to expose sensitive information over the network.


Packages

  • rails - MVC ruby based framework geared for web application development

Details

It was discovered that Rails did not correctly handle headers. An
attacker could potentially use this issue to view arbitrary files
on a target server. (CVE-2019-5418)

It was discovered that Rails did not correctly handle headers. An
attacker could potentially use this issue to view arbitrary files
on a target server. (CVE-2019-5418)

Update instructions

In general, a standard system update will make all the necessary changes.

Learn more about how to get the fixes.

The problem can be corrected by updating your system to the following package versions:

Ubuntu Release Package Version
18.04 bionic rails –  2:4.2.10-0ubuntu4+esm2  
ruby-actionpack –  2:4.2.10-0ubuntu4+esm2  
ruby-actionview –  2:4.2.10-0ubuntu4+esm2  
16.04 xenial rails –  2:4.2.6-1ubuntu0.1~esm2  
ruby-actionpack –  2:4.2.6-1ubuntu0.1~esm2  
ruby-actionview –  2:4.2.6-1ubuntu0.1~esm2  

Reduce your security exposure

Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.


Have additional questions?

Talk to a member of the team ›