Ant Design (antd) saw a minor version bump from 1.6.3 to 1.6.4, representing incremental updates beneficial for developers. Focusing on dependencies, several components received updates. In particular, rc-menu advanced from ~4.12.3 to ~4.12.4, rc-rate from ~1.1.1 to ~1.1.2, rc-tabs from ~5.9.1 to ~5.9.2, rc-tree moved from ~1.3.1 to ~1.3.5, rc-util went from ~3.1.3 to ~3.1.0 (a downgrade which is fairly rare that signifies a potential bug fix or API alignment), rc-table improved from ~4.3.2 to ~4.3.5, rc-dialog from ~6.1.0 to ~6.1.1, rc-select jumped from ~6.4.0 to ~6.4.6, and rc-slider progressed from ~3.7.0 to ~3.7.3 and rc-animate went from ~2.1.0 to ~2.3.0. Finally rc-time-picker advanced from ~1.1.4 to ~1.1.5 and rc-upload from ~1.13.0 to ~1.13.3.
These upgrades in React components likely involve bug fixes, performance enhancements, and potentially new features within those specific UI elements. Notably, normalize.css was removed entirely from the dependencies signifying a potential shift in how base styles are handled or integrated within the Ant Design framework. One should always check the antd changelog for a complete list of features added. Developers using antd should consider upgrading to 1.6.4 to leverage these improvements within their React applications.
All the vulnerabilities related to the version 1.6.4 of the package
Prototype pollution in object-path
A prototype pollution vulnerability has been found in object-path
<= 0.11.4 affecting the set()
method. The vulnerability is limited to the includeInheritedProps
mode (if version >= 0.11.0 is used), which has to be explicitly enabled by creating a new instance of object-path
and setting the option includeInheritedProps: true
, or by using the default withInheritedProps
instance. The default operating mode is not affected by the vulnerability if version >= 0.11.0 is used. Any usage of set()
in versions < 0.11.0 is vulnerable.
Upgrade to version >= 0.11.5
Don't use the includeInheritedProps: true
options or the withInheritedProps
instance if using a version >= 0.11.0.
Read more about the prototype pollution vulnerability
If you have any questions or comments about this advisory:
Prototype Pollution in object-path
This affects the package object-path before 0.11.6. A type confusion vulnerability can lead to a bypass of CVE-2020-15256 when the path components used in the path parameter are arrays. In particular, the condition currentPath === '__proto__'
returns false if currentPath
is ['__proto__']
. This is because the ===
operator returns always false when the type of the operands is different.
Prototype Pollution in object-path
object-path is vulnerable to Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution'). The del()
function fails to validate which Object properties it deletes. This allows attackers to modify the prototype of Object, causing the modification of default properties like toString
on all objects.