Vulnerability Details : CVE-2021-30218
samurai 1.2 has a NULL pointer dereference in writefile() in util.c via a crafted build file.
Vulnerability category: Memory Corruption
Products affected by CVE-2021-30218
- cpe:2.3:a:samurai_project:samurai:1.2:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2021-30218
0.06%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 26 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-30218
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
4.3
|
MEDIUM | AV:N/AC:M/Au:N/C:N/I:N/A:P |
8.6
|
2.9
|
NIST | |
5.5
|
MEDIUM | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
1.8
|
3.6
|
NIST |
CWE ids for CVE-2021-30218
-
The product dereferences a pointer that it expects to be valid but is NULL.Assigned by: nvd@nist.gov (Primary)
References for CVE-2021-30218
-
https://github.com/michaelforney/samurai/issues/67
NULL pointer dereference in the writefile() function · Issue #67 · michaelforney/samurai · GitHubExploit;Issue Tracking;Third Party Advisory
-
https://github.com/michaelforney/samurai/commit/e84b6d99c85043fa1ba54851ee500540ec206918
util: Check for NULL string in writefile · michaelforney/samurai@e84b6d9 · GitHubPatch;Third Party Advisory
Jump to