Quick answers
- Is CVE-2021-23389 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2021-23389 being exploited in the wild.
- How severe is CVE-2021-23389?
- Low severity, with a CVSS score of 3.1, published 10 December 2021.
- Which products and versions are affected?
- total.js (npm) SEMVER:introduced=0,fixed=3.4.9.
- Is there a fix for CVE-2021-23389?
- Yes. total.js (npm): upgrade to 3.4.9 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2021-23389 attacked?
- It is attacked over the network, in a software library.
- Am I affected by CVE-2021-23389?
- Check whether you run total.js (npm) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
- total.js (npm): upgrade to 3.4.9 or later
npm install total.js@3.4.9
Technical details
The vulnerability is a code injection flaw (CWE-94) in the U.set() and U.get() utility functions within total.js before version 3.4.9. These functions fail to properly sanitize user-controlled input, allowing attackers to inject and execute arbitrary code. The attack requires network access to the affected application but does not require authentication or user interaction. A successful exploit results in arbitrary code execution with the privileges of the application process. The vulnerability was patched in version 3.4.9, with the fix committed to the framework's repository.
Affected products
- total.js total.js before 3.4.9
Identifiers
- CVE-2021-23389
- GHSA-7fm6-gxqg-2pwr
Timeline
- 2021-07-12: disclosed
- 2021-12-10: advisory
- 2021: patched: Fixed in version 3.4.9