-
-
Notifications
You must be signed in to change notification settings - Fork 35.6k
Disable __proto__ #31951
Copy link
Copy link
Closed
Labels
securityIssues and PRs related to security.Issues and PRs related to security.
Metadata
Metadata
Assignees
Labels
securityIssues and PRs related to security.Issues and PRs related to security.
Type
Fields
Give feedbackNo fields configured for issues without a type.
There have been quite a few CVE related to
__proto__in the last while. I think it would be good to have a flag to enable/disable it.A quick example:
(It's not strictly related to JSON, as it can also apply to multipart data or other serialization format).
Some vulnerabilities:
I don't know if this is fixable / manageable on our side (vs V8), but
__proto__still causes significant vulnerabilities.Note that there are some modules to help with this, including https://github.com/hapijs/bourne.