{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2016-2781 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2016-2781 is a medium-severity vulnerability in n/a, published on 7 Feb 2017. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2016-2781 and fix it if it is affected.\n\nWhat it is: CVE-2016-2781 is a medium-severity vulnerability in n/a, published on 7 Feb 2017. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2016-2781 in the wild and no public exploit code.\n\nAffected product: n/a. 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-2781/ (Markdown: https://insights.sbomify.com/CVE-2016-2781/index.md)","id":"CVE-2016-2781","markdown":"https://insights.sbomify.com/CVE-2016-2781/index.md","name":"CVE-2016-2781","record":{"aliases":["AZL-34628","AZL-6355","DEBIAN-CVE-2016-2781","ECHO-e0c5-f2a2-174a","GHSA-vf3q-65gx-324p","UBUNTU-CVE-2016-2781"],"analysis":{"component_type":"operating_system","fix_type":"patch","impacts":["privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":true,"product_category":"GNU coreutils","requires_auth":"low_privilege","summary":"Local attackers can escape chroot jails to the parent session via crafted TIOCSTI ioctl calls when using the --userspec option.","user_interaction":"required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"coreutils","vendor":"gnu"}],"cvss":{"score":4.6,"severity":"medium","source":"cisa-adp","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"description":"chroot in GNU coreutils, when used with --userspec, allows local users to escape to the parent session via a crafted TIOCSTI ioctl call, which pushes characters to the terminal's input buffer.","ecosystems":[],"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":"Privilege escalation in n/a","id":"CVE-2016-2781","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"privilege_escalation","year":"2016"},"n_packages":0,"n_references":3,"next":{"headline":"Null dereference in n/a","id":"CVE-2016-2782"},"packages":[],"prev":{"headline":"Path traversal in n/a","id":"CVE-2016-2780"},"products":["n/a"],"published":"2017-02-07","related":[{"cvss_score":9.8,"headline":"Integer overflow in n/a","id":"CVE-2015-4042","kev_date_added":null,"published":"2020-01-24"},{"cvss_score":7.8,"headline":"Memory corruption in n/a","id":"CVE-2015-4041","kev_date_added":null,"published":"2020-01-24"},{"cvss_score":7.1,"headline":"Race condition in n/a","id":"CVE-2017-18018","kev_date_added":null,"published":"2018-01-04"},{"cvss_score":5.5,"headline":"Coreutils: heap overflow in split --line-bytes with very long lines","id":"CVE-2024-0684","kev_date_added":null,"published":"2024-02-06"},{"cvss_score":5.1,"headline":"Race condition in n/a","id":"CVE-2015-1865","kev_date_added":null,"published":"2017-09-20"},{"cvss_score":4.6,"headline":"Out‑of‑bounds Read in GNU coreutils","id":"CVE-2026-56391","kev_date_added":null,"published":"2026-07-24"}],"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)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-06-09","vendors":["n/a"]},"summary":"Local attackers can escape chroot jails to the parent session via crafted TIOCSTI ioctl calls when using the --userspec option.","url":"https://insights.sbomify.com/CVE-2016-2781/"}