Vulnerability Details : CVE-2021-33439
Potential exploit
An issue was discovered in mjs (mJS: Restricted JavaScript engine), ES6 (JavaScript version 6). There is Integer overflow in gc_compact_strings() in mjs.c.
Vulnerability category: Overflow
Products affected by CVE-2021-33439
- cpe:2.3:a:cesanta:mjs:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2021-33439
0.02%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 4 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-33439
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
5.5
|
MEDIUM | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
1.8
|
3.6
|
NIST |
CWE ids for CVE-2021-33439
-
The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.Assigned by: nvd@nist.gov (Primary)
-
The product dereferences a pointer that it expects to be valid but is NULL.Assigned by: nvd@nist.gov (Primary)
References for CVE-2021-33439
-
https://github.com/cesanta/mjs/issues/159
AddressSanitizer: negative-size-param in gc_compact_strings() mjs.c:11575 · Issue #159 · cesanta/mjs · GitHubExploit;Issue Tracking;Patch;Third Party Advisory
-
https://gist.github.com/Clingto/bb632c0c463f4b2c97e4f65f751c5e6d
Minimum information for the vulnerability covered by 32 CVEs. · GitHubThird Party Advisory
Jump to