{"containers":{"cna":{"affected":[{"product":"framework","vendor":"totaljs","versions":[{"status":"affected","version":"< 3.4.9"}]}],"descriptions":[{"lang":"en","value":"Total.js framework (npm package total.js) is a framework for Node.js platfrom written in pure JavaScript similar to PHP's Laravel or Python's Django or ASP.NET MVC. In total.js framework before version 3.4.9, calling the utils.set function with user-controlled values leads to code-injection. This can cause a variety of impacts that include arbitrary code execution. This is fixed in version 3.4.9."}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"HIGH","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-94","description":"CWE-94 Improper Control of Generation of Code ('Code Injection')","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2021-08-30T20:40:21.000Z","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M"},"references":[{"tags":["x_refsource_MISC"],"url":"https://github.com/totaljs/framework/commit/887b0fa9e162ef7a2dd9cec20a5ca122726373b3"},{"tags":["x_refsource_CONFIRM"],"url":"https://securitylab.github.com/advisories/GHSL-2021-066-totaljs-totaljs/"},{"tags":["x_refsource_MISC"],"url":"https://github.com/totaljs/framework/blob/e644167d5378afdc45cb0156190349b2c07ef235/changes.txt#L11"},{"tags":["x_refsource_MISC"],"url":"https://www.npmjs.com/package/total.js"}],"source":{"advisory":"GHSL-2021-066","discovery":"INTERNAL"},"title":"Code injection in total.js","x_generator":{"engine":"Vulnogram 0.0.9"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2021-32831","STATE":"PUBLIC","TITLE":"Code injection in total.js"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"framework","version":{"version_data":[{"version_value":"< 3.4.9"}]}}]},"vendor_name":"totaljs"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"Total.js framework (npm package total.js) is a framework for Node.js platfrom written in pure JavaScript similar to PHP's Laravel or Python's Django or ASP.NET MVC. In total.js framework before version 3.4.9, calling the utils.set function with user-controlled values leads to code-injection. This can cause a variety of impacts that include arbitrary code execution. This is fixed in version 3.4.9."}]},"generator":{"engine":"Vulnogram 0.0.9"},"impact":{"cvss":{"attackComplexity":"HIGH","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"HIGH","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-94 Improper Control of Generation of Code ('Code Injection')"}]}]},"references":{"reference_data":[{"name":"https://github.com/totaljs/framework/commit/887b0fa9e162ef7a2dd9cec20a5ca122726373b3","refsource":"MISC","url":"https://github.com/totaljs/framework/commit/887b0fa9e162ef7a2dd9cec20a5ca122726373b3"},{"name":"https://securitylab.github.com/advisories/GHSL-2021-066-totaljs-totaljs/","refsource":"CONFIRM","url":"https://securitylab.github.com/advisories/GHSL-2021-066-totaljs-totaljs/"},{"name":"https://github.com/totaljs/framework/blob/e644167d5378afdc45cb0156190349b2c07ef235/changes.txt#L11","refsource":"MISC","url":"https://github.com/totaljs/framework/blob/e644167d5378afdc45cb0156190349b2c07ef235/changes.txt#L11"},{"name":"https://www.npmjs.com/package/total.js","refsource":"MISC","url":"https://www.npmjs.com/package/total.js"}]},"source":{"advisory":"GHSL-2021-066","discovery":"INTERNAL"}}},"adp":[{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-08-03T23:33:56.088Z"},"title":"CVE Program Container","references":[{"tags":["x_refsource_MISC","x_transferred"],"url":"https://github.com/totaljs/framework/commit/887b0fa9e162ef7a2dd9cec20a5ca122726373b3"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"https://securitylab.github.com/advisories/GHSL-2021-066-totaljs-totaljs/"},{"tags":["x_refsource_MISC","x_transferred"],"url":"https://github.com/totaljs/framework/blob/e644167d5378afdc45cb0156190349b2c07ef235/changes.txt#L11"},{"tags":["x_refsource_MISC","x_transferred"],"url":"https://www.npmjs.com/package/total.js"}]}]},"cveMetadata":{"assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","assignerShortName":"GitHub_M","cveId":"CVE-2021-32831","datePublished":"2021-08-30T20:40:21.000Z","dateReserved":"2021-05-12T00:00:00.000Z","dateUpdated":"2024-08-03T23:33:56.088Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"}