{"answers":{"affected":"10 open source packages ship an affected version, including actionpack and actionview. It affects 6 products.","exploited":"Yes. Attackers have exploited CVE-2016-0752 in the wild since at least 25 Mar 2022.","fix":"Upgrade actionpack to a fixed version for your release line: 3.2.22.1, 4.1.14.1 or 4.2.5.1. US federal agencies must fix it by 15 Apr 2022.","what":"CVE-2016-0752 is a high-severity path traversal vulnerability in Debian Debian Linux, published on 16 Feb 2016. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2016-0752 and fix it if it is affected.\n\nWhat it is: CVE-2016-0752 is a high-severity path traversal vulnerability in Debian Debian Linux, published on 16 Feb 2016. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: Yes. Attackers have exploited CVE-2016-0752 in the wild since at least 25 Mar 2022.\n\nAffected packages and fixed versions:\n- actionpack (RubyGems): affected all versions; fixed in 3.2.22.1\n- actionpack (RubyGems): affected all versions; fixed in 3.2.22.1\n- actionpack (RubyGems): affected from 4.0.0; fixed in 4.1.14.1\n- actionpack (RubyGems): affected from 4.0.0; fixed in 4.1.14.1\n- actionpack (RubyGems): affected from 4.2.0; fixed in 4.2.5.1\n- actionpack (RubyGems): affected from 4.2.0; fixed in 4.2.5.1\n- actionview (RubyGems): affected from 4.0.0; fixed in 4.1.14.1\n- actionview (RubyGems): affected from 4.0.0; fixed in 4.1.14.1\n- actionview (RubyGems): affected from 4.2.0; fixed in 4.2.5.1\n- actionview (RubyGems): affected from 4.2.0; fixed in 4.2.5.1\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-2016-0752/ (Markdown: https://insights.sbomify.com/CVE-2016-0752/index.md)","id":"CVE-2016-0752","markdown":"https://insights.sbomify.com/CVE-2016-0752/index.md","name":"CVE-2016-0752","record":{"aliases":["DEBIAN-CVE-2016-0752","GHSA-xrr4-p6fq-hjg7","SUSE-SU-2016:0456-1","SUSE-SU-2016:0599-1"],"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 read arbitrary files by exploiting path traversal in Ruby on Rails Action View when the render method is used without restrictions.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"debian_linux","vendor":"debian"},{"product":"leap","vendor":"opensuse"},{"product":"opensuse","vendor":"opensuse"},{"product":"software_collections","vendor":"redhat"},{"product":"rails","vendor":"rubyonrails"},{"product":"linux_enterprise_module_for_containers","vendor":"suse"}],"cvss":{"score":7.5,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"Directory traversal vulnerability in Action View in Ruby on Rails before 3.2.22.1, 4.0.x and 4.1.x before 4.1.14.1, 4.2.x before 4.2.5.1, and 5.x before 5.0.0.beta1.1 allows remote attackers to read arbitrary files by leveraging an application's unrestricted use of the render method and providing a .. (dot dot) in a pathname.","ecosystems":["RubyGems","SUSE:Enterprise Storage 2.1","SUSE:OpenStack Cloud 5"],"exploits":{"exploitdb":1,"first_seen":"2016-01-26","github_poc":2,"max_poc_stars":10,"metasploit":1,"nuclei":0,"refs":[{"date":"2016-01-26T15:25:34Z","kind":"github_poc","ref":"https://github.com/forced-request/rails-rce-cve-2016-0752","stars":10,"title":null},{"date":"2016-03-18T21:10:18Z","kind":"github_poc","ref":"https://github.com/dachidahu/CVE-2016-0752","stars":0,"title":null},{"date":"2016-10-16","kind":"metasploit","ref":"exploit/multi/http/rails_dynamic_render_code_exec","stars":null,"title":"Ruby on Rails Dynamic Render File Upload Remote Code Execution"},{"date":"2016-10-17","kind":"exploitdb","ref":"40561","stars":null,"title":"Ruby on Rails - Dynamic Render File Upload / Remote Code Execution (Metasploit)"}],"tier":"exploited"},"has_fix":true,"headline":"Ruby on Rails Directory Traversal","id":"CVE-2016-0752","indexable":true,"kev":{"dateAdded":"2022-03-25","dueDate":"2022-04-15","knownRansomwareCampaignUse":"Unknown","product":"Ruby on Rails","requiredAction":"Apply updates per vendor instructions.","vendorProject":"Rails","vulnerabilityName":"Ruby on Rails Directory Traversal Vulnerability"},"kind":"cve","links":{"ecosystem":"RubyGems","product":"debian:debian_linux","products":["debian:debian_linux","opensuse:leap","opensuse:opensuse","redhat:software_collections","rubyonrails:rails"],"type":"path_traversal","year":"2016"},"n_packages":12,"n_references":12,"next":{"headline":"activemodel contains Improper Input Validation","id":"CVE-2016-0753"},"packages":[{"ecosystem":"RubyGems","fixed":["3.2.22.1"],"introduced":["0"],"last_affected":[],"package":"actionpack","purl":null,"source":"GHSA-xrr4-p6fq-hjg7"},{"ecosystem":"RubyGems","fixed":["3.2.22.1"],"introduced":["0"],"last_affected":[],"package":"actionpack","purl":"pkg:gem/actionpack","source":"GHSA-xrr4-p6fq-hjg7"},{"ecosystem":"RubyGems","fixed":["4.1.14.1"],"introduced":["4.0.0"],"last_affected":[],"package":"actionpack","purl":null,"source":"GHSA-xrr4-p6fq-hjg7"},{"ecosystem":"RubyGems","fixed":["4.1.14.1"],"introduced":["4.0.0"],"last_affected":[],"package":"actionpack","purl":"pkg:gem/actionpack","source":"GHSA-xrr4-p6fq-hjg7"},{"ecosystem":"RubyGems","fixed":["4.2.5.1"],"introduced":["4.2.0"],"last_affected":[],"package":"actionpack","purl":null,"source":"GHSA-xrr4-p6fq-hjg7"},{"ecosystem":"RubyGems","fixed":["4.2.5.1"],"introduced":["4.2.0"],"last_affected":[],"package":"actionpack","purl":"pkg:gem/actionpack","source":"GHSA-xrr4-p6fq-hjg7"},{"ecosystem":"RubyGems","fixed":["4.1.14.1"],"introduced":["4.0.0"],"last_affected":[],"package":"actionview","purl":null,"source":"GHSA-xrr4-p6fq-hjg7"},{"ecosystem":"RubyGems","fixed":["4.1.14.1"],"introduced":["4.0.0"],"last_affected":[],"package":"actionview","purl":"pkg:gem/actionview","source":"GHSA-xrr4-p6fq-hjg7"},{"ecosystem":"RubyGems","fixed":["4.2.5.1"],"introduced":["4.2.0"],"last_affected":[],"package":"actionview","purl":null,"source":"GHSA-xrr4-p6fq-hjg7"},{"ecosystem":"RubyGems","fixed":["4.2.5.1"],"introduced":["4.2.0"],"last_affected":[],"package":"actionview","purl":"pkg:gem/actionview","source":"GHSA-xrr4-p6fq-hjg7"},{"ecosystem":"SUSE:Enterprise Storage 2.1","fixed":["4.2.2-5.1"],"introduced":["0"],"last_affected":[],"package":"rubygem-actionview-4_2","purl":"pkg:rpm/suse/rubygem-actionview-4_2\u0026distro=SUSE%20Enterprise%20Storage%202.1","source":"SUSE-SU-2016:0456-1"},{"ecosystem":"SUSE:OpenStack Cloud 5","fixed":["4.1.9-9.1"],"introduced":["0"],"last_affected":[],"package":"rubygem-actionview-4_1","purl":"pkg:rpm/suse/rubygem-actionview-4_1\u0026distro=SUSE%20OpenStack%20Cloud%205","source":"SUSE-SU-2016:0599-1"}],"prev":{"headline":"actionpack is vulnerable to denial of service via a crafted HTTP Accept header","id":"CVE-2016-0751"},"products":["n/a"],"published":"2016-02-16","related":[{"cvss_score":10,"headline":"ProFTPD Improper Access Control","id":"CVE-2015-3306","kev_date_added":"2026-10-08","published":"2015-05-18"},{"cvss_score":9.9,"headline":"RoundCube Webmail Deserialization of Untrusted Data","id":"CVE-2025-49113","kev_date_added":"2026-02-20","published":"2025-06-02"},{"cvss_score":9.8,"headline":"GNU InetUtils Argument Injection","id":"CVE-2026-24061","kev_date_added":"2026-01-26","published":"2026-01-21"},{"cvss_score":9.8,"headline":"Linux Kernel Improper Check for Unusual or Exceptional Conditions","id":"CVE-2025-39682","kev_date_added":"2026-09-18","published":"2025-09-05"},{"cvss_score":9.8,"headline":"Mozilla Firefox Use-After-Free","id":"CVE-2024-9680","kev_date_added":"2024-10-15","published":"2024-10-09"},{"cvss_score":9.8,"headline":"RARLAB UnRAR Directory Traversal","id":"CVE-2022-30333","kev_date_added":"2022-08-09","published":"2022-05-09"},{"cvss_score":9.8,"headline":"Roundcube Webmail SQL Injection","id":"CVE-2021-44026","kev_date_added":"2023-06-22","published":"2021-11-19"}],"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":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"open","licence":"CC0 1.0","name":"CISA KEV"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"BSD-3-Clause","name":"Metasploit"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"yes","exploitation":"active","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-10-21","vendors":["n/a"]},"summary":"Remote attackers can read arbitrary files by exploiting path traversal in Ruby on Rails Action View when the render method is used without restrictions.","url":"https://insights.sbomify.com/CVE-2016-0752/"}