CVE-2022-21803 HIGH

CVE-2022-21803: Prototype Pollution

Vendor N/A
Product nconf
Published April 12, 2022
Last update September 16, 2024

CVSS base score

7.3/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Confidentiality Low
Integrity Low

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P

What the vulnerability does

01Description

This affects the package nconf before 0.11.4. When using the memory engine, it is possible to store a nested JSON representation of the configuration. The .set() function, that is responsible for setting the configuration properties, is vulnerable to Prototype Pollution. By providing a crafted property, it is possible to modify the properties on the Object.prototype.

Key dates

02Disclosure timeline

April 12, 2022 CVE published
September 16, 2024 Record updated