Josdejong mathjs
Unsafe array index getter in mathjs
Math.js is an extensive math library for JavaScript and Node.js. From version 13.1.0 to before version 15.2.0, arbitrary JavaScript can be executed via the expression parser of mathjs. This issue has been patched in version 15.2.0.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS8.8high · scored by CNA · CWE-915
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
josdejong mathjs
- >= 13.1.0, < 15.2.0
Fixed in 15.2.0
Mitigation
Upgrade mathjs to 15.2.0 or later.
References
- Vendor advisory github.com/josdejong/mathjs/security/advisorie…
- Patch github.com/josdejong/mathjs/pull/3656
- Patch github.com/josdejong/mathjs/commit/0aee2f61866…
2 more
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.