CVE-2024-29073: Anki Latex Incomplete Blocklist Vulnerability
An vulnerability in the handling of Latex exists in Ankitects Anki 24.04. When Latex is sanitized to prevent unsafe commands, the verbatim package, which comes installed by default in many Latex distributions, has been overlooked. A specially crafted flashcard can lead to an arbitrary file read. An attacker can share a flashcard to trigger this vulnerability.
Published Jul 22, 2024 · Updated Aug 5, 2024
Affected packages
anki
- Ecosystem
- PyPI
- Affected
- < 24.6
- Fixed in
- 24.6
- Check
pip show anki
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
An vulnerability in the handling of Latex exists in Ankitects Anki 24.04. When Latex is sanitized to prevent unsafe commands, the verbatim package, which comes installed by default in many Latex distributions, has been overlooked. A specially crafted flashcard can lead to an arbitrary file read. An attacker can share a flashcard to trigger this vulnerability.
Credited to Jayy001.
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-29073
- https://talosintelligence.com/vulnerability_reports/TALOS-2024-1992
- https://github.com/ankitects/anki/pull/3218
- https://skerritt.blog/anki-0day
- https://skii.dev/anki-0day
- https://github.com/ankitects/anki/commit/06f7aa393d21d7d5dd8039e15d543b73c3346932
- https://github.com/advisories/GHSA-x3r6-ccvq-cf5v
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
