CVE-2022-42002 json
SonicJS through 0.6.0 allows file overwrite.
published 2022-09-30 4 y ago modified 2026-06-17 4 mo ago also EUVD-2022-45105
- cvss
- 9.1
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.3%
- EPSS 1.3% chance of exploitation in 30 days, percentile 70%
- public exploits
- 0
- none known
Summary
SonicJS through 0.6.0 allows file overwrite. It has the following mutations that are used for updating files: fileCreate and fileUpdate. Both of these mutations can be called without any authentication to overwrite any files on a SonicJS application, leading to Arbitrary File Write and Delete.
Exploit prediction
1.30% chance of exploitation in the next 30 days, higher than 70% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- snyk.io https://snyk.io/blog/graphql-security-static-analysis-snyk-code/ referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H |
Classification
- Weakness
-
- CWE-787 Out-of-bounds Write
References
-
snyk.io
/blog/graphql-security-static-analysis-snyk-code/
exploit, third-party-advisory
-
github.com
/lane711/sonicjs/tags
release-notes, third-party-advisory
Sources
- CVE List CVE-2022-42002
- NVD CVE-2022-42002
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.