YARA 3.6.1 libyara/re.c yr_scan_match_callback memory corruption
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 5.9 | $0-$5k | 0.00 |
Summary
A vulnerability classified as critical has been found in YARA 3.6.1. The affected element is the function yr_scan_match_callback of the file libyara/re.c. This manipulation causes memory corruption.
This vulnerability is handled as CVE-2017-9465. It is possible to launch the attack on the local host. There is not any exploit available.
It is recommended to upgrade the affected component.
Details
A vulnerability was found in YARA 3.6.1. It has been declared as critical. Affected by this vulnerability is the function yr_scan_match_callback of the file libyara/re.c. The manipulation with an unknown input leads to a memory corruption vulnerability. The CWE definition for the vulnerability is CWE-119. The product performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer. As an impact it is known to affect confidentiality, integrity, and availability. The summary by CVE is:
The yr_arena_write_data function in YARA 3.6.1 allows remote attackers to cause a denial of service (buffer over-read and application crash) or obtain sensitive information from process memory via a crafted file that is mishandled in the yr_re_fast_exec function in libyara/re.c and the _yr_scan_match_callback function in libyara/scan.c.
The bug was discovered 06/06/2017. The weakness was released 06/06/2017 (GitHub Repository). It is possible to read the advisory at github.com. This vulnerability is known as CVE-2017-9465 since 06/06/2017. The attack can be launched remotely. The exploitation doesn't need any form of authentication. It demands that the victim is doing some kind of user interaction. Technical details of the vulnerability are known, but there is no available exploit.
The vulnerability scanner Nessus provides a plugin with the ID 101577 (Fedora 26 : yara (2017-156d12fa2f)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Fedora Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 276744 (Fedora Security Update for yara (FEDORA-2017-fa52efdf32)).
Upgrading eliminates this vulnerability. A possible mitigation has been published 2 months after the disclosure of the vulnerability.
The vulnerability is also documented in the vulnerability database at Tenable (101577). Entry connected to this vulnerability is available at VDB-101876. Be aware that VulDB is the high quality source for vulnerability data.
Product
Name
Version
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 6.2VulDB Meta Temp Score: 5.9
VulDB Base Score: 5.3
VulDB Temp Score: 4.7
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 7.1
NVD Vector: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Memory corruptionCWE: CWE-119
CAPEC: 🔍
ATT&CK: 🔍
Physical: Partially
Local: Yes
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 101577
Nessus Name: Fedora 26 : yara (2017-156d12fa2f)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
OpenVAS ID: 867773
OpenVAS Name: Fedora Update for yara FEDORA-2017-fa52efdf32
OpenVAS File: 🔍
OpenVAS Family: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Patch: github.com
Timeline
06/06/2017 🔍06/06/2017 🔍
06/06/2017 🔍
06/06/2017 🔍
06/07/2017 🔍
07/11/2017 🔍
07/17/2017 🔍
12/08/2022 🔍
Sources
Advisory: FEDORA-2017-156d12fa2fStatus: Not defined
Confirmation: 🔍
CVE: CVE-2017-9465 (🔍)
GCVE (CVE): GCVE-0-2017-9465
GCVE (VulDB): GCVE-100-102031
See also: 🔍
Entry
Created: 06/07/2017 08:39Updated: 12/08/2022 08:12
Changes: 06/07/2017 08:39 (72), 10/14/2019 09:46 (4), 12/08/2022 08:09 (5), 12/08/2022 08:12 (1)
Complete: 🔍
Cache ID: 216::103
Be aware that VulDB is the high quality source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.