Vulnerability Details : CVE-2021-30219
samurai 1.2 has a NULL pointer dereference in printstatus() function in build.c via a crafted build file.
Vulnerability category: Memory Corruption
Exploit prediction scoring system (EPSS) score for CVE-2021-30219
Probability of exploitation activity in the next 30 days: 0.06%
Percentile, the proportion of vulnerabilities that are scored at or less: ~ 23 % EPSS Score History EPSS FAQ
CVSS scores for CVE-2021-30219
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Source |
---|---|---|---|---|---|
4.3
|
MEDIUM | AV:N/AC:M/Au:N/C:N/I:N/A:P |
8.6
|
2.9
|
nvd@nist.gov |
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
|
nvd@nist.gov |
CWE ids for CVE-2021-30219
-
A NULL pointer dereference occurs when the application dereferences a pointer that it expects to be valid, but is NULL, typically causing a crash or exit.Assigned by: nvd@nist.gov (Primary)
References for CVE-2021-30219
-
https://github.com/michaelforney/samurai/commit/d2af3bc375e2a77139c3a28d6128c60cd8d08655
parse: Check for non-empty command/rspfile/rspfile_content · michaelforney/samurai@d2af3bc · GitHubPatch;Third Party Advisory
-
https://github.com/michaelforney/samurai/issues/68
NULL pointer dereference in the printstatus() function · Issue #68 · michaelforney/samurai · GitHubExploit;Issue Tracking;Third Party Advisory
Products affected by CVE-2021-30219
- cpe:2.3:a:samurai_project:samurai:1.2:*:*:*:*:*:*:*