9.1crit
CVE-2022-42002
SonicJS through 0.6.0 allows file overwrite.
Published 4 y ago · modified 4 mo ago · JSON
CVSS
9.1
v3.1 · NVD
CISA KEV
No
not known exploited
EPSS
1.3%
percentile 71%
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 (EPSS)
1.30% probability of exploitation in the next 30 days, higher than 71% of all scored CVEs.
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/ · x_refsource_MISC, x_transferred
- github.com /lane711/sonicjs/tags · x_refsource_MISC, x_transferred
Sources
- CVE List: CVE-2022-42002
- NVD: CVE-2022-42002
vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.