Buffer overflow in Sonicjs

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 authentication to overwrite any files on a SonicJS application, leading to Arbitrary File Write and Delete.

Vulnerability class: Buffer Overflow

EPSS: 0.011 (63.2th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 9.1 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H.

Affected products

Weakness classification (CWE)

References

  • cve@mitre.org (Exploit, Third Party Advisory, x_refsource_MISC)
  • cve@mitre.org (Third Party Advisory, x_refsource_MISC, Release Notes)

Frequently asked questions

What is CVE-2022-42002?
CVE-2022-42002 is a critical-severity vulnerability in Sonicjs, classified under Out-of-bounds Write. CVSS score: 9.1/10. Published 2022-10-01.
How severe is CVE-2022-42002?
Critical severity. CVSS v3 base score is 9.1 out of 10.