Debian DSA-5291-1 : mujs - security update

high Nessus Plugin ID 168232

Synopsis

The remote Debian host is missing one or more security-related updates.

Description

The remote Debian 11 host has packages installed that are affected by multiple vulnerabilities as referenced in the dsa-5291 advisory.

- 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

Upgrade the mujs packages.

For the stable distribution (bullseye), these problems have been fixed in version 1.1.0-1+deb11u2.

See Also

https://security-tracker.debian.org/tracker/source-package/mujs

https://www.debian.org/security/2022/dsa-5291

https://security-tracker.debian.org/tracker/CVE-2022-30974

https://security-tracker.debian.org/tracker/CVE-2022-30975

https://security-tracker.debian.org/tracker/CVE-2022-44789

https://packages.debian.org/source/bullseye/mujs

Plugin Details

Severity: High

ID: 168232

File Name: debian_DSA-5291.nasl

Version: 1.4

Type: local

Agent: unix

Published: 11/28/2022

Updated: 9/20/2023

Supported Sensors: Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Medium

Base Score: 4.3

Temporal Score: 3.4

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

CVSS Score Source: CVE-2022-30975

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 7.9

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

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

CVSS Score Source: CVE-2022-44789

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:libmujs-dev, p-cpe:/a:debian:debian_linux:libmujs1, p-cpe:/a:debian:debian_linux:mujs, cpe:/o:debian:debian_linux:11.0

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 11/28/2022

Vulnerability Publication Date: 5/18/2022

Reference Information

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