cve.bz

CVE-2018-3760 Path traversal

7.5 highEPSS 26%Fix available

High (7.5). EPSS 26% estimated probability of exploitation activity in the next 30 days. Fixed in sprockets 2.12.5, 3.7.2, 4.0.0.beta8.

On this page
There is an information leak vulnerability in Sprockets. Versions Affected: 4.0.0.beta7 and lower, 3.7.1 and lower, 2.12.4 and lower. Specially crafted requests can be used to access files that exists on the filesystem that is outside an application's root directory, when the Sprockets server is used in production. All users running an affected release should either upgrade or use one of the work arounds immediately.

Severity

CVSS 3.0

7.5 high
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS
26% (unchanged from 26% a week ago; 27% 30 days ago) estimated probability of exploitation activity in the next 30 days; 98th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
CWE-22 Improper Limitation of a Pathname to a Restricted Directory (Path traversal)
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2018-3760 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-3760?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-3760?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2018-3760 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
redhat:cloudforms4.5
redhat:cloudforms4.6
redhat:enterprise_linux6.0
redhat:enterprise_linux6.7
redhat:enterprise_linux7.0
redhat:enterprise_linux7.3
redhat:enterprise_linux7.4
redhat:enterprise_linux7.5
redhat:enterprise_linux7.6
sprockets_project:sprocketsfrom 2.0.0 through 2.12.4
sprockets_project:sprocketsfrom 3.0.0 through 3.7.1
sprockets_project:sprockets4.0.0:beta1
sprockets_project:sprockets4.0.0:beta2
sprockets_project:sprockets4.0.0:beta3
sprockets_project:sprockets4.0.0:beta4
sprockets_project:sprockets4.0.0:beta5
sprockets_project:sprockets4.0.0:beta6
sprockets_project:sprockets4.0.0:beta7
debian:debian_linux9.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-pr3h-jjhj-573xRubyGemssprockets>=3.0.0 <3.7.23.7.2
GHSA-pr3h-jjhj-573xRubyGemssprockets>=4.0.0.beta1 <4.0.0.beta84.0.0.beta8
GHSA-pr3h-jjhj-573xRubyGemssprockets<2.12.52.12.5

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian8ruby-sprockets2.12.3-1+deb8u1DLA-1419-1
Debian9ruby-sprockets3.7.0-1+deb9u1DSA-4242-1
Debian12, 13, 14ruby-sprockets3.7.0-1.1DEBIAN-CVE-2018-3760
Ubuntu18.04:LTSruby-sprockets3.7.0-1+deb9u1build0.18.04.1UBUNTU-CVE-2018-3760
UbuntuPro:16.04:LTSruby-sprockets3.3.0-1ubuntu0.1~esm1UBUNTU-CVE-2018-3760 USN-8990-1
Red Hatcloudforms_managementengine:5.8::el7ansible-tower-setup, ansible-tower-server0:3.1.8-1.el7atRHSA-2018:2745
Red Hatcloudforms_managementengine:5.8::el7cfme, cfme-gemset, cfme-appliance and 2 more0:5.8.5.1-1.el7cfRHSA-2018:2745
Red Hatcloudforms_managementengine:5.8::el7rh-postgresql95-postgresql-pglogical, rh-postgresql95-postgresql-pglogical-debuginfo0:1.2.1-2.el7cfRHSA-2018:2745
Red Hatcloudforms_managementengine:5.9::el7cfme, cfme-gemset, cfme-appliance and 6 more0:5.9.4.7-1.el7cfRHSA-2018:2561
Red Hatcloudforms_managementengine:5.9::el7rh-postgresql95-postgresql-pglogical, rh-postgresql95-postgresql-pglogical-debuginfo0:2.1.0-4.el7cfRHSA-2018:2561
Red Hatcloudforms_managementengine:5.9::el7rh-ruby23-rubygem-redhat_access_cfme, rh-ruby23-rubygem-redhat_access_cfme-doc0:2.0.3-1.el7cfRHSA-2018:2561
Red Hatrhel_software_collections:3::el6rh-ror42-rubygem-sprockets, rh-ror42-rubygem-sprockets-doc0:3.2.0-5.el6RHSA-2018:2244
Red Hatrhel_software_collections:3::el6rh-ror50-rubygem-sprockets, rh-ror50-rubygem-sprockets-doc0:3.7.1-2.el6RHSA-2018:2245
Red Hatrhel_software_collections:3::el7rh-ror42-rubygem-sprockets, rh-ror42-rubygem-sprockets-doc0:3.2.0-5.el7RHSA-2018:2244
Red Hatrhel_software_collections:3::el7rh-ror50-rubygem-sprockets, rh-ror50-rubygem-sprockets-doc0:3.7.1-2.el7RHSA-2018:2245
SUSEEnterprise Storage 4, OpenStack Cloud 7crowbar4.0+git.1528801103.f5708341-7.20.1SUSE-SU-2018:2603-1
SUSEEnterprise Storage 4, OpenStack Cloud 7crowbar-core4.0+git.1534246408.3ab19c567-9.33.1SUSE-SU-2018:2603-1
SUSELinux Enterprise High Availability Extension 15rubygem-sprockets3.7.2-3.3.1SUSE-SU-2018:1994-1
SUSEOpenStack Cloud 7crowbar-ha4.0+git.1533750802.5768e73-4.34.1SUSE-SU-2018:2603-1
SUSEOpenStack Cloud 7crowbar-openstack4.0+git.1534254269.ce598a9fe-9.39.1SUSE-SU-2018:2603-1
SUSEOpenStack Cloud 7crowbar-ui1.1.0+git.1533844061.4ac8e723-4.3.1SUSE-SU-2018:2603-1
SUSEOpenStack Cloud 7rubygem-sprockets-2_122.12.5-1.3.1SUSE-SU-2018:2217-1
SUSEOpenStack Cloud Crowbar 8crowbar5.0+git.1528696845.81a7b5d0-3.3.1SUSE-SU-2018:2762-1
SUSEOpenStack Cloud Crowbar 8crowbar-core5.0+git.1533887407.6e9b0412d-3.8.2SUSE-SU-2018:2762-1
SUSEOpenStack Cloud Crowbar 8crowbar-ha5.0+git.1530177874.35b9099-3.3.1SUSE-SU-2018:2762-1
SUSEOpenStack Cloud Crowbar 8crowbar-init5.0+git.1520420379.d5bbb35-3.3.1SUSE-SU-2018:2762-1
SUSEOpenStack Cloud Crowbar 8crowbar-openstack5.0+git.1534167599.d325ef804-4.8.2SUSE-SU-2018:2762-1
2 more for SUSE in the JSON and on SUSE's page.
openSUSETumbleweedruby3.2-rubygem-sprockets4.1.1-1.6openSUSE-SU-2024:13169-1
openSUSETumbleweedruby3.2-rubygem-sprockets-3.73.7.2-1.20openSUSE-SU-2024:13170-1
openSUSETumbleweedrubygem-sprockets4.0.3-1.1openSUSE-SU-2024:11906-1
openSUSETumbleweedrubygem-sprockets4.2.1-1.5openSUSE-SU-2024:14177-1
openSUSETumbleweedrubygem-sprockets4.2.1-1.7openSUSE-SU-2025:15127-1
openSUSETumbleweedrubygem-sprockets4.2.1-1.9openSUSE-SU-2026:10364-1
openSUSETumbleweedrubygem-sprockets-3.73.7.3-1.1openSUSE-SU-2024:14075-1
openSUSETumbleweedrubygem-sprockets-3.73.7.5-1.3openSUSE-SU-2025:15128-1
openSUSETumbleweedrubygem-sprockets-3.73.7.5-1.5openSUSE-SU-2026:10365-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's mitigation

Ensure config.assets.compile = false in production.rb.

ProductPackageStateAdvisory
CloudForms Management Engine 5.8ansible-tower-0:3.1.8-1.el7atFixed 2018-09-26RHSA-2018:2745
CloudForms Management Engine 5.8cfme-0:5.8.5.1-1.el7cfFixed 2018-09-26RHSA-2018:2745
CloudForms Management Engine 5.8cfme-appliance-0:5.8.5.1-1.el7cfFixed 2018-09-26RHSA-2018:2745
CloudForms Management Engine 5.8cfme-gemset-0:5.8.5.1-1.el7cfFixed 2018-09-26RHSA-2018:2745
CloudForms Management Engine 5.8rh-postgresql95-postgresql-pglogical-0:1.2.1-2.el7cfFixed 2018-09-26RHSA-2018:2745
CloudForms Management Engine 5.9cfme-0:5.9.4.7-1.el7cfFixed 2018-09-04RHSA-2018:2561
CloudForms Management Engine 5.9cfme-amazon-smartstate-0:5.9.4.7-1.el7cfFixed 2018-09-04RHSA-2018:2561
CloudForms Management Engine 5.9cfme-appliance-0:5.9.4.7-1.el7cfFixed 2018-09-04RHSA-2018:2561
CloudForms Management Engine 5.9cfme-gemset-0:5.9.4.7-1.el7cfFixed 2018-09-04RHSA-2018:2561
CloudForms Management Engine 5.9rh-postgresql95-postgresql-pglogical-0:2.1.0-4.el7cfFixed 2018-09-04RHSA-2018:2561
CloudForms Management Engine 5.9rh-ruby23-rubygem-redhat_access_cfme-0:2.0.3-1.el7cfFixed 2018-09-04RHSA-2018:2561
Red Hat Software Collections for Red Hat Enterprise Linux 6rh-ror42-rubygem-sprockets-0:3.2.0-5.el6Fixed 2018-07-24RHSA-2018:2244
Red Hat Software Collections for Red Hat Enterprise Linux 6rh-ror50-rubygem-sprockets-0:3.7.1-2.el6Fixed 2018-07-24RHSA-2018:2245
Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUSrh-ror42-rubygem-sprockets-0:3.2.0-5.el6Fixed 2018-07-24RHSA-2018:2244
Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUSrh-ror50-rubygem-sprockets-0:3.7.1-2.el6Fixed 2018-07-24RHSA-2018:2245
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-ror42-rubygem-sprockets-0:3.2.0-5.el7Fixed 2018-07-24RHSA-2018:2244
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-ror50-rubygem-sprockets-0:3.7.1-2.el7Fixed 2018-07-24RHSA-2018:2245
Red Hat Ceph Storage 1.3ruby193-rubygem-sprocketsWill not fix
Red Hat Satellite 6ruby193-rubygem-sprocketsNot affected
Red Hat Subscription Asset Managerruby193-rubygem-sprocketsWill not fix
6 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2018-3760.

GitHub PoC (unverified)

Repositories on GitHub named after this CVE. Nobody has checked them and they are not scanned: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it.

Detection rules

Ways to detect this CVE, not exploit code: the nuclei template that checks a system for it, and the Suricata and Snort rules that name it. A rule set may ship a rule turned off, so check yours by its sid.

Attack patterns (CAPEC)

  • CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic Likelihood: High · Severity: High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-78 Using Escaped Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-79 Using Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-126 Path Traversal Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-200 (59).

References

Check your stackJSON