{"answers":{"affected":"3 open source packages ship an affected version, including codechecker. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-49793 exists.","fix":"Upgrade codechecker to 6.23.0 or later.","what":"CVE-2023-49793 is a medium-severity path traversal vulnerability in Ericsson codechecker, published on 24 Jun 2024. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-49793 and fix it if it is affected.\n\nWhat it is: CVE-2023-49793 is a medium-severity path traversal vulnerability in Ericsson codechecker, published on 24 Jun 2024. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-49793 exists.\n\nAffected packages and fixed versions:\n- codechecker (PyPI): affected all versions; fixed in 6.23.0\n- codechecker (PyPI): affected all versions; fixed in 6.23.0\n- codechecker (PyPI): affected all versions; fixed in 6.23.0\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-49793/ (Markdown: https://insights.sbomify.com/CVE-2023-49793/index.md)","id":"CVE-2023-49793","markdown":"https://insights.sbomify.com/CVE-2023-49793/index.md","name":"CVE-2023-49793","record":{"aliases":["GHSA-h26w-r4m5-8rrf","PYSEC-2024-54"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"CodeChecker static analyzer","requires_auth":"low_privilege","summary":"An authenticated attacker can exploit path traversal in CodeChecker server to read arbitrary files from the host system.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"codechecker","vendor":"ericsson"}],"cvss":{"score":6.5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"CodeChecker is an analyzer tooling, defect database and viewer extension for the Clang Static Analyzer and Clang Tidy. Zip files uploaded to the server endpoint of `CodeChecker store` are not properly sanitized. An attacker, using a path traversal attack, can load and display files on the machine of `CodeChecker server`. The vulnerable endpoint is `/Default/v6.53/CodeCheckerService@massStoreRun`. The path traversal vulnerability allows reading data on the machine of the `CodeChecker server`, with the same permission level as the `CodeChecker server`.\nThe attack requires a user account on the `CodeChecker server`, with permission to store to a server, and view the stored report. This vulnerability has been patched in version 6.23.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Path traversal in `CodeChecker server` in the endpoint of `CodeChecker store`","id":"CVE-2023-49793","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"path_traversal","year":"2023"},"n_packages":3,"n_references":2,"next":{"headline":"The logic of get apk path in KernelSU module can be bypassed","id":"CVE-2023-49794"},"packages":[{"ecosystem":"PyPI","fixed":["6.23.0"],"introduced":["0"],"last_affected":[],"package":"codechecker","purl":null,"source":"GHSA-h26w-r4m5-8rrf"},{"ecosystem":"PyPI","fixed":["6.23.0"],"introduced":["0"],"last_affected":[],"package":"codechecker","purl":"pkg:pypi/codechecker","source":"GHSA-h26w-r4m5-8rrf"},{"ecosystem":"PyPI","fixed":["6.23.0"],"introduced":["0"],"last_affected":[],"package":"codechecker","purl":"pkg:pypi/codechecker","source":"PYSEC-2024-54"}],"prev":{"headline":"Bruteforce protection can be bypassed with misconfigured proxy","id":"CVE-2023-49792"},"products":["codechecker"],"published":"2024-06-24","related":[{"cvss_score":10,"headline":"codechecker vulnerable to authentication bypass when using specifically crafted URLs","id":"CVE-2024-10081","kev_date_added":null,"published":"2024-11-06"},{"cvss_score":9.3,"headline":"Authentication bypass for certain API calls","id":"CVE-2026-25660","kev_date_added":null,"published":"2026-04-24"},{"cvss_score":8.7,"headline":"codechecker authentication method confusion vulnerability allows logging in as the built-in root user from an external service","id":"CVE-2024-10082","kev_date_added":null,"published":"2024-11-06"},{"cvss_score":8.2,"headline":"Cross-Site Request Forgery in CodeChecker API","id":"CVE-2024-53829","kev_date_added":null,"published":"2025-01-21"},{"cvss_score":6.1,"headline":"Open redirect in CodeChecker web server","id":"CVE-2025-1300","kev_date_added":null,"published":"2025-02-28"},{"cvss_score":6.1,"headline":"Cross-site Scripting in Ericsson CodeChecker","id":"CVE-2021-44217","kev_date_added":null,"published":"2022-01-18"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"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":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-08-02","vendors":["Ericsson"]},"summary":"An authenticated attacker can exploit path traversal in CodeChecker server to read arbitrary files from the host system.","url":"https://insights.sbomify.com/CVE-2023-49793/"}