CVE-2023-27848 Remote code execution in broccoli-compass

Critical 9.8 Published Updated

Remote code execution in broccoli-compass via child_process allows attackers to execute arbitrary commands.

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

What is CVE-2023-27848?

CVE-2023-27848 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

broccoli-compass v0.2.4 was discovered to contain a remote code execution (RCE) vulnerability via the child_process function.

Weakness: CWE-77

Which versions are affected by CVE-2023-27848?

2 open source packages ship an affected version, including broccoli-compass. It affects 1 product.

PackageAffectedFixed in
broccoli-compass npmAll versions to 0.2.4None
broccoli-compass npmAll versions to 0.2.4None

Products include Broccoli-Compass Project Broccoli-Compass.

How do I fix CVE-2023-27848?

No fix has been published for CVE-2023-27848 yet. Limit exposure of the affected software until one is available.

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

Is CVE-2023-27848 being exploited?

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

Sources

Also known as GHSA-wq8f-xmq3-5vq9.

Is CVE-2023-27848 in your software?

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

Check your SBOMs for free