CVEvulnerability
CVE-2022-42002
9.1 CRITICAL
Official page ↗
- Status
- Modified
- Published
- 2022-10-01
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 9.1 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
- Weaknesses
- CWE-787
Description
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.
Affected configurations
• sonicjs sonicjs (<= 0.6.0)
Related
Weakness · CWE (1)
- CWE-787 Out-of-bounds Write weakness
References
- https://github.com/lane711/sonicjs/tags Release Notes, Third Party Advisory
- https://snyk.io/blog/graphql-security-static-analysis-snyk-code/ Exploit, Third Party Advisory
- https://github.com/lane711/sonicjs/tags Release Notes, Third Party Advisory
- https://snyk.io/blog/graphql-security-static-analysis-snyk-code/ Exploit, Third Party Advisory