{"answers":{"affected":"24 open source packages ship an affected version, including sprockets. It affects 1 product.","exploited":"There is no known exploitation of CVE-2014-7819 in the wild and no public exploit code.","fix":"Upgrade sprockets to a fixed version for your release line: 2.0.5, 2.1.4, 2.10.2 or 2.11.3.","what":"CVE-2014-7819 is a medium-severity path traversal vulnerability in n/a, published on 8 Nov 2014. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2014-7819 and fix it if it is affected.\n\nWhat it is: CVE-2014-7819 is a medium-severity path traversal vulnerability in n/a, published on 8 Nov 2014. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2014-7819 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- sprockets (RubyGems): affected all versions; fixed in 2.0.5\n- sprockets (RubyGems): affected all versions; fixed in 2.0.5\n- sprockets (RubyGems): affected from 2.1.0; fixed in 2.1.4\n- sprockets (RubyGems): affected from 2.1.0; fixed in 2.1.4\n- sprockets (RubyGems): affected from 2.10.0; fixed in 2.10.2\n- sprockets (RubyGems): affected from 2.10.0; fixed in 2.10.2\n- sprockets (RubyGems): affected from 2.11.0; fixed in 2.11.3\n- sprockets (RubyGems): affected from 2.11.0; fixed in 2.11.3\n- sprockets (RubyGems): affected from 2.12.0; fixed in 2.12.3\n- sprockets (RubyGems): affected from 2.12.0; fixed in 2.12.3\n- sprockets (RubyGems): affected from 2.2.0; fixed in 2.2.3\n- sprockets (RubyGems): affected from 2.2.0; fixed in 2.2.3\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2014-7819/ (Markdown: https://insights.sbomify.com/CVE-2014-7819/index.md)","id":"CVE-2014-7819","markdown":"https://insights.sbomify.com/CVE-2014-7819/index.md","name":"CVE-2014-7819","record":{"aliases":["DEBIAN-CVE-2014-7819","GHSA-33pp-3763-mrfp","MGASA-2015-0074","SUSE-SU-2015:0787-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Ruby asset pipeline library","requires_auth":"none","summary":"Remote attackers can determine the existence of files outside the application root using directory traversal sequences in Sprockets.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"sprockets","vendor":"sprockets_project"}],"cvss":{"score":5,"severity":"medium","source":"nvd","vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","version":"2.0"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"Multiple directory traversal vulnerabilities in server.rb in Sprockets before 2.0.5, 2.1.x before 2.1.4, 2.2.x before 2.2.3, 2.3.x before 2.3.3, 2.4.x before 2.4.6, 2.5.x before 2.5.1, 2.6.x and 2.7.x before 2.7.1, 2.8.x before 2.8.3, 2.9.x before 2.9.4, 2.10.x before 2.10.2, 2.11.x before 2.11.3, 2.12.x before 2.12.3, and 3.x before 3.0.0.beta.3, as distributed with Ruby on Rails 3.x and 4.x, allow remote attackers to determine the existence of files outside the application root via a ../ (dot dot slash) sequence with (1) double slashes or (2) URL encoding.","ecosystems":["RubyGems"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"sprockets vulnerable to Path Traversal","id":"CVE-2014-7819","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"RubyGems","product":null,"products":[],"type":"path_traversal","year":"2014"},"n_packages":24,"n_references":6,"next":{"headline":"DO NOT USE THIS CANDIDATE NUMBER.","id":"CVE-2014-7820"},"packages":[{"ecosystem":"RubyGems","fixed":["2.0.5"],"introduced":["0"],"last_affected":[],"package":"sprockets","purl":null,"source":"GHSA-33pp-3763-mrfp"},{"ecosystem":"RubyGems","fixed":["2.0.5"],"introduced":["0"],"last_affected":[],"package":"sprockets","purl":"pkg:gem/sprockets","source":"GHSA-33pp-3763-mrfp"},{"ecosystem":"RubyGems","fixed":["2.1.4"],"introduced":["2.1.0"],"last_affected":[],"package":"sprockets","purl":null,"source":"GHSA-33pp-3763-mrfp"},{"ecosystem":"RubyGems","fixed":["2.1.4"],"introduced":["2.1.0"],"last_affected":[],"package":"sprockets","purl":"pkg:gem/sprockets","source":"GHSA-33pp-3763-mrfp"},{"ecosystem":"RubyGems","fixed":["2.10.2"],"introduced":["2.10.0"],"last_affected":[],"package":"sprockets","purl":null,"source":"GHSA-33pp-3763-mrfp"},{"ecosystem":"RubyGems","fixed":["2.10.2"],"introduced":["2.10.0"],"last_affected":[],"package":"sprockets","purl":"pkg:gem/sprockets","source":"GHSA-33pp-3763-mrfp"},{"ecosystem":"RubyGems","fixed":["2.11.3"],"introduced":["2.11.0"],"last_affected":[],"package":"sprockets","purl":null,"source":"GHSA-33pp-3763-mrfp"},{"ecosystem":"RubyGems","fixed":["2.11.3"],"introduced":["2.11.0"],"last_affected":[],"package":"sprockets","purl":"pkg:gem/sprockets","source":"GHSA-33pp-3763-mrfp"},{"ecosystem":"RubyGems","fixed":["2.12.3"],"introduced":["2.12.0"],"last_affected":[],"package":"sprockets","purl":null,"source":"GHSA-33pp-3763-mrfp"},{"ecosystem":"RubyGems","fixed":["2.12.3"],"introduced":["2.12.0"],"last_affected":[],"package":"sprockets","purl":"pkg:gem/sprockets","source":"GHSA-33pp-3763-mrfp"},{"ecosystem":"RubyGems","fixed":["2.2.3"],"introduced":["2.2.0"],"last_affected":[],"package":"sprockets","purl":null,"source":"GHSA-33pp-3763-mrfp"},{"ecosystem":"RubyGems","fixed":["2.2.3"],"introduced":["2.2.0"],"last_affected":[],"package":"sprockets","purl":"pkg:gem/sprockets","source":"GHSA-33pp-3763-mrfp"},{"ecosystem":"RubyGems","fixed":["2.3.3"],"introduced":["2.3.0"],"last_affected":[],"package":"sprockets","purl":null,"source":"GHSA-33pp-3763-mrfp"},{"ecosystem":"RubyGems","fixed":["2.3.3"],"introduced":["2.3.0"],"last_affected":[],"package":"sprockets","purl":"pkg:gem/sprockets","source":"GHSA-33pp-3763-mrfp"},{"ecosystem":"RubyGems","fixed":["2.4.6"],"introduced":["2.4.0"],"last_affected":[],"package":"sprockets","purl":null,"source":"GHSA-33pp-3763-mrfp"},{"ecosystem":"RubyGems","fixed":["2.4.6"],"introduced":["2.4.0"],"last_affected":[],"package":"sprockets","purl":"pkg:gem/sprockets","source":"GHSA-33pp-3763-mrfp"},{"ecosystem":"RubyGems","fixed":["2.5.1"],"introduced":["2.5.0"],"last_affected":[],"package":"sprockets","purl":null,"source":"GHSA-33pp-3763-mrfp"},{"ecosystem":"RubyGems","fixed":["2.5.1"],"introduced":["2.5.0"],"last_affected":[],"package":"sprockets","purl":"pkg:gem/sprockets","source":"GHSA-33pp-3763-mrfp"},{"ecosystem":"RubyGems","fixed":["2.7.1"],"introduced":["2.6.0"],"last_affected":[],"package":"sprockets","purl":null,"source":"GHSA-33pp-3763-mrfp"},{"ecosystem":"RubyGems","fixed":["2.7.1"],"introduced":["2.6.0"],"last_affected":[],"package":"sprockets","purl":"pkg:gem/sprockets","source":"GHSA-33pp-3763-mrfp"},{"ecosystem":"RubyGems","fixed":["2.8.3"],"introduced":["2.8.0"],"last_affected":[],"package":"sprockets","purl":null,"source":"GHSA-33pp-3763-mrfp"},{"ecosystem":"RubyGems","fixed":["2.8.3"],"introduced":["2.8.0"],"last_affected":[],"package":"sprockets","purl":"pkg:gem/sprockets","source":"GHSA-33pp-3763-mrfp"},{"ecosystem":"RubyGems","fixed":["2.9.4"],"introduced":["2.9.0"],"last_affected":[],"package":"sprockets","purl":null,"source":"GHSA-33pp-3763-mrfp"},{"ecosystem":"RubyGems","fixed":["2.9.4"],"introduced":["2.9.0"],"last_affected":[],"package":"sprockets","purl":"pkg:gem/sprockets","source":"GHSA-33pp-3763-mrfp"}],"prev":{"headline":"actionpack vulnerable to Path Traversal","id":"CVE-2014-7818"},"products":["n/a"],"published":"2014-11-08","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-06","vendors":["n/a"]},"summary":"Remote attackers can determine the existence of files outside the application root using directory traversal sequences in Sprockets.","url":"https://insights.sbomify.com/CVE-2014-7819/"}