CVE-2022-42002

Source
https://cve.org/CVERecord?id=CVE-2022-42002
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-42002.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-42002
Published
2022-09-30T23:53:19Z
Modified
2026-08-27T03:50:51.617261908Z
Summary
[none]
Details

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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/42xxx/CVE-2022-42002.json",
    "cna_assigner": "mitre"
}
References

Affected packages

Git / github.com/SonicJs-Org/sonicjs

Affected ranges

Type
GIT
Repo
https://github.com/SonicJs-Org/sonicjs
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
Show details
{
    "source": [
        "DESCRIPTION",
        "CPE_RANGE"
    ],
    "cpe": "cpe:2.3:a:sonicjs:sonicjs:*:*:*:*:*:node.js:*:*",
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "0.6.0"
        },
        {
            "last_affected": "0.6.0"
        }
    ]
}

Affected versions

0.*
0.0.9
Beta-0.*
Beta-0.3.1
Other
beta-010
v0.*
v0.1.1
v0.1.2
v0.2.0
v0.3.0
v0.4.2
v0.4.4
v1.*
v1.0.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-42002.json"