Lucene search

K
archlinuxArchLinuxASA-202010-5
HistoryOct 18, 2020 - 12:00 a.m.

[ASA-202010-5] lua: arbitrary code execution

2020-10-1800:00:00
security.archlinux.org
10

9.8 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

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

7.5 High

CVSS2

Access Vector

NETWORK

Access Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

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

0.004 Low

EPSS

Percentile

72.0%

Arch Linux Security Advisory ASA-202010-5

Severity: High
Date : 2020-10-18
CVE-ID : CVE-2020-15888 CVE-2020-15889
Package : lua
Type : arbitrary code execution
Remote : Yes
Link : https://security.archlinux.org/AVG-1207

Summary

The package lua before version 5.4.1-1 is vulnerable to arbitrary code
execution.

Resolution

Upgrade to 5.4.1-1.

pacman -Syu β€œlua>=5.4.1-1”

The problems have been fixed upstream in version 5.4.1.

Workaround

None.

Description

  • CVE-2020-15888 (arbitrary code execution)

Lua through 5.4.0 mishandles the interaction between stack resizes and
garbage collection, leading to a heap-based buffer overflow, heap-based
buffer over-read, or use-after-free.

  • CVE-2020-15889 (arbitrary code execution)

Lua through 5.4.0 has a getobjname heap-based buffer over-read because
youngcollection in lgc.c uses markold for an insufficient number of
list members.

Impact

A remote attacker is capable of executing arbitrary code on the
affected host.

References

http://lua-users.org/lists/lua-l/2020-07/msg00053.html
http://lua-users.org/lists/lua-l/2020-07/msg00054.html
http://lua-users.org/lists/lua-l/2020-07/msg00071.html
http://lua-users.org/lists/lua-l/2020-07/msg00079.html
https://github.com/lua/lua/commit/6298903e35217ab69c279056f925fb72900ce0b7
https://github.com/lua/lua/commit/eb41999461b6f428186c55abd95f4ce1a76217d5
http://lua-users.org/lists/lua-l/2020-07/msg00078.html
https://github.com/lua/lua/commit/127e7a6c8942b362aa3c6627f44d660a4fb75312
https://security.archlinux.org/CVE-2020-15888
https://security.archlinux.org/CVE-2020-15889

OSVersionArchitecturePackageVersionFilename
ArchLinuxanyanylua<Β 5.4.1-1UNKNOWN

9.8 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

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

7.5 High

CVSS2

Access Vector

NETWORK

Access Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

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

0.004 Low

EPSS

Percentile

72.0%