OSV-2020-345 Index-out-of-bounds in yara_yyparse
An index-out-of-bounds error in the YARA parser allows attackers to cause a denial of service via crafted rules.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Not stated
- Victim action needed
- Not needed
- Fix
- None listed
What is OSV-2020-345?
OSV-2020-345 is a memory corruption vulnerability in yara, published on 1 Jul 2020.
Official description
OSS-Fuzz report: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=18942
Crash type: Index-out-of-bounds
Crash state:
yara_yyparse
yr_lex_parse_rules_string
rules_fuzzer.cc
Which versions are affected by OSV-2020-345?
1 open source package ship an affected version, including yara.
| Package | Affected | Fixed in |
|---|---|---|
yara OSS-Fuzz | All versions | None |
How do I fix OSV-2020-345?
No fix has been published for OSV-2020-345 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is OSV-2020-345 being exploited?
There is no known exploitation of OSV-2020-345 in the wild and no public exploit code.