CVE-2017-5923
libyara/grammar.y in YARA 3.5.0 allows remote attackers to cause a denial of service (heap-based out-of-bounds read and application crash) via a crafted rule that is mishandled in the yara_yyparse function.
What to do
Fixed builds are available from Debian: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 25.10 | yara | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | yara | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | yara | Fix pending | 3.4.0+dfsg-2ubuntu0.1~esm1 (Ubuntu Pro) | UBUNTU-CVE-2017-5923 |
| Ubuntu 14.04 | yara | Fix pending | ||
| Debian 14 | yara | Fixed | 3.5.0+dfsg-9 | DEBIAN-CVE-2017-5923 |
| Debian 13 | yara | Fixed | 3.5.0+dfsg-9 | DEBIAN-CVE-2017-5923 |
| Debian 12 | yara | Fixed | 3.5.0+dfsg-9 | DEBIAN-CVE-2017-5923 |
References
- https://github.com/VirusTotal/yara/issues/597
- http://www.securityfocus.com/bid/98080
- https://github.com/VirusTotal/yara/commit/ab906da53ff2a68c6fd6d1fa73f2b7c7bf0bc636
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.