Buffer overflow in Artifex Mujs
CVE-2021-33797
Buffer-overflow in jsdtoa.c in Artifex MuJS in versions 1.0.1 to 1.1.1. An integer overflow happens when js_strtod() reads in floating point exponent, which leads to a buffer overflow in the pointer *d.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.008, 57.4th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Artifex Mujs
- Mujs — versions mujs in versions 1.0.1 to 1.1.1
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (DiRaltvein/memory-corruption-examples). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- github.com/ccxvii/mujs/issues/148 (Third Party Advisory, Issue Tracking)
- github.com/ccxvii/mujs/commit/833b6f1672b4f2991a63c4d05318f0b84ef4d550 (Patch)