Sprockets Vulnerability — Ubuntu Security Update (USN-8990-1)
USN-8990-1 fixes CVE-2018-3760 in Sprockets on Ubuntu — path traversal (CWE-22) when the Sprockets server mode ran in production, letting a remote attacker read arbitrary files outside the intended asset directory. Update: sudo apt update && sudo apt upgrade ruby-sprockets and restart the application. CVSS 7.5.
What this means under a SharedLicense license
Path traversal in an asset server reads arbitrary files as the application user — source code, configuration files with secrets, and environment files are all readable targets.
-
USN-8990-1
Publication date
3 November 2026
Overview
Sprockets would allow unintended access to files over the network.
Releases
Open side navigation
Packages
- ruby-sprockets – Rack-based asset packaging system
Details
It was discovered that Sprockets incorrectly handled certain specially
crafted requests when the Sprockets server was used in production. A remote
attacker could possibly use this issue to access files outside of the
application’s root directory.
It was discovered that Sprockets incorrectly handled certain specially
crafted requests when the Sprockets server was used in production. A remote
attacker could possibly use this issue to access files outside of the
application’s root directory.
Update instructions
After a standard system update you need to restart any applications using
Sprockets to 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 | ||
|---|---|---|---|
|
16.04
LTS xenial |
ruby-sprockets –
3.3.0-1ubuntu0.1~esm1 |
||
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.
References
Frequently Asked Questions
What is CVE-2018-3760?
Who is affected?
How do I apply the fix?
Why is a 2018 CVE appearing now?
References
Check your system for vulnerabilities
Select your product and operating system to see the exact fix commands that apply to you.
Check Your System