Yayson: Prototype pollution in the Store/LegacyStore deserialization
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| confetti | yayson | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Confetti | Yayson |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-325j-mg25-8q58 | yayson: Prototype pollution in Store/LegacyStore deserialization |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.840% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Confetti
Confetti yayson |
|
| Vendors & Products |
Confetti
Confetti yayson |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | Yayson is a library for serializing and reading JSON API data in JavaScript. Prior to 4.3.0, Store and LegacyStore use attacker-controlled JSON:API type, id, and relationship names as keys in plain-object lookup tables in src/yayson/store.ts and src/yayson/legacy-store.ts. A document whose type is __proto__ causes model-cache writes to modify Object.prototype, with the attacker controlling the polluted property name through id and its value through attributes. The malicious type can also be supplied by an included resource, and LegacyStore is reachable when a configured types mapping resolves to __proto__. Unsafe relationship names including __proto__, constructor, and prototype provide additional document-derived member paths. The resulting process-wide prototype pollution can cause denial of service and logic corruption; authorization bypass or code execution depends on suitable gadgets in the consuming application. This issue is fixed in version 4.3.0. | |
| Title | Yayson: Prototype pollution in the Store/LegacyStore deserialization | |
| Weaknesses | CWE-1321 | |
| References |
| |
| Metrics |
cvssV3_1
|