{"answers":{"affected":"It affects 2 products.","exploited":"There is no known exploitation of CVE-2023-1326 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2023-1326 is a high-severity vulnerability in Canonical Ubuntu Linux, published on 13 Apr 2023. 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-2023-1326 and fix it if it is affected.\n\nWhat it is: CVE-2023-1326 is a high-severity vulnerability in Canonical Ubuntu Linux, published on 13 Apr 2023. 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-2023-1326 in the wild and no public exploit code.\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-2023-1326/ (Markdown: https://insights.sbomify.com/CVE-2023-1326/index.md)","id":"CVE-2023-1326","markdown":"https://insights.sbomify.com/CVE-2023-1326/index.md","name":"CVE-2023-1326","record":{"aliases":["GHSA-qgrc-7333-5cgx","UBUNTU-CVE-2023-1326","USN-6018-1"],"analysis":{"component_type":"operating_system","fix_type":"patch","impacts":["privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":true,"product_category":"Ubuntu apport-cli","requires_auth":"high_privilege","summary":"Local attackers can escalate privileges via apport-cli if sudo access is granted and less is used as the pager.","user_interaction":"required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"canonical","cpe":[{"product":"apport","vendor":"canonical"},{"product":"ubuntu_linux","vendor":"canonical"}],"cvss":{"score":7.7,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-269","name":"Improper Privilege Management"}],"description":"A privilege escalation attack was found in apport-cli 2.26.0 and earlier which is similar to CVE-2023-26604. If a system is specially configured to allow unprivileged users to run sudo apport-cli, less is configured as the pager, and the terminal size can be set: a local attacker can escalate privilege. It is extremely unlikely that a system administrator would configure sudo to allow unprivileged users to perform this class of exploit.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2023-12-06","github_poc":5,"max_poc_stars":21,"metasploit":0,"nuclei":0,"refs":[{"date":"2023-12-06T00:07:40Z","kind":"github_poc","ref":"https://github.com/diego-tella/CVE-2023-1326-PoC","stars":21,"title":"A proof of concept for CVE-2023–1326 in apport-cli 2.26.0"},{"date":"2024-05-04T19:47:58Z","kind":"github_poc","ref":"https://github.com/h3x0v3rl0rd/CVE-2023-1326","stars":1,"title":null},{"date":"2024-01-16T10:20:53Z","kind":"github_poc","ref":"https://github.com/Pol-Ruiz/CVE-2023-1326","stars":0,"title":"Esto es una prueba de concepto propia i basica de la vulneravilidad CVE-2023-1326"},{"date":"2024-06-14T07:15:50Z","kind":"github_poc","ref":"https://github.com/cve-2024/CVE-2023-1326-PoC","stars":0,"title":null},{"date":"2026-09-12T06:12:54Z","kind":"github_poc","ref":"https://github.com/R3fr4kt/DEVVORTEX","stars":0,"title":"A comprehensive technical walkthrough detailing the compromise of the Devvortex machine on HackTheBox. This path demonstrates Subdomain Fuzzing, Joomla API Enumeration, Template Modification for initial access, Database Hash Extraction \u0026 Cracking for lateral movement, and exploitation of Apport-CLI (CVE-2023-1326) for privilege escalation to root."}],"tier":"poc_unverified"},"has_fix":true,"headline":"local privilege escalation in apport-cli","id":"CVE-2023-1326","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"canonical:ubuntu_linux","products":["canonical:ubuntu_linux"],"type":"privilege_escalation","year":"2023"},"n_packages":0,"n_references":2,"next":{"headline":"Auth bypass in Netgear RAX30 (AX2400)","id":"CVE-2023-1327"},"packages":[],"prev":{"headline":"Easy Forms for MailChimp \u003c 6.8.7 - Contributor+ Stored XSS","id":"CVE-2023-1325"},"products":["Apport"],"published":"2023-04-13","related":[{"cvss_score":8.8,"headline":"apport improperly parses /proc/pid/status","id":"CVE-2021-25682","kev_date_added":null,"published":"2021-06-11"},{"cvss_score":8.8,"headline":"apport improperly parses /proc/pid/stat","id":"CVE-2021-25683","kev_date_added":null,"published":"2021-06-11"},{"cvss_score":8.8,"headline":"apport can be stalled by reading a FIFO","id":"CVE-2021-25684","kev_date_added":null,"published":"2021-06-11"},{"cvss_score":7.8,"headline":"Race condition in Apport","id":"CVE-2021-3899","kev_date_added":null,"published":"2024-06-03"},{"cvss_score":7.8,"headline":"Other in Apport","id":"CVE-2022-1242","kev_date_added":null,"published":"2024-06-03"},{"cvss_score":7.5,"headline":"Denial of service in Apport","id":"CVE-2022-28653","kev_date_added":null,"published":"2025-01-31"}],"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":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-02-07","vendors":["Canonical Ltd."]},"summary":"Local attackers can escalate privileges via apport-cli if sudo access is granted and less is used as the pager.","url":"https://insights.sbomify.com/CVE-2023-1326/"}