Vulnerability Details : CVE-2017-9527
The mark_context_stack 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.
Vulnerability category: Memory CorruptionDenial of service
Products affected by CVE-2017-9527
- cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
- cpe:2.3:a:mruby:mruby:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2017-9527
0.09%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 41 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2017-9527
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
6.8
|
MEDIUM | AV:N/AC:M/Au:N/C:P/I:P/A:P |
8.6
|
6.4
|
NIST | |
7.8
|
HIGH | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
1.8
|
5.9
|
NIST |
CWE ids for CVE-2017-9527
-
The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.Assigned by: nvd@nist.gov (Primary)
References for CVE-2017-9527
-
https://lists.debian.org/debian-lts-announce/2022/05/msg00006.html
[SECURITY] [DLA 2996-1] mruby security updateMailing List;Third Party Advisory
-
https://github.com/mruby/mruby/issues/3486
Heap use-after-free in mark_context_stack · Issue #3486 · mruby/mruby · GitHubExploit;Issue Tracking;Patch;Third Party Advisory
-
https://github.com/mruby/mruby/commit/5c114c91d4ff31859fcd84cf8bf349b737b90d99
Clear unused stack region that may refer freed objects; fix #3596 · mruby/mruby@5c114c9 · GitHubIssue Tracking;Patch;Third Party Advisory
Jump to