{"answers":{"affected":"It affects 2 products.","exploited":"There is no known exploitation of CVE-2016-1247 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2016-1247 is a high-severity path traversal vulnerability in Fedoraproject Fedora, published on 29 Nov 2016. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2016-1247 and fix it if it is affected.\n\nWhat it is: CVE-2016-1247 is a high-severity path traversal vulnerability in Fedoraproject Fedora, published on 29 Nov 2016. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2016-1247 in the wild and no public exploit code.\n\nAffected product: Fedoraproject Fedora. 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-1247/ (Markdown: https://insights.sbomify.com/CVE-2016-1247/index.md)","id":"CVE-2016-1247","markdown":"https://insights.sbomify.com/CVE-2016-1247/index.md","name":"CVE-2016-1247","record":{"aliases":["DEBIAN-CVE-2016-1247","DSA-3701-1","GHSA-4333-xxh4-gh9f","UBUNTU-CVE-2016-1247","USN-3114-1"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Nginx web server","requires_auth":"low_privilege","summary":"Local attackers with web server access can gain root privileges via a symlink attack on the error log in Nginx.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"debian","cpe":[{"product":"nginx","vendor":"f5"},{"product":"fedora","vendor":"fedoraproject"}],"cvss":{"score":7.8,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-59","name":"Improper Link Resolution Before File Access"}],"description":"The nginx package before 1.6.2-5+deb8u3 on Debian jessie, the nginx packages before 1.4.6-1ubuntu3.6 on Ubuntu 14.04 LTS, before 1.10.0-0ubuntu0.16.04.3 on Ubuntu 16.04 LTS, and before 1.10.1-0ubuntu1.1 on Ubuntu 16.10, and the nginx ebuild before 1.10.2-r3 on Gentoo allow local users with access to the web server user account to gain root privileges via a symlink attack on the error log.","ecosystems":[],"exploits":{"exploitdb":1,"first_seen":"2016-11-16","github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[{"date":"2016-11-16","kind":"exploitdb","ref":"40768","stars":null,"title":"Nginx (Debian Based Distros + Gentoo) - 'logrotate' Local Privilege Escalation"}],"tier":"poc_unverified"},"has_fix":true,"headline":"Path traversal in n/a","id":"CVE-2016-1247","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"fedoraproject:fedora","products":["fedoraproject:fedora"],"type":"path_traversal","year":"2016"},"n_packages":0,"n_references":15,"next":{"headline":"Code injection in vim before patch 8.0.0056","id":"CVE-2016-1248"},"packages":[],"prev":{"headline":"Memory corruption in n/a","id":"CVE-2016-1246"},"products":["n/a"],"published":"2016-11-29","related":[{"cvss_score":7.7,"headline":"Memory corruption in Nginx Web Server, Nginx Plus","id":"CVE-2021-23017","kev_date_added":null,"published":"2021-06-01"},{"cvss_score":7.5,"headline":"Memory corruption in n/a","id":"CVE-2014-0088","kev_date_added":null,"published":"2014-04-29"},{"cvss_score":7.5,"headline":"Memory corruption in n/a","id":"CVE-2014-0133","kev_date_added":null,"published":"2014-03-28"},{"cvss_score":7.5,"headline":"Security feature bypass in n/a","id":"CVE-2013-4547","kev_date_added":null,"published":"2013-11-23"},{"cvss_score":7.5,"headline":"Information disclosure in n/a","id":"CVE-2013-0337","kev_date_added":null,"published":"2013-10-27"},{"cvss_score":7.5,"headline":"Integer overflow in n/a","id":"CVE-2013-2028","kev_date_added":null,"published":"2013-07-18"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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)"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-05","vendors":["n/a"]},"summary":"Local attackers with web server access can gain root privileges via a symlink attack on the error log in Nginx.","url":"https://insights.sbomify.com/CVE-2016-1247/"}