CVE-2024-36858 Jan path traversal vulnerability
Attackers can execute arbitrary code by uploading crafted files via the writeFileSync interface in the Jan desktop application.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2024-36858?
CVE-2024-36858 is a critical vulnerability in n/a, published on 4 Jun 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
An arbitrary file upload vulnerability in the /v1/app/writeFileSync interface of Jan v0.4.12 allows attackers to execute arbitrary code via uploading a crafted file.
Weakness: CWE-434
Which versions are affected by CVE-2024-36858?
2 open source packages ship an affected version, including @janhq/core. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
@janhq/core npm | All versions to 0.1.11 | None |
@janhq/core npm | All versions to 0.1.11 | None |
Products include Homebrew Jan.
How do I fix CVE-2024-36858?
No fix has been published for CVE-2024-36858 yet. Limit exposure of the affected software until one is available.
Is CVE-2024-36858 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-36858 exists.
Public exploit code: 1 Nuclei template.
Other vulnerabilities in n/a
Sources
Also known as GHSA-qfjh-mvq6-c5p8.