CVE-2023-29566 Remote code execution in dawnsparks-node-tesseract

Critical 9.8 Published Updated

Attackers can execute arbitrary code via the child_process function in huedawn-tesseract and dawnsparks-node-tesseract libraries.

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

What is CVE-2023-29566?

CVE-2023-29566 is a critical command injection vulnerability in n/a, published on 24 Apr 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

huedawn-tesseract 0.3.3 and dawnsparks-node-tesseract 0.4.0 to 0.4.1 was discovered to contain a remote code execution (RCE) vulnerability via the child_process function.

Weakness: CWE-77, CWE-94

Which versions are affected by CVE-2023-29566?

2 open source packages ship an affected version, including dawnsparks-node-tesseract. It affects 2 products.

PackageAffectedFixed in
dawnsparks-node-tesseract npmAll versions0.4.1
dawnsparks-node-tesseract npmAll versions0.4.1

Products include Dawnsparks-Node-Tesseract Project Dawnsparks-Node-Tesseract, Huedawn-Tesseract Project Huedawn-Tesseract.

How do I fix CVE-2023-29566?

Upgrade dawnsparks-node-tesseract to 0.4.1 or later.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2023-29566 being exploited?

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

Sources

Also known as GHSA-88qf-5f3v-pm6m.

Is CVE-2023-29566 in your software?

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

Check your SBOMs for free