CVE-2021-30218
MEDIUMCVSS 5.5/10EPSS 0.75%
Last modified
CVE-2021-30218 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. samurai 1.2 has a NULL pointer dereference in writefile() in util.c via a crafted build file.. EPSS estimates a 0.75% chance of exploitation in the next 30 days.
Description
samurai 1.2 has a NULL pointer dereference in writefile() in util.c via a crafted build file.
Metrics
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Samurai Project | Samurai | 1.2 |
References
- https://github.com/michaelforney/samurai/commit/e84b6d99c85043fa1ba54851ee500540ec206918Patch, Third Party Advisory
- https://github.com/michaelforney/samurai/issues/67Exploit, Issue Tracking, Third Party Advisory
- https://github.com/michaelforney/samurai/commit/e84b6d99c85043fa1ba54851ee500540ec206918Patch, Third Party Advisory
- https://github.com/michaelforney/samurai/issues/67Exploit, Issue Tracking, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-30218?
samurai 1.2 has a NULL pointer dereference in writefile() in util.c via a crafted build file.
How severe is CVE-2021-30218?
CVE-2021-30218 has a CVSS score of 5.5/10 (MEDIUM severity). The EPSS model estimates a 0.75% probability of exploitation in the next 30 days.
How do I fix CVE-2021-30218?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-3021ISPConfig before 3.2.2 allows SQL injection.9.8
- CVE-2021-30211Knowage Suite 7.3 is vulnerable to Stored Cross-Site Scripti…5.4
- CVE-2021-30212Knowage Suite 7.3 is vulnerable to Stored Cross-Site Scripti…5.4
- CVE-2021-30213Knowage Suite 7.3 is vulnerable to unauthenticated reflected…6.1
- CVE-2021-30214Knowage Suite 7.3 is vulnerable to Stored Client-Side Templa…5.4
- CVE-2021-30216Rejected reason: DO NOT USE THIS CANDIDATE NUMBER. ConsultID…
- CVE-2021-30219samurai 1.2 has a NULL pointer dereference in printstatus() …5.5
- CVE-2021-3022An issue was discovered on LG mobile devices with Android OS…5.5
- CVE-2021-30224Cross Site Request Forgery (CSRF) in Rukovoditel v2.8.3 allo…8.8
- CVE-2021-30227Cross Site Scripting (XSS) vulnerability in the article comm…6.1
- CVE-2021-30228The api/ZRAndlink/set_ZRAndlink interface in China Mobile An…9.8
- CVE-2021-30229The api/zrDm/set_zrDm interface in China Mobile An Lianbao W…8.8
Are you affected by CVE-2021-30218?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
