{"id":"GHSA-qfjh-mvq6-c5p8","summary":"Jan path traversal vulnerability","details":"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. @janhq/core has been deprecated in favor of janhq/jan, this vulnerability has been patched there in v0.5.2.","aliases":["CVE-2024-36858"],"modified":"2024-07-17T16:23:05Z","published":"2024-06-04T21:32:20Z","database_specific":{"github_reviewed_at":"2024-06-11T19:56:05Z","nvd_published_at":"2024-06-04T19:20:14Z","cwe_ids":["CWE-434"],"severity":"CRITICAL","github_reviewed":true},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-36858"},{"type":"WEB","url":"https://github.com/janhq/jan/pull/3152"},{"type":"WEB","url":"https://github.com/HackAllSec/CVEs/tree/main/Jan%20Arbitrary%20File%20Upload%20vulnerability"},{"type":"PACKAGE","url":"https://github.com/janhq/jan"}],"affected":[{"package":{"name":"@janhq/core","ecosystem":"npm","purl":"pkg:npm/%40janhq/core"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"0.1.11"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/06/GHSA-qfjh-mvq6-c5p8/GHSA-qfjh-mvq6-c5p8.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}