Vulnerability · Published Jun 4, 2024 · Assigned by mitre

CVE-2024-36858

Critical 9.8

In plain English

A critical-severity unrestricted file upload in the @janhq/core package (npm). Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 3.0% (higher than 88% of all known vulnerabilities). Ready-made attack tooling exists: Nuclei.

Severity (CVSS 3.1)9.8Critical
Exploit odds (30 days)3.0%top 12.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack tooling1Nuclei

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npm@janhq/coreno fix listedGHSA-qfjh-mvq6-c5p8

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

Weakness: CWE-434 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

References