VulnerabilityModified
CVE-2022-42002
SonicJS through 0.6.0 allows file overwrite.
CRITICAL 9.1EPSS 1.13%
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (1.13%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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.
- CVSS 3.1
- 9.1 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
- EPSS
- 1.13% probability · 65th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-787
- Affected
- sonicjs/sonicjs
- Source
- cve@mitre.org
References
- https://github.com/lane711/sonicjs/tagsRelease Notes, Third Party Advisory
- https://snyk.io/blog/graphql-security-static-analysis-snyk-code/Exploit, Third Party Advisory
- https://github.com/lane711/sonicjs/tagsRelease Notes, Third Party Advisory
- https://snyk.io/blog/graphql-security-static-analysis-snyk-code/Exploit, Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.