{"answers":{"affected":"","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-23395 exists.","fix":"Apply the vendor's patch.","what":"CVE-2025-23395 is a high-severity vulnerability, published on 26 May 2025. 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-2025-23395 and fix it if it is affected.\n\nWhat it is: CVE-2025-23395 is a high-severity vulnerability, published on 26 May 2025. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-23395 exists.\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-2025-23395/ (Markdown: https://insights.sbomify.com/CVE-2025-23395/index.md)","id":"CVE-2025-23395","markdown":"https://insights.sbomify.com/CVE-2025-23395/index.md","name":"CVE-2025-23395","record":{"aliases":["ALPINE-CVE-2025-23395","BELL-CVE-2025-23395","GHSA-84g7-x869-xfgv"],"analysis":{"component_type":"operating_system","fix_type":"patch","impacts":["privilege_escalation","code_execution"],"network_reachable":"adjacent_or_local","non_default_config":true,"product_category":"GNU Screen utility","requires_auth":"low_privilege","summary":"Unprivileged users can escalate to root by exploiting a privilege dropping failure in GNU Screen when setuid-root is enabled.","user_interaction":"not_required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"suse","cpe":[],"cvss":{"score":7.3,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-271","name":"Privilege Dropping / Lowering Errors"}],"description":"Screen 5.0.0 when it runs with setuid-root privileges does not drop privileges while operating on a user supplied path. This allows unprivileged users to create files in arbitrary locations with `root` ownership, the invoking user's (real) group ownership and file mode 0644. All data written to the Screen PTY will be logged into this file, allowing to escalate to root privileges","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Local root exploit via `logfile_reopen()` in screen 5.0.0 with setuid-root bit set","id":"CVE-2025-23395","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"privilege_escalation","year":"2025"},"n_packages":0,"n_references":2,"next":{"headline":"Memory corruption in Teamcenter Visualization V14.3","id":"CVE-2025-23396"},"packages":[],"prev":{"headline":"daily-backup.sh script in cyrus-imapd allows escalation from cyrus to root","id":"CVE-2025-23394"},"products":[],"published":"2025-05-26","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-05-27","vendors":[]},"summary":"Unprivileged users can escalate to root by exploiting a privilege dropping failure in GNU Screen when setuid-root is enabled.","url":"https://insights.sbomify.com/CVE-2025-23395/"}