CVE-2021-33797 Integer overflow in mujs

Critical 9.8 Published Updated

An integer overflow in MuJS leads to a buffer overflow, potentially allowing attackers to execute arbitrary code or cause denial of service.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2021-33797?

CVE-2021-33797 is a critical vulnerability in mujs, published on 17 Apr 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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.

Weakness: CWE-190, CWE-119

Which versions are affected by CVE-2021-33797?

It affects 1 product.

Products include Artifex Mujs.

How do I fix CVE-2021-33797?

Upgrade to a fixed version.

Is CVE-2021-33797 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-33797 exists.

Sources

Also known as DEBIAN-CVE-2021-33797, GHSA-cm79-jwwm-5h7h.

Is CVE-2021-33797 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free