{"id":"CVE-2018-3760","published":"2018-06-26T19:00:00Z","modified":"2024-09-16T18:39:20Z","title":"There is an information leak vulnerability in Sprockets","vendor":"HackerOne","product":"Sprockets","tier":"core","eol":null,"affectedVersions":[{"vendor":"HackerOne","product":"Sprockets","versions":["4.0.0.beta8, 3.7.2, 2.12.5"]}],"description":{"text":"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.","provenance":"source","from":"CVE.org"},"summary":{"text":"The information leak vulnerability in Sprockets, a HackerOne product, lies in the Sprockets asset-handling component and allows files outside an application's root directory to be read through improper path restriction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:40:02Z"},"cvss":null,"epss":{"score":0.26346,"percentile":0.98047,"date":"2026-11-21","provenance":"source"},"kev":null,"vulncheckKev":{"dateAdded":"2020-12-28","exploitedFirstSeen":"2023-11-13","ransomware":false,"evidence":[{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2023-11-13&host_type=src&vulnerability=cve-2018-3760","date":"2023-11-13"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2023-11-14&host_type=src&vulnerability=cve-2018-3760","date":"2023-11-14"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2023-11-15&host_type=src&vulnerability=cve-2018-3760","date":"2023-11-15"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2023-11-16&host_type=src&vulnerability=cve-2018-3760","date":"2023-11-16"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2023-11-17&host_type=src&vulnerability=cve-2018-3760","date":"2023-11-17"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2023-11-19&host_type=src&vulnerability=cve-2018-3760","date":"2023-11-19"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2023-11-20&host_type=src&vulnerability=cve-2018-3760","date":"2023-11-20"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2023-11-21&host_type=src&vulnerability=cve-2018-3760","date":"2023-11-21"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2023-11-22&host_type=src&vulnerability=cve-2018-3760","date":"2023-11-22"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2023-11-23&host_type=src&vulnerability=cve-2018-3760","date":"2023-11-23"}],"evidenceTotal":738,"provenance":"source"},"exploited":true,"otx":{"pulseCount":0,"pulses":[],"provenance":"machine"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/rails/sprockets/commit/c09131cf5b2c479263939c8582e22b98ed616c5fhttps://github.com/rails/sprockets/commit/9c34fa05900b968d74f08ccf40917848a7be9441https://github.com/rails/sprockets/commit/18b8a7f07a50c245e9aee7854ecdbe606bbd8bb5","tags":["x_refsource_MISC"]},{"url":"https://access.redhat.com/errata/RHSA-2018:2745","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://groups.google.com/d/msg/rubyonrails-security/ft_J--l55fM/7roDfQ50BwAJ","tags":["x_refsource_MISC"]},{"url":"https://access.redhat.com/errata/RHSA-2018:2244","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2018:2561","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2018:2245","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://www.debian.org/security/2018/dsa-4242","tags":["vendor-advisory","x_refsource_DEBIAN"]}],"techniques":[],"reports":[],"affected":[{"ecosystem":"RubyGems","package":"sprockets","vulnerableRanges":[">=3.0.0, <3.7.2",">=4.0.0.beta1, <4.0.0.beta8","<2.12.5"],"patched":["3.7.2","4.0.0.beta8","2.12.5"],"from":["GHSA-pr3h-jjhj-573x"],"provenance":"source"}],"advisories":[{"id":"GHSA-pr3h-jjhj-573x","url":"https://github.com/advisories/GHSA-pr3h-jjhj-573x","severity":"HIGH","ecosystem":"RubyGems","package":"sprockets","vulnerableRanges":[">=3.0.0, <3.7.2"],"patched":["3.7.2"],"provenance":"source","from":"GHSA"},{"id":"GHSA-pr3h-jjhj-573x","url":"https://github.com/advisories/GHSA-pr3h-jjhj-573x","severity":"HIGH","ecosystem":"RubyGems","package":"sprockets","vulnerableRanges":[">=4.0.0.beta1, <4.0.0.beta8"],"patched":["4.0.0.beta8"],"provenance":"source","from":"GHSA"},{"id":"GHSA-pr3h-jjhj-573x","url":"https://github.com/advisories/GHSA-pr3h-jjhj-573x","severity":"HIGH","ecosystem":"RubyGems","package":"sprockets","vulnerableRanges":["<2.12.5"],"patched":["2.12.5"],"provenance":"source","from":"GHSA"}],"euvd":{"id":"EUVD-2018-0198","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2018-0198","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[],"exploitSources":{"pocGithub":{"count":3,"skipped":1,"earliest":"2019-10-21","earliestUrl":"https://github.com/mpgn/CVE-2018-3760","repos":[{"name":"mpgn/CVE-2018-3760","url":"https://github.com/mpgn/CVE-2018-3760","stars":8,"created":"2019-10-21"},{"name":"cyberharsh/Ruby-On-Rails-Path-Traversal-Vulnerability-CVE-2018-3760-","url":"https://github.com/cyberharsh/Ruby-On-Rails-Path-Traversal-Vulnerability-CVE-2018-3760-","stars":3,"created":"2020-06-24"},{"name":"CyberCTF/vulhub-rails-cve-2018-3760","url":"https://github.com/CyberCTF/vulhub-rails-cve-2018-3760","stars":0,"created":"2026-10-08"}]},"nuclei":[{"id":"CVE-2018-3760","name":"Ruby On Rails - Local File Inclusion","severity":"high","path":"http/cves/2018/CVE-2018-3760.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2018/CVE-2018-3760.yaml"}],"first":{"date":"2019-10-21","source":"PoC-in-GitHub","url":"https://github.com/mpgn/CVE-2018-3760"},"provenance":"source"},"exploitRefs":[],"flow":[],"timeline":[{"date":"2018-06-26","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2018-3760","provenance":"source"},{"date":"2019-10-21","kind":"exploit-public","label":"First public exploit: PoC-in-GitHub","url":"https://github.com/mpgn/CVE-2018-3760","provenance":"source"},{"date":"2023-11-13","kind":"exploited-reported","label":"Exploitation first reported (VulnCheck KEV evidence)","url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2023-11-13&host_type=src&vulnerability=cve-2018-3760","provenance":"source"}],"speed":{"daysToPublicExploit":482,"firstExploitFrom":"PoC-in-GitHub","daysToKev":null},"priority":{"score":59.6,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in VulnCheck KEV"},{"name":"Recent KEV listing","points":0.0,"detail":"added 2154 days ago"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.61,"detail":"percentile 0.9805"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"3 PoC-in-GitHub repos; 1 nuclei template"},{"name":"Mentioned in OTX pulses","points":0.0,"detail":"0 pulses"},{"name":"CVSS severity","points":0.0,"detail":"no CVSS"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}