Vulnerability GHSA-hxcc-f52p-wc94
High Risk
HIGH RISK
CVSS Score: 8.1
Score Range: 7.0–8.9
High severity vulnerabilities (CVSS 7.0–8.9). Serious vulnerabilities that should be prioritized soon after critical fixes.
6 years ago
August 11, 2020 at 05:21 PM UTC
Insecure serialization leading to RCE in serialize-javascript
1.0.0 - 3.0.0
1.0.0 - 3.0.0
Summary
Insecure serialization leading to RCE in serialize-javascript
Details
serialize-javascript prior to 3.1.0 allows remote attackers to inject arbitrary code via the function "deleteFunctions" within "index.js".
An object such as {"foo": /1"/, "bar": "a\"@__R-<UID>-0__@"} was serialized as {"foo": /1"/, "bar": "a\/1"/}, which allows an attacker to escape the bar key. This requires the attacker to control the values of both foo and bar and guess the value of <UID>. The UID has a keyspace of approximately 4 billion making it a realistic network attack.
Related Vulnerabilities
Other vulnerabilities affecting the same packages
Low Risk
1 month ago
Serialize JavaScript: Cross-site scripting (XSS) via unescaped </script at the end of a serialized function body
1.0.0 - 7.1.2 GHSA-m5mm-p8h7-m29v
1.0.0 - 7.1.2 GHSA-m5mm-p8h7-m29v
Low Risk
2 months ago
Serialize JavaScript: Cross-site scripting (XSS) via unescaped </script> in serialized function bodies
7.1.1 GHSA-gfhx-hw2g-v5hg
7.1.1 GHSA-gfhx-hw2g-v5hg
Medium Risk
8 months ago
Serialize JavaScript has CPU Exhaustion Denial of Service via crafted array-like objects
5.0.0 - 7.0.4 GHSA-qj8w-gfj5-8c6v
5.0.0 - 7.0.4 GHSA-qj8w-gfj5-8c6v
High Risk
9 months ago
Serialize JavaScript is Vulnerable to RCE via RegExp.flags and Date.prototype.toISOString()
1.0.0 - 7.0.2 GHSA-5c6j-r48x-rmvq
1.0.0 - 7.0.2 GHSA-5c6j-r48x-rmvq
Medium Risk
1 year ago
Cross-site Scripting (XSS) in serialize-javascript
6.0.0 - 6.0.1 GHSA-76p7-773f-r4q5
6.0.0 - 6.0.1 GHSA-76p7-773f-r4q5
Impacted packages
Timeline
Published
6 years ago
August 11, 2020 at 05:21 PM UTC
Fixed (3.1.0)
6 years ago
May 28, 2020 at 11:37 AM UTC
Last Modified
3 years ago
November 08, 2023 at 04:04 AM UTC