{"answers":{"affected":"It affects 4 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2016-4971 exists.","fix":"Upgrade to a fixed version.","what":"CVE-2016-4971 is a high-severity path traversal vulnerability in Canonical Ubuntu Linux, published on 30 Jun 2016. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2016-4971 and fix it if it is affected.\n\nWhat it is: CVE-2016-4971 is a high-severity path traversal vulnerability in Canonical Ubuntu Linux, published on 30 Jun 2016. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2016-4971 exists.\n\nAffected product: Canonical Ubuntu Linux. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-4971/ (Markdown: https://insights.sbomify.com/CVE-2016-4971/index.md)","id":"CVE-2016-4971","markdown":"https://insights.sbomify.com/CVE-2016-4971/index.md","name":"CVE-2016-4971","record":{"aliases":["ALPINE-CVE-2016-4971","DEBIAN-CVE-2016-4971","DLA-536-1","GHSA-5w8p-rj9f-xvj7","RHSA-2016:2587","UBUNTU-CVE-2016-4971","USN-3012-1"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"GNU wget utility","requires_auth":"none","summary":"Remote servers can write to arbitrary files via HTTP to FTP redirection, allowing attackers to modify system files.","user_interaction":"required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"ubuntu_linux","vendor":"canonical"},{"product":"wget","vendor":"gnu"},{"product":"solaris","vendor":"oracle"},{"product":"pan-os","vendor":"paloaltonetworks"}],"cvss":{"score":8.8,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[],"description":"GNU wget before 1.18 allows remote servers to write to arbitrary files by redirecting a request from HTTP to a crafted FTP resource.","ecosystems":["Red Hat:enterprise_linux:7::client","Red Hat:enterprise_linux:7::computenode","Red Hat:enterprise_linux:7::server","Red Hat:enterprise_linux:7::workstation"],"exploits":{"exploitdb":2,"first_seen":"2016-07-02","github_poc":3,"max_poc_stars":1,"metasploit":0,"nuclei":0,"refs":[{"date":"2019-01-05T15:50:52Z","kind":"github_poc","ref":"https://github.com/mbadanoiu/CVE-2016-4971","stars":1,"title":"CVE-2016-4971 Wget 1.18/1.14-13.el7 Client Exploit"},{"date":"2016-07-02T14:44:48Z","kind":"github_poc","ref":"https://github.com/gitcollect/CVE-2016-4971","stars":0,"title":"CVE-2016-4971 written in nodejs"},{"date":"2016-07-06","kind":"exploitdb","ref":"40064","stars":null,"title":"GNU Wget \u003c 1.18 - Arbitrary File Upload / Remote Code Execution"},{"date":"2020-05-12T17:32:46Z","kind":"github_poc","ref":"https://github.com/dinidhu96/IT19013756_-CVE-2016-4971-","stars":0,"title":null},{"date":"2021-04-30","kind":"exploitdb","ref":"49815","stars":null,"title":"GNU Wget \u003c 1.18 - Arbitrary File Upload (2)"}],"tier":"weaponised"},"has_fix":true,"headline":"Path traversal in n/a","id":"CVE-2016-4971","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"canonical:ubuntu_linux","products":["canonical:ubuntu_linux","oracle:solaris","paloaltonetworks:pan-os"],"type":"path_traversal","year":"2016"},"n_packages":8,"n_references":13,"next":{"headline":"OpenStack Murano Code Execution","id":"CVE-2016-4972"},"packages":[{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:1.14-13.el7"],"introduced":["0"],"last_affected":[],"package":"wget","purl":"pkg:rpm/redhat/wget","source":"RHSA-2016:2587"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:1.14-13.el7"],"introduced":["0"],"last_affected":[],"package":"wget-debuginfo","purl":"pkg:rpm/redhat/wget-debuginfo","source":"RHSA-2016:2587"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:1.14-13.el7"],"introduced":["0"],"last_affected":[],"package":"wget","purl":"pkg:rpm/redhat/wget","source":"RHSA-2016:2587"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:1.14-13.el7"],"introduced":["0"],"last_affected":[],"package":"wget-debuginfo","purl":"pkg:rpm/redhat/wget-debuginfo","source":"RHSA-2016:2587"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:1.14-13.el7"],"introduced":["0"],"last_affected":[],"package":"wget","purl":"pkg:rpm/redhat/wget","source":"RHSA-2016:2587"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:1.14-13.el7"],"introduced":["0"],"last_affected":[],"package":"wget-debuginfo","purl":"pkg:rpm/redhat/wget-debuginfo","source":"RHSA-2016:2587"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["0:1.14-13.el7"],"introduced":["0"],"last_affected":[],"package":"wget","purl":"pkg:rpm/redhat/wget","source":"RHSA-2016:2587"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["0:1.14-13.el7"],"introduced":["0"],"last_affected":[],"package":"wget-debuginfo","purl":"pkg:rpm/redhat/wget-debuginfo","source":"RHSA-2016:2587"}],"prev":{"headline":"Loop with Unreachable Exit Condition in Netty","id":"CVE-2016-4970"},"products":["n/a"],"published":"2016-06-30","related":[{"cvss_score":9.8,"headline":"SaltStack Salt Authentication Bypass","id":"CVE-2020-11651","kev_date_added":"2021-11-03","published":"2020-04-30"},{"cvss_score":9.8,"headline":"OpenSMTPD Remote Code Execution","id":"CVE-2020-7247","kev_date_added":"2022-03-25","published":"2020-01-29"},{"cvss_score":9.8,"headline":"Exim Out-of-bounds Write","id":"CVE-2019-16928","kev_date_added":"2022-03-03","published":"2019-09-27"},{"cvss_score":9.8,"headline":"Exim Buffer Overflow","id":"CVE-2018-6789","kev_date_added":"2021-11-03","published":"2018-02-08"},{"cvss_score":9.8,"headline":"Oracle Java SE and Java SE Embedded Remote Code Execution","id":"CVE-2015-2590","kev_date_added":"2022-03-03","published":"2015-07-16"},{"cvss_score":9.8,"headline":"Oracle JRE Remote Code Execution","id":"CVE-2013-0422","kev_date_added":"2022-05-25","published":"2013-01-10"},{"cvss_score":9.8,"headline":"Oracle Java SE Runtime Environment (JRE) Arbitrary Code Execution","id":"CVE-2011-3544","kev_date_added":"2022-03-03","published":"2011-10-19"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-06","vendors":["n/a"]},"summary":"Remote servers can write to arbitrary files via HTTP to FTP redirection, allowing attackers to modify system files.","url":"https://insights.sbomify.com/CVE-2016-4971/"}