Search criteria
2 vulnerabilities found for superjson by blitz-js
CVE-2022-23631 (GCVE-0-2022-23631)
Vulnerability from nvd – Published: 2022-02-09 21:55 – Updated: 2024-08-03 03:51
VLAI?
Title
Prototype Pollution leading to Remote Code Execution in superjson
Summary
superjson is a program to allow JavaScript expressions to be serialized to a superset of JSON. In versions prior to 1.8.1 superjson allows input to run arbitrary code on any server using superjson input without prior authentication or knowledge. The only requirement is that the server implements at least one endpoint which uses superjson during request processing. This has been patched in superjson 1.8.1. Users are advised to update. There are no known workarounds for this issue.
Severity ?
9.1 (Critical)
CWE
- CWE-94 - Improper Control of Generation of Code ('Code Injection')
Assigner
References
| URL | Tags | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
|||||||||||
{
"containers": {
"adp": [
{
"providerMetadata": {
"dateUpdated": "2024-08-03T03:51:45.899Z",
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE"
},
"references": [
{
"name": "https://github.com/blitz-js/superjson/security/advisories/GHSA-5888-ffcr-r425",
"tags": [
"x_refsource_CONFIRM",
"x_transferred"
],
"url": "https://github.com/blitz-js/superjson/security/advisories/GHSA-5888-ffcr-r425"
},
{
"name": "https://github.com/advisories/GHSA-5888-ffcr-r425",
"tags": [
"x_refsource_MISC",
"x_transferred"
],
"url": "https://github.com/advisories/GHSA-5888-ffcr-r425"
},
{
"name": "https://www.sonarsource.com/blog/blitzjs-prototype-pollution/",
"tags": [
"x_refsource_MISC",
"x_transferred"
],
"url": "https://www.sonarsource.com/blog/blitzjs-prototype-pollution/"
}
],
"title": "CVE Program Container"
}
],
"cna": {
"affected": [
{
"product": "superjson",
"vendor": "blitz-js",
"versions": [
{
"status": "affected",
"version": "\u003c 1.8.0"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "superjson is a program to allow JavaScript expressions to be serialized to a superset of JSON. In versions prior to 1.8.1 superjson allows input to run arbitrary code on any server using superjson input without prior authentication or knowledge. The only requirement is that the server implements at least one endpoint which uses superjson during request processing. This has been patched in superjson 1.8.1. Users are advised to update. There are no known workarounds for this issue."
}
],
"metrics": [
{
"cvssV3_1": {
"attackComplexity": "HIGH",
"attackVector": "NETWORK",
"availabilityImpact": "HIGH",
"baseScore": 9.1,
"baseSeverity": "CRITICAL",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"privilegesRequired": "NONE",
"scope": "CHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H",
"version": "3.1"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-94",
"description": "CWE-94: Improper Control of Generation of Code (\u0027Code Injection\u0027)",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2023-10-31T22:33:11.472Z",
"orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"shortName": "GitHub_M"
},
"references": [
{
"name": "https://github.com/blitz-js/superjson/security/advisories/GHSA-5888-ffcr-r425",
"tags": [
"x_refsource_CONFIRM"
],
"url": "https://github.com/blitz-js/superjson/security/advisories/GHSA-5888-ffcr-r425"
},
{
"name": "https://github.com/advisories/GHSA-5888-ffcr-r425",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/advisories/GHSA-5888-ffcr-r425"
},
{
"name": "https://www.sonarsource.com/blog/blitzjs-prototype-pollution/",
"tags": [
"x_refsource_MISC"
],
"url": "https://www.sonarsource.com/blog/blitzjs-prototype-pollution/"
}
],
"source": {
"advisory": "GHSA-5888-ffcr-r425",
"discovery": "UNKNOWN"
},
"title": "Prototype Pollution leading to Remote Code Execution in superjson"
}
},
"cveMetadata": {
"assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"assignerShortName": "GitHub_M",
"cveId": "CVE-2022-23631",
"datePublished": "2022-02-09T21:55:10.000Z",
"dateReserved": "2022-01-19T00:00:00.000Z",
"dateUpdated": "2024-08-03T03:51:45.899Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.1"
}
CVE-2022-23631 (GCVE-0-2022-23631)
Vulnerability from cvelistv5 – Published: 2022-02-09 21:55 – Updated: 2024-08-03 03:51
VLAI?
Title
Prototype Pollution leading to Remote Code Execution in superjson
Summary
superjson is a program to allow JavaScript expressions to be serialized to a superset of JSON. In versions prior to 1.8.1 superjson allows input to run arbitrary code on any server using superjson input without prior authentication or knowledge. The only requirement is that the server implements at least one endpoint which uses superjson during request processing. This has been patched in superjson 1.8.1. Users are advised to update. There are no known workarounds for this issue.
Severity ?
9.1 (Critical)
CWE
- CWE-94 - Improper Control of Generation of Code ('Code Injection')
Assigner
References
| URL | Tags | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
|||||||||||
{
"containers": {
"adp": [
{
"providerMetadata": {
"dateUpdated": "2024-08-03T03:51:45.899Z",
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE"
},
"references": [
{
"name": "https://github.com/blitz-js/superjson/security/advisories/GHSA-5888-ffcr-r425",
"tags": [
"x_refsource_CONFIRM",
"x_transferred"
],
"url": "https://github.com/blitz-js/superjson/security/advisories/GHSA-5888-ffcr-r425"
},
{
"name": "https://github.com/advisories/GHSA-5888-ffcr-r425",
"tags": [
"x_refsource_MISC",
"x_transferred"
],
"url": "https://github.com/advisories/GHSA-5888-ffcr-r425"
},
{
"name": "https://www.sonarsource.com/blog/blitzjs-prototype-pollution/",
"tags": [
"x_refsource_MISC",
"x_transferred"
],
"url": "https://www.sonarsource.com/blog/blitzjs-prototype-pollution/"
}
],
"title": "CVE Program Container"
}
],
"cna": {
"affected": [
{
"product": "superjson",
"vendor": "blitz-js",
"versions": [
{
"status": "affected",
"version": "\u003c 1.8.0"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "superjson is a program to allow JavaScript expressions to be serialized to a superset of JSON. In versions prior to 1.8.1 superjson allows input to run arbitrary code on any server using superjson input without prior authentication or knowledge. The only requirement is that the server implements at least one endpoint which uses superjson during request processing. This has been patched in superjson 1.8.1. Users are advised to update. There are no known workarounds for this issue."
}
],
"metrics": [
{
"cvssV3_1": {
"attackComplexity": "HIGH",
"attackVector": "NETWORK",
"availabilityImpact": "HIGH",
"baseScore": 9.1,
"baseSeverity": "CRITICAL",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"privilegesRequired": "NONE",
"scope": "CHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H",
"version": "3.1"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-94",
"description": "CWE-94: Improper Control of Generation of Code (\u0027Code Injection\u0027)",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2023-10-31T22:33:11.472Z",
"orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"shortName": "GitHub_M"
},
"references": [
{
"name": "https://github.com/blitz-js/superjson/security/advisories/GHSA-5888-ffcr-r425",
"tags": [
"x_refsource_CONFIRM"
],
"url": "https://github.com/blitz-js/superjson/security/advisories/GHSA-5888-ffcr-r425"
},
{
"name": "https://github.com/advisories/GHSA-5888-ffcr-r425",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/advisories/GHSA-5888-ffcr-r425"
},
{
"name": "https://www.sonarsource.com/blog/blitzjs-prototype-pollution/",
"tags": [
"x_refsource_MISC"
],
"url": "https://www.sonarsource.com/blog/blitzjs-prototype-pollution/"
}
],
"source": {
"advisory": "GHSA-5888-ffcr-r425",
"discovery": "UNKNOWN"
},
"title": "Prototype Pollution leading to Remote Code Execution in superjson"
}
},
"cveMetadata": {
"assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"assignerShortName": "GitHub_M",
"cveId": "CVE-2022-23631",
"datePublished": "2022-02-09T21:55:10.000Z",
"dateReserved": "2022-01-19T00:00:00.000Z",
"dateUpdated": "2024-08-03T03:51:45.899Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.1"
}