{"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-7829 in the wild and no public exploit code.","fix":"Upgrade actionpack to a fixed version for your release line: 3.2.21, 4.0.12, 4.1.8 or 4.2.0.beta4.","what":"CVE-2014-7829 is a medium-severity path traversal vulnerability in Opensuse Opensuse, published on 18 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-7829 and fix it if it is affected.\n\nWhat it is: CVE-2014-7829 is a medium-severity path traversal vulnerability in Opensuse Opensuse, published on 18 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-7829 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.21\n- actionpack (RubyGems): affected from 3.0.0; fixed in 3.2.21\n- actionpack (RubyGems): affected from 4.0.0; fixed in 4.0.12\n- actionpack (RubyGems): affected from 4.0.0; fixed in 4.0.12\n- actionpack (RubyGems): affected from 4.1.0; fixed in 4.1.8\n- actionpack (RubyGems): affected from 4.1.0; fixed in 4.1.8\n- actionpack (RubyGems): affected from 4.2.0.beta1; fixed in 4.2.0.beta4\n- actionpack (RubyGems): affected from 4.2.0.beta1; fixed in 4.2.0.beta4\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-7829/ (Markdown: https://insights.sbomify.com/CVE-2014-7829/index.md)","id":"CVE-2014-7829","markdown":"https://insights.sbomify.com/CVE-2014-7829/index.md","name":"CVE-2014-7829","record":{"aliases":["DEBIAN-CVE-2014-7829","GHSA-h56m-vwxc-3qpw"],"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":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":"Directory traversal vulnerability in actionpack/lib/action_dispatch/middleware/static.rb in Action Pack in Ruby on Rails 3.x before 3.2.21, 4.0.x before 4.0.12, 4.1.x before 4.1.8, and 4.2.x before 4.2.0.beta4, when serve_static_assets is enabled, allows remote attackers to determine the existence of files outside the application root via vectors involving a \\ (backslash) character, a similar issue to CVE-2014-7818.","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":"Directory traversal vulnerability in actionpack","id":"CVE-2014-7829","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":4,"next":{"headline":"Moodle cross-site scripting (XSS) vulnerability","id":"CVE-2014-7830"},"packages":[{"ecosystem":"RubyGems","fixed":["3.2.21"],"introduced":["3.0.0"],"last_affected":[],"package":"actionpack","purl":null,"source":"GHSA-h56m-vwxc-3qpw"},{"ecosystem":"RubyGems","fixed":["3.2.21"],"introduced":["3.0.0"],"last_affected":[],"package":"actionpack","purl":"pkg:gem/actionpack","source":"GHSA-h56m-vwxc-3qpw"},{"ecosystem":"RubyGems","fixed":["4.0.12"],"introduced":["4.0.0"],"last_affected":[],"package":"actionpack","purl":null,"source":"GHSA-h56m-vwxc-3qpw"},{"ecosystem":"RubyGems","fixed":["4.0.12"],"introduced":["4.0.0"],"last_affected":[],"package":"actionpack","purl":"pkg:gem/actionpack","source":"GHSA-h56m-vwxc-3qpw"},{"ecosystem":"RubyGems","fixed":["4.1.8"],"introduced":["4.1.0"],"last_affected":[],"package":"actionpack","purl":null,"source":"GHSA-h56m-vwxc-3qpw"},{"ecosystem":"RubyGems","fixed":["4.1.8"],"introduced":["4.1.0"],"last_affected":[],"package":"actionpack","purl":"pkg:gem/actionpack","source":"GHSA-h56m-vwxc-3qpw"},{"ecosystem":"RubyGems","fixed":["4.2.0.beta4"],"introduced":["4.2.0.beta1"],"last_affected":[],"package":"actionpack","purl":null,"source":"GHSA-h56m-vwxc-3qpw"},{"ecosystem":"RubyGems","fixed":["4.2.0.beta4"],"introduced":["4.2.0.beta1"],"last_affected":[],"package":"actionpack","purl":"pkg:gem/actionpack","source":"GHSA-h56m-vwxc-3qpw"}],"prev":{"headline":"Auth bypass in n/a","id":"CVE-2014-7828"},"products":["n/a"],"published":"2014-11-18","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-7829/"}