GLSA-202405-06 : mujs: Multiple Vulnerabilities

critical Nessus Plugin ID 194980

Description

The remote host is affected by the vulnerability described in GLSA-202405-06 (mujs: Multiple Vulnerabilities)

- Artifex MuJS v1.1.3 was discovered to contain a heap buffer overflow which is caused by conflicting JumpList of nested try/finally statements. (CVE-2021-45005)

- compile in regexp.c in Artifex MuJS through 1.2.0 results in stack consumption because of unlimited recursion, a different issue than CVE-2019-11413. (CVE-2022-30974)

- In Artifex MuJS through 1.2.0, jsP_dumpsyntax in jsdump.c has a NULL pointer dereference, as demonstrated by mujs-pp. (CVE-2022-30975)

- A logical issue in O_getOwnPropertyDescriptor() in Artifex MuJS 1.0.0 through 1.3.x before 1.3.2 allows an attacker to achieve Remote Code Execution through memory corruption, via the loading of a crafted JavaScript file. (CVE-2022-44789)

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

All mujs users should upgrade to the latest version:

# emerge --sync # emerge --ask --oneshot --verbose >=dev-lang/mujs-1.3.2

See Also

https://security.gentoo.org/glsa/202405-06

https://bugs.gentoo.org/show_bug.cgi?id=833453

https://bugs.gentoo.org/show_bug.cgi?id=845399

https://bugs.gentoo.org/show_bug.cgi?id=882775

Plugin Details

Severity: Critical

ID: 194980

File Name: gentoo_GLSA-202405-06.nasl

Version: 1.0

Type: local

Published: 5/4/2024

Updated: 5/4/2024

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.9

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

CVSS Score Source: CVE-2021-45005

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.8

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

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

CPE: cpe:/o:gentoo:linux, p-cpe:/a:gentoo:linux:mujs

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 5/4/2024

Vulnerability Publication Date: 2/14/2022

Reference Information

CVE: CVE-2021-45005, CVE-2022-30974, CVE-2022-30975, CVE-2022-44789