{"answers":{"affected":"8 open source packages ship an affected version, including actionpack. It affects 3 products.","exploited":"There is no known exploitation of CVE-2014-7818 in the wild and no public exploit code.","fix":"Upgrade actionpack to a fixed version for your release line: 3.2.20, 4.0.11, 4.1.7 or 4.2.0.beta3.","what":"CVE-2014-7818 is a medium-severity path traversal vulnerability in Opensuse Opensuse, 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-7818 and fix it if it is affected.\n\nWhat it is: CVE-2014-7818 is a medium-severity path traversal vulnerability in Opensuse Opensuse, 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-7818 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- actionpack (RubyGems): affected from 3.0.0; fixed in 3.2.20\n- actionpack (RubyGems): affected from 3.0.0; fixed in 3.2.20\n- actionpack (RubyGems): affected from 4.0.0; fixed in 4.0.11\n- actionpack (RubyGems): affected from 4.0.0; fixed in 4.0.11\n- actionpack (RubyGems): affected from 4.1.0; fixed in 4.1.7\n- actionpack (RubyGems): affected from 4.1.0; fixed in 4.1.7\n- actionpack (RubyGems): affected from 4.2.0.beta1; fixed in 4.2.0.beta3\n- actionpack (RubyGems): affected from 4.2.0.beta1; fixed in 4.2.0.beta3\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-7818/ (Markdown: https://insights.sbomify.com/CVE-2014-7818/index.md)","id":"CVE-2014-7818","markdown":"https://insights.sbomify.com/CVE-2014-7818/index.md","name":"CVE-2014-7818","record":{"aliases":["DEBIAN-CVE-2014-7818","GHSA-29gr-w57f-rpfw"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":true,"product_category":"Ruby on Rails","requires_auth":"none","summary":"Remote attackers can determine the existence of files outside the application root via directory traversal when static asset serving is enabled.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"opensuse","vendor":"opensuse"},{"product":"rails","vendor":"rubyonrails"},{"product":"ruby_on_rails","vendor":"rubyonrails"}],"cvss":{"score":4.3,"severity":"medium","source":"nvd","vector":"AV:N/AC:M/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":"Directory traversal vulnerability in actionpack/lib/action_dispatch/middleware/static.rb in Action Pack in Ruby on Rails 3.x before 3.2.20, 4.0.x before 4.0.11, 4.1.x before 4.1.7, and 4.2.x before 4.2.0.beta3, when serve_static_assets is enabled, allows remote attackers to determine the existence of files outside the application root via a /..%2F sequence.","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":"actionpack vulnerable to Path Traversal","id":"CVE-2014-7818","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"RubyGems","product":"opensuse:opensuse","products":["opensuse:opensuse","rubyonrails:rails"],"type":"path_traversal","year":"2014"},"n_packages":8,"n_references":3,"next":{"headline":"sprockets vulnerable to Path Traversal","id":"CVE-2014-7819"},"packages":[{"ecosystem":"RubyGems","fixed":["3.2.20"],"introduced":["3.0.0"],"last_affected":[],"package":"actionpack","purl":null,"source":"GHSA-29gr-w57f-rpfw"},{"ecosystem":"RubyGems","fixed":["3.2.20"],"introduced":["3.0.0"],"last_affected":[],"package":"actionpack","purl":"pkg:gem/actionpack","source":"GHSA-29gr-w57f-rpfw"},{"ecosystem":"RubyGems","fixed":["4.0.11"],"introduced":["4.0.0"],"last_affected":[],"package":"actionpack","purl":null,"source":"GHSA-29gr-w57f-rpfw"},{"ecosystem":"RubyGems","fixed":["4.0.11"],"introduced":["4.0.0"],"last_affected":[],"package":"actionpack","purl":"pkg:gem/actionpack","source":"GHSA-29gr-w57f-rpfw"},{"ecosystem":"RubyGems","fixed":["4.1.7"],"introduced":["4.1.0"],"last_affected":[],"package":"actionpack","purl":null,"source":"GHSA-29gr-w57f-rpfw"},{"ecosystem":"RubyGems","fixed":["4.1.7"],"introduced":["4.1.0"],"last_affected":[],"package":"actionpack","purl":"pkg:gem/actionpack","source":"GHSA-29gr-w57f-rpfw"},{"ecosystem":"RubyGems","fixed":["4.2.0.beta3"],"introduced":["4.2.0.beta1"],"last_affected":[],"package":"actionpack","purl":null,"source":"GHSA-29gr-w57f-rpfw"},{"ecosystem":"RubyGems","fixed":["4.2.0.beta3"],"introduced":["4.2.0.beta1"],"last_affected":[],"package":"actionpack","purl":"pkg:gem/actionpack","source":"GHSA-29gr-w57f-rpfw"}],"prev":{"headline":"Command injection in n/a","id":"CVE-2014-7817"},"products":["n/a"],"published":"2014-11-08","related":[{"cvss_score":10,"headline":"Memory corruption in n/a","id":"CVE-2015-5957","kev_date_added":null,"published":"2015-09-28"},{"cvss_score":10,"headline":"Memory corruption in n/a","id":"CVE-2015-0491","kev_date_added":null,"published":"2015-04-16"},{"cvss_score":10,"headline":"Integer overflow in n/a","id":"CVE-2008-2388","kev_date_added":null,"published":"2008-06-06"},{"cvss_score":9.8,"headline":"Integer overflow in n/a","id":"CVE-2010-1866","kev_date_added":null,"published":"2010-05-07"},{"cvss_score":9.3,"headline":"Other in n/a","id":"CVE-2015-0492","kev_date_added":null,"published":"2015-04-16"},{"cvss_score":8.8,"headline":"Memory corruption in n/a","id":"CVE-2014-0158","kev_date_added":null,"published":"2018-04-10"},{"cvss_score":8.8,"headline":"Null dereference in n/a","id":"CVE-2016-4343","kev_date_added":null,"published":"2016-05-22"}],"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 via directory traversal when static asset serving is enabled.","url":"https://insights.sbomify.com/CVE-2014-7818/"}