Type Confusion in mozjs78 (Alpine package)



Risk High
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2021-23954
CWE-ID CWE-843
Exploitation vector Network
Public exploit N/A
Vulnerable software
mozjs78 (Alpine package)
Operating systems & Components / Operating system package or component

Vendor Alpine Linux Development Team

Security Bulletin

This security bulletin contains one high risk vulnerability.

1) Type Confusion

EUVDB-ID: #VU50022

Risk: High

CVSSv4.0: 6.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber]

CVE-ID: CVE-2021-23954

CWE-ID: CWE-843 - Type confusion

Exploit availability: No

Description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a type confusion error when using the new logical assignment operators in a JavaScript switch statement. A remote attacker can create a specially crafted web page, trick the victim into opening it, trigger a type confusion error and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.

Mitigation

Install update from vendor's website.

Vulnerable software versions

mozjs78 (Alpine package): 78.6.1-r0

CPE2.3 External links

https://git.alpinelinux.org/aports/commit/?id=3bfe2035546b511130bb1e0f6aee1a9de86814d9
https://git.alpinelinux.org/aports/commit/?id=b9fc2ab51a39e4be2d498849fd6c81c823d08642


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###