The yrarenawritedata 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 yrrefastexec function in libyara/re.c and the yrscanmatchcallback function in libyara/scan.c.
[
{
"id": "CVE-2017-9465-1fffc0bc",
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"252996570414779086210087909001158397802",
"261181511046233318281731376336113655141",
"185667405258648800816523469620654116272"
]
},
"deprecated": false,
"signature_type": "Line",
"source": "https://github.com/virustotal/yara/commit/992480c30f75943e9cd6245bb2015c7737f9b661",
"target": {
"file": "libyara/scan.c"
}
},
{
"id": "CVE-2017-9465-28e62c69",
"signature_version": "v1",
"digest": {
"function_hash": "190220911575372943830684449426476716685",
"length": 1543.0
},
"deprecated": false,
"signature_type": "Function",
"source": "https://github.com/virustotal/yara/commit/992480c30f75943e9cd6245bb2015c7737f9b661",
"target": {
"file": "libyara/scan.c",
"function": "_yr_scan_match_callback"
}
},
{
"id": "CVE-2017-9465-3eae38c7",
"signature_version": "v1",
"digest": {
"function_hash": "218722524166379495420155728076727896018",
"length": 2080.0
},
"deprecated": false,
"signature_type": "Function",
"source": "https://github.com/virustotal/yara/commit/992480c30f75943e9cd6245bb2015c7737f9b661",
"target": {
"file": "libyara/re.c",
"function": "yr_re_fast_exec"
}
},
{
"id": "CVE-2017-9465-8bf4ddcd",
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"65748931783295745936784776389354996336",
"246851929234363948597532778460422286229",
"260828838973996272821542977455737067581",
"113800155931700414934196972369092325044",
"256514620458886774406778854107372161521",
"209393066111306728356378236144028102631",
"202636849054021355813057677063838077607",
"243961396931324914856459043778367457788",
"130967971306365082989099645444723723985",
"328624578045068155561219552824340821315"
]
},
"deprecated": false,
"signature_type": "Line",
"source": "https://github.com/virustotal/yara/commit/992480c30f75943e9cd6245bb2015c7737f9b661",
"target": {
"file": "libyara/re.c"
}
}
]