CVE-2024-7738 yzane vscode-markdown-pdf Markdown File pathname traversal

Medium 4.8 Published Updated

A local attacker can exploit a path traversal vulnerability in the vscode-markdown-pdf extension to read arbitrary files from the system.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-7738?

CVE-2024-7738 is a medium-severity path traversal vulnerability in yzane vscode-markdown-pdf, published on 13 Aug 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

A vulnerability, which was classified as problematic, has been found in yzane vscode-markdown-pdf 1.5.0. Affected by this issue is some unknown functionality of the component Markdown File Handler. The manipulation leads to pathname traversal. Attacking locally is a requirement. The exploit has been disclosed to the public and may be used.

Weakness: CWE-22, CWE-21

Which versions are affected by CVE-2024-7738?

It affects 1 product.

Products include Yzane Markdown Pdf.

How do I fix CVE-2024-7738?

No fix has been published for CVE-2024-7738 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2024-7738 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-7738 exists.

Sources

Also known as GHSA-4r4v-2j2q-ch33.

Is CVE-2024-7738 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free