CVE-2017-9527

Source
https://nvd.nist.gov/vuln/detail/CVE-2017-9527
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-9527.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2017-9527
Downstream
Published
2017-06-11T17:29:00Z
Modified
2025-10-21T04:23:42.870784Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/mruby/mruby

Affected ranges

Type
GIT
Repo
https://github.com/mruby/mruby
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

1.*

1.0.0
1.1.0
1.2.0

Database specific

vanir_signatures

[
    {
        "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"
    }
]