scimPatch vulnerable to prototype pollution via unfiltered keys in patch
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| thomaspoignant | scim-patch | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Thomaspoignant | Scim-patch |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-9m6g-wc8r-q59c | scimPatch vulnerable to prototype pollution via unfiltered keys in patch |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.403% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Thomaspoignant
Thomaspoignant scim-patch |
|
| Vendors & Products |
Thomaspoignant
Thomaspoignant scim-patch |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | `scim-patch`, a library to perform SCIM patch, prior to version 0.9.1 performs prototype pollution when applying a SCIM PATCH operation whose `value` object contains a key like `"__proto__.someProp"`. After one such patch, `Object.prototype.someProp` is set process-wide, affecting every plain object in the Node process. Any service that calls `scimPatch()` on attacker-controlled JSON (i.e. any SCIM endpoint accepting `PATCH` from an external IdP) is exploitable on a stock Node runtime. Version 0.9.1 contains a patch. A workaround is available. Calling `Object.freeze(Object.prototype)` (and the same on `Array.prototype`, `Function.prototype`) at process startup neutralizes this class of bug — assignment to a frozen prototype becomes a silent no-op in sloppy mode or a `TypeError` in strict mode. Node's `--frozen-intrinsics` flag does this for built-ins automatically. | |
| Title | scimPatch vulnerable to prototype pollution via unfiltered keys in patch | |
| Weaknesses | CWE-1321 | |
| References |
| |
| Metrics |
cvssV3_1
|