CVE-2023-0163
JavaScript vulnerability analysis and mitigation

Overview

A prototype pollution vulnerability was discovered in Mozilla Convict before version 6.2.4. The vulnerability (CVE-2023-0163) allows an attacker to inject attributes that are used in other components or override existing attributes with incompatible types, potentially leading to crashes. The vulnerability was discovered and reported on November 24, 2022, and was patched with the release of version 6.2.4 on January 7, 2023 (Mozilla Issue, GitHub Advisory).

Technical details

The vulnerability is classified as an Improperly Controlled Modification of Object Prototype Attributes (Prototype Pollution) vulnerability. The issue allows attackers to modify prototype behavior through the .set() method. The vulnerability has been assigned a CVSS v3.1 base score of 8.4 (HIGH) with the vector string CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H, indicating local attack vector, low attack complexity, no privileges required, and high impact on confidentiality, integrity, and availability (GitHub Advisory).

Impact

The vulnerability can lead to multiple security implications including Information Disclosure, Denial of Service (DoS), and potentially Remote Code Execution (RCE). While the main use case of Convict is for handling server-side configurations written by server administrators, an administrator who is not knowledgeable about JavaScript could be tricked by an attacker into writing malicious JavaScript code into configuration files (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been fixed in Convict version 6.2.4 by implementing protections against prototype pollution. The fix includes filtering out keywords and checking for vulnerable instances such as 'constructor', 'proto', and 'prototype'. Users are strongly recommended to upgrade to version 6.2.4 or later, as there are no alternative workarounds available (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

“Best User Experience I have ever seen, provides full visibility to cloud workloads.”
David EstlickCISO
“Wiz provides a single pane of glass to see what is going on in our cloud environments.”
Adam FletcherChief Security Officer
“We know that if Wiz identifies something as critical, it actually is.”
Greg PoniatowskiHead of Threat and Vulnerability Management