Buffer overflow in Cesanta Mjs
CVE-2021-33438
An issue was discovered in mjs (mJS: Restricted JavaScript engine), ES6 (JavaScript version 6). There is stack buffer overflow in json_parse_array() in mjs.c.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS: 0.003 (24.7th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 25th percentile — 24.7% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.003 · newest: 0.003 · change: 0.000
Affected products
Weakness classification (CWE)
References
- github.com/cesanta/mjs/issues/158 (Exploit, Patch, Third Party Advisory, Issue Tracking)
- gist.github.com/Clingto/bb632c0c463f4b2c97e4f65f751c5e6d (Third Party Advisory)
Frequently asked questions
- What is CVE-2021-33438?
- CVE-2021-33438 is a medium-severity vulnerability in Cesanta Mjs, classified under Out-of-bounds Write. CVSS score: 5.5/10. Published 2022-07-26.
- How severe is CVE-2021-33438?
- Medium severity. CVSS v3 base score is 5.5 out of 10.