CVE-2021-30218 Null dereference in n/a

Medium 5.5 Published Updated

A crafted build file causes a NULL pointer dereference in samurai, leading to a denial of service.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2021-30218?

CVE-2021-30218 is a medium-severity vulnerability in n/a, published on 29 Apr 2021. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

samurai 1.2 has a NULL pointer dereference in writefile() in util.c via a crafted build file.

Weakness: CWE-476

Which versions are affected by CVE-2021-30218?

It affects 1 product.

Products include Samurai Project Samurai.

How do I fix CVE-2021-30218?

Upgrade to a fixed version.

Is CVE-2021-30218 being exploited?

There is no known exploitation of CVE-2021-30218 in the wild and no public exploit code.

Sources

Also known as ALPINE-CVE-2021-30218, GHSA-xh35-9rm8-7v5q.

Is CVE-2021-30218 in your software?

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

Check your SBOMs for free