Lucene search

K
archlinuxArchLinuxASA-202107-10
HistoryJul 01, 2021 - 12:00 a.m.

[ASA-202107-10] mruby: arbitrary code execution

2021-07-0100:00:00
security.archlinux.org
148
mruby
arbitrary code execution
vulnerability
fix
upgrade

CVSS2

6.8

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:M/Au:N/C:P/I:P/A:P

CVSS3

7.8

Attack Vector

LOCAL

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

EPSS

0.002

Percentile

52.3%

Arch Linux Security Advisory ASA-202107-10

Severity: Medium
Date : 2021-07-01
CVE-ID : CVE-2020-36401
Package : mruby
Type : arbitrary code execution
Remote : Yes
Link : https://security.archlinux.org/AVG-2116

Summary

The package mruby before version 3.0.0-1 is vulnerable to arbitrary
code execution.

Resolution

Upgrade to 3.0.0-1.

pacman -Syu “mruby>=3.0.0-1”

The problem has been fixed upstream in version 3.0.0.

Workaround

None.

Description

mruby 2.1.2 has a double free in mrb_default_allocf (called from
mrb_free and obj_free).

Impact

An attacker could execute arbitrary code through a use after free.

References

https://github.com/google/oss-fuzz-vulns/blob/main/vulns/mruby/OSV-2020-744.yaml
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=23801
https://github.com/mruby/mruby/commit/97319697c8f9f6ff27b32589947e1918e3015503
https://security.archlinux.org/CVE-2020-36401

OSVersionArchitecturePackageVersionFilename
ArchLinuxanyanymruby< 3.0.0-1UNKNOWN

CVSS2

6.8

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:M/Au:N/C:P/I:P/A:P

CVSS3

7.8

Attack Vector

LOCAL

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

EPSS

0.002

Percentile

52.3%