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.

Severity (CVSS 3.1)3.7Low
Exploit odds (30 days)0.5%top 58.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
npm@aedart/support0.6.1GHSA-wwxh-74fx-33c6

Affected products (as reported)

VendorProductVersions
aedart ion < 0.6.1

Weakness: CWE-1321 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N

References