Vulnerability · Published Apr 28, 2023 · Assigned by GitHub_M
CVE-2023-30857@aedart/support possibly vulnerable to prototype pollution in metadata record, when using meta decorator
Low 3.7
In plain English
A low-severity prototype pollution in ion from aedart. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 42% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | @aedart/support | 0.6.1 | GHSA-wwxh-74fx-33c6 |
Affected products (as reported)
Weakness: CWE-1321 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
References
- https://github.com/aedart/ion/security/advisories/GHSA-wwxh-74fx-33c6 x_refsource_CONFIRM
- https://github.com/aedart/ion/commit/c3e2ee08710d4164d796ecb66ed291335dae9291 x_refsource_MISC