GitHub Advisoryadvisory · npm
GHSA-wwxh-74fx-33c6 Possible prototype pollution in metadata record, when using meta decorator
LOW
Official page ↗
- Aliases
- CVE-2023-30857
- Ecosystem
- npm
- Packages
- @aedart/support
- Severity
- Low
- CVSS vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
- Weaknesses
- CWE-1321
- Reviewed
- 2023-05-01
Affected packages
• npm @aedart/support: < 0.6.1 → fixed in 0.6.1
Description
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`.
Related
Alias · CVE (1)
- CVE-2023-30857 @aedart/support is the support package for Ion, a monorepo for JavaScript/TypeScript packages. vulnerability
Weakness · CWE (1)
- CWE-1321 Improperly Controlled Modification of Object Prototype Attributes weakness