
Cloud Vulnerability DB
A community-led vulnerabilities database
A Local File Inclusion (LFI) vulnerability was discovered in zmarkdown, identified as GHSA-mq6v-w35g-3c97, affecting versions prior to 10.1.3. The vulnerability was published on August 31, 2021, and allows attackers to include images with known paths on the host machine inside LaTeX documents. This security issue impacts all users of zmarkdown except those who have disabled LaTeX generation or image downloads (GitHub Advisory).
The vulnerability is classified as CWE-22 (Improper Limitation of a Pathname to a Restricted Directory). When processing markdown content, the system would allow images with local file paths to be included in LaTeX documents. For example, an image reference like  would cause the system to download and include the image found at /tmp/img.png from the host machine (GitHub Advisory).
The vulnerability allows attackers to include and access images from known paths on the host machine within LaTeX documents. While classified as low severity, this could potentially lead to unauthorized access to local files on the system where zmarkdown is running (GitHub Advisory).
The vulnerability has been patched in version 10.1.3, which introduces a new option to replace invalid paths with a default image instead of linking directly to files on the host. Users are advised to update to this version as soon as possible. Alternative workarounds include disabling image downloading or implementing path sanitization (GitHub Advisory).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."