{"containers":{"cna":{"affected":[{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}],"descriptions":[{"lang":"en","value":"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."}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2022-09-30T23:53:19.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","shortName":"mitre"},"references":[{"tags":["x_refsource_MISC"],"url":"https://snyk.io/blog/graphql-security-static-analysis-snyk-code/"},{"tags":["x_refsource_MISC"],"url":"https://github.com/lane711/sonicjs/tags"}],"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2022-42002","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"https://snyk.io/blog/graphql-security-static-analysis-snyk-code/","refsource":"MISC","url":"https://snyk.io/blog/graphql-security-static-analysis-snyk-code/"},{"name":"https://github.com/lane711/sonicjs/tags","refsource":"MISC","url":"https://github.com/lane711/sonicjs/tags"}]}}},"adp":[{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-08-03T12:56:39.174Z"},"title":"CVE Program Container","references":[{"tags":["x_refsource_MISC","x_transferred"],"url":"https://snyk.io/blog/graphql-security-static-analysis-snyk-code/"},{"tags":["x_refsource_MISC","x_transferred"],"url":"https://github.com/lane711/sonicjs/tags"}]}]},"cveMetadata":{"assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","assignerShortName":"mitre","cveId":"CVE-2022-42002","datePublished":"2022-09-30T23:53:19.000Z","dateReserved":"2022-09-30T00:00:00.000Z","dateUpdated":"2024-08-03T12:56:39.174Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"}