SandboxJS has a sandbox escape via TOCTOU bug on keys in property accesses
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| nyariv | SandboxJS | affected |
|
No data.
| Vendor | Product | Versions |
|---|---|---|
| Nyariv | Sandboxjs | — |
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-7x3h-rm86-3342 | @nyariv/sandboxjs vulnerable to sandbox escape via TOCTOU bug on keys in property accesses |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.521% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| CPEs | cpe:2.3:a:nyariv:sandboxjs:*:*:*:*:*:node.js:*:* |
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Nyariv
Nyariv sandboxjs |
|
| Vendors & Products |
Nyariv
Nyariv sandboxjs |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | SandboxJS is a JavaScript sandboxing library. Prior to 0.8.29, there is a sandbox escape vulnerability due to a mismatch between the key on which the validation is performed and the key used for accessing properties. Even though the key used in property accesses is annotated as string, this is never enforced. So, attackers can pass malicious objects that coerce to different string values when used, e.g., one for the time the key is sanitized using hasOwnProperty(key) and a different one for when the key is used for the actual property access. This vulnerability is fixed in 0.8.29. | |
| Title | SandboxJS has a sandbox escape via TOCTOU bug on keys in property accesses | |
| Weaknesses | CWE-367 | |
| References |
| |
| Metrics |
cvssV3_1
|