Skip to content

Prototype Pollution in undefsafe

Moderate severity GitHub Reviewed Published Feb 9, 2022 to the GitHub Advisory Database • Updated Feb 1, 2023

Package

npm undefsafe (npm)

Affected versions

< 2.0.3

Patched versions

2.0.3

Description

undefsafe before 2.0.3 is vulnerable to Prototype Pollution. The 'a' function could be tricked into adding or modifying properties of Object.prototype using a __proto__ payload.

References

Published by the National Vulnerability Database Feb 18, 2020
Reviewed Apr 7, 2021
Published to the GitHub Advisory Database Feb 9, 2022
Last updated Feb 1, 2023

Severity

Moderate
6.3
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
Low
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L

Weaknesses

CVE ID

CVE-2019-10795

GHSA ID

GHSA-332q-7ff2-57h2

Source code

Credits

Checking history
See something to contribute? Suggest improvements for this vulnerability.