Skip to content
OpenAdvisories
Low · 3.7 CVE-2023-30857 EUVD-2023-1644GHSA-wwxh-74fx-33c6

@aedart/support possibly vulnerable to prototype pollution in metadata record, when using meta decorator

Published Apr 28, 2023 · Updated Jan 30, 2025 · Assigned by GitHub_M

Description

@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`.

Affected products

VendorProductAffectedFixed
aedart ion < 0.6.1 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm @aedart/support < 0.6.1 0.6.1 GHSA-wwxh-74fx-33c6

References