Buffer overflow in Cesanta Mjs

CVE-2021-46521

Cesanta MJS v2.20.0 was discovered to contain a global buffer overflow via c_vsnprintf at mjs/src/common/str_util.c.

Vulnerability class: Buffer Overflow

EPSS: 0.007 (50.6th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

References

  • cve@mitre.org (Exploit, Third Party Advisory, x_refsource_MISC, Issue Tracking)

Frequently asked questions

What is CVE-2021-46521?
CVE-2021-46521 is a high-severity vulnerability in Cesanta Mjs, classified under Buffer Copy without Checking Size of Input (Classic Buffer Overflow). CVSS score: 7.8/10. Published 2022-01-27.
How severe is CVE-2021-46521?
High severity. CVSS v3 base score is 7.8 out of 10.