Uncontrolled Recursion in YARA - CVE-2017-9438
Published: June 5, 2017 / Updated: August 8, 2020
Vulnerability details
The vulnerability allows a remote non-authenticated attacker to perform a denial of service (DoS) attack.
libyara/re.c in the regexp module in YARA 3.5.0 allows remote attackers to cause a denial of service (stack consumption) via a crafted rule (involving hex strings) that is mishandled in the _yr_re_emit function, a different vulnerability than CVE-2017-9304.
Affected software
Fedora
Ubuntu
yara (Ubuntu package)
yara
python-yara
How to mitigate CVE-2017-9438
yara - addressed in versions 3.6.2-1.el6, 3.6.3-1.el6, 3.11.0-1.el6, 4.1.0-1.el7, 4.1.0-1.el8, 4.1.0-1.fc33, 4.1.0-1.fc34
python-yara - addressed in versions 4.1.0-1.el7, 4.1.0-1.el8, 4.1.0-1.fc33, 4.1.0-1.fc34
External References
Related Security Bulletins
- Multiple vulnerabilities in VirusTotal YARA
- Fedora EPEL 6 update for yara
- Fedora EPEL 6 update for yara
- Fedora EPEL 6 update for yara
- Ubuntu update for yara
- Fedora EPEL 7 update for python-yara, yara
- Fedora 33 update for python-yara, yara
- Fedora EPEL 8 update for python-yara, yara
- Fedora 34 update for python-yara, yara