The markcontextstack function in gc.c in mruby through 1.2.0 allows attackers to cause a denial of service (heap-based use-after-free and application crash) or possibly have unspecified other impact via a crafted .rb file.
[
{
"source": "https://github.com/mruby/mruby/commit/5c114c91d4ff31859fcd84cf8bf349b737b90d99",
"target": {
"function": "mark_context_stack",
"file": "src/gc.c"
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2017-9527-0b64423d",
"digest": {
"length": 547.0,
"function_hash": "286219651794874583022066205112029788158"
},
"signature_type": "Function"
},
{
"source": "https://github.com/mruby/mruby/commit/5c114c91d4ff31859fcd84cf8bf349b737b90d99",
"target": {
"file": "src/gc.c"
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2017-9527-76c1b6a1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"239328260997774354437319465623085189723",
"278749016881778886418842281945883168779",
"113515937360586162616117102418961035864",
"185062502001950100527544536542242255813",
"94831734521497849468177636311830953652",
"136229001971788190294863844937971499822",
"215219651310723059012235489279416079175",
"317851459485684649508170802408184894780",
"241504984179936146407905117891020266225",
"247869340733954520892314820391799532118",
"43035428114706040117447406129172114308",
"139392374937586911940466184861622959537",
"108587633537507210242609878158511307392",
"173878156555487118740790950504304142821",
"104076392047553672763771949455293999536"
]
},
"signature_type": "Line"
}
]