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-10-28T02:30:27Z
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
{
    "cna_assigner": "mitre",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/42xxx/CVE-2022-42002.json"
}
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
Last Affected
Database specific
Show details
{
    "extracted_events": [
        {
            "range": [
                {
                    "introduced": "0"
                },
                {
                    "last_affected": "0.6.0"
                }
            ],
            "source": "DESCRIPTION"
        },
        {
            "cpe": "cpe:2.3:a:sonicjs:sonicjs:*:*:*:*:*:node.js:*:*",
            "range": [
                {
                    "introduced": "0"
                },
                {
                    "last_affected": "0.6.0"
                }
            ],
            "source": "CPE_RANGE"
        }
    ]
}

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
v0.6.0
v1.*
v1.0.0

Database specific

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