JS: Change note

This commit is contained in:
Asger Feldthaus
2020-11-25 14:39:40 +00:00
parent e42ca881a3
commit 544b3d9631

View File

@@ -0,0 +1,10 @@
lgtm,codescanning
* Detection of prototype pollution has improved and the queries involved have been reorganized:
* A new query "Prototype-polluting assignment" (`js/prototype-polluting-assignment`) has been added. This query
highlights direct modifications of an object obtained via a user-controlled property name, which may accidentally alter `Object.prototype`.
* The query previously named "Prototype pollution" (`js/prototype-pollution`) has been renamed to "Prototype-polluting merge call".
This highlights indirect modification of `Object.prototype` via an unsafe `merge` call taking a user-controlled object as argument.
* The query previously named "Prototype pollution in utility function" (`js/prototype-pollution-utility`) has been renamed to "Prototype-polluting function".
This query highlights the implementation of an unsafe `merge` function, to ensure a robust API is exposed downstream.
* The prototype pollution queries have been moved to the Security/CWE-915 folder,
and tagged with CWE-079, CWE-094, CWE-400, and CWE-915.