CVE-2022-21824

Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution') in pypi/mysql-connector-python

Identifiers

CVE-2022-21824

Package Slug

pypi/mysql-connector-python

Vulnerability

Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')

Description

Due to the formatting logic of the "console.table()" function it was not safe to allow user controlled input to be passed to the "properties" parameter while simultaneously passing a plain object with at least one property as the first parameter, which could be "proto". The prototype pollution has very limited control, in that it only allows an empty string to be assigned to numerical keys of the object prototype.Node.js >= 12.22.9, >= 14.18.3, >= 16.13.2, and >= 17.3.1 use a null protoype for the object these properties are being assigned to.

Affected Versions

All versions up to 8.0.28

Solution

Upgrade to version 8.0.29 or above.

Last Modified

2022-08-01

source