Samurai · Samurai · CVE-2021-30218
**Name of the Vulnerable Software and Affected Versions**
samurai version 1.2
**Description**
The issue is related to a NULL pointer dereference in the `writefile()` function, located in `util.c`, which can be triggered by a crafted build file.
**Recommendations**
For version 1.2, consider restricting access to the `writefile()` function in `util.c` until a patch is available. As a temporary workaround, avoid using crafted build files that may cause the NULL pointer dereference. At the moment, there is no information about a newer version that contains a fix for this issue.