Vulnerability Details : CVE-2017-5924
libyara/grammar.y in YARA 3.5.0 allows remote attackers to cause a denial of service (use-after-free and application crash) via a crafted rule that is mishandled in the yr_compiler_destroy function.
Vulnerability category: Memory CorruptionDenial of service
Products affected by CVE-2017-5924
- cpe:2.3:a:virustotal:yara:3.5.0:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2017-5924
0.57%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 78 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2017-5924
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
5.0
|
MEDIUM | AV:N/AC:L/Au:N/C:N/I:N/A:P |
10.0
|
2.9
|
NIST | |
7.5
|
HIGH | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
3.9
|
3.6
|
NIST |
CWE ids for CVE-2017-5924
-
The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.Assigned by: nvd@nist.gov (Primary)
References for CVE-2017-5924
-
https://github.com/VirusTotal/yara/commit/7f02eca670f29c00a1d2c305e96febae6ce5d37b
Make sure that loop depth is greater than 0 before decrementing it. · VirusTotal/yara@7f02eca · GitHubPatch;Vendor Advisory
-
http://www.securityfocus.com/bid/98075
YARA CVE-2017-5924 Denial of Service Vulnerability
-
https://github.com/VirusTotal/yara/issues/593
Use after free in yr_compiler_destroy() · Issue #593 · VirusTotal/yara · GitHubExploit;Issue Tracking;Patch
Jump to