Headline
CVE-2023-30857: Fix possible prototype pollution · aedart/ion@c3e2ee0
@aedart/support is the support package for Ion, a monorepo for JavaScript/TypeScript packages. Prior to version 0.6.1
, there is a possible prototype pollution issue for the MetadataRecord
, when merged with a base class’ metadata object, in meta
decorator from the @aedart/support
package. The likelihood of exploitation is questionable, given that a class’s metadata can only be set or altered when the class is decorated via meta()
. Furthermore, object(s) of sensitive nature would have to be stored as metadata, before this can lead to a security impact. The issue has been patched in version 0.6.1
.
Permalink
Browse files
Browse the repository at this point in the history
Fix possible prototype pollution
Not entirely sure how likely this will ever be for metadata, but just in case that the entire metadata record’s prototype is attempted polluted, then this will prevent it.
- Loading branch information
Related news
### Impact Possible prototype pollution for the `MetadataRecord`, when merged with a base class' metadata object, in `meta` decorator from the `@aedart/support` package. The likelihood is questionable, given that a class' metadata can only be set or altered when the class is decorated via `meta()`. Furthermore, object(s) of sensitive nature would have to be stored as metadata, before this can become a vulnerability. ### Patches Has been patched in version `0.6.1`.