Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
9.1
CVE-2022-42002: 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 authentica...
CVE-2022-42002 · published 4 years ago
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.
What to do
The CVE record does not list a fixed version. Check the vendor's site or the advisory links below - a fix may already be released.
Affected software
| Vendor | Product | Affected versions |
|---|---|---|
| sonicjs | sonicjs |
<= 0.6.0 cpe:2.3:a:sonicjs:sonicjs:*:*:*:*:*:node.js:*:* |
Original advisory text
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 authentica...
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.
References
- https://github.com/lane711/sonicjs/tags URL
- https://snyk.io/blog/graphql-security-static-analysis-snyk-code/ Third Party Advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/42xxx/CVE-2022-42002... Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2022-42002 Vendor Advisory
Internet-facing
14 days
Internal
60 days
- Not known to be exploited
- Can be exploited automatically (estimated)
- Gives an attacker partial control (estimated)
Type
CWE-787Out-of-bounds Write
Timeline
Published30 Sep 2022
Updated4 Nov 2026
First seen29 Sep 2026
Track software like this
Free during beta