PT-2020-9145
CVE-2019-10794
·
Published
2020-02-18
·
Updated
2022-05-24
Description by
CVSS 2.0
6.5
MediumMetricsAV:N/AC:L/Au:S/C:P/I:P/A:P
Name of the Vulnerable Software and Affected Versions
component-flatten versions all
Description
The issue allows the
a function to be tricked into adding or modifying properties of Object.prototype using a proto payload, which is a form of Prototype Pollution. This occurs because the function does not properly handle the proto property in the payload.Recommendations
For all versions, consider restricting the use of the
a function until a patch is available to prevent potential exploitation. As a temporary workaround, avoid using the proto property in the payload to minimize the risk of Prototype Pollution. Found an issue in the description? Have something to add? Feel free to write us 👾