CVE-2023-26122 (GCVE-0-2023-26122)
Vulnerability from cvelistv5
Published
2023-04-11 05:00
Modified
2025-02-07 16:56
Severity ?
VLAI Severity ?
EPSS score ?
CWE
- CWE-265 - Sandbox Bypass
Summary
All versions of the package safe-eval are vulnerable to Sandbox Bypass due to improper input sanitization. The vulnerability is derived from prototype pollution exploitation.
Exploiting this vulnerability might result in remote code execution ("RCE").
**Vulnerable functions:**
__defineGetter__, stack(), toLocaleString(), propertyIsEnumerable.call(), valueOf().
References
{ "containers": { "adp": [ { "providerMetadata": { "dateUpdated": "2024-08-02T11:39:06.576Z", "orgId": "af854a3a-2127-422b-91ae-364da2661108", "shortName": "CVE" }, "references": [ { "tags": [ "x_transferred" ], "url": "https://security.snyk.io/vuln/SNYK-JS-SAFEEVAL-3373064" }, { "tags": [ "x_transferred" ], "url": "https://github.com/hacksparrow/safe-eval/issues/27" }, { "tags": [ "x_transferred" ], "url": "https://gist.github.com/seongil-wi/2db6cb884e10137a93132b7f74879cce" }, { "tags": [ "x_transferred" ], "url": "https://github.com/hacksparrow/safe-eval/issues/31" }, { "tags": [ "x_transferred" ], "url": "https://github.com/hacksparrow/safe-eval/issues/32" }, { "tags": [ "x_transferred" ], "url": "https://github.com/hacksparrow/safe-eval/issues/33" }, { "tags": [ "x_transferred" ], "url": "https://github.com/hacksparrow/safe-eval/issues/34" }, { "tags": [ "x_transferred" ], "url": "https://github.com/hacksparrow/safe-eval/issues/35" } ], "title": "CVE Program Container" }, { "metrics": [ { "other": { "content": { "id": "CVE-2023-26122", "options": [ { "Exploitation": "poc" }, { "Automatable": "no" }, { "Technical Impact": "total" } ], "role": "CISA Coordinator", "timestamp": "2025-02-07T16:56:24.542670Z", "version": "2.0.3" }, "type": "ssvc" } } ], "problemTypes": [ { "descriptions": [ { "cweId": "CWE-1321", "description": "CWE-1321 Improperly Controlled Modification of Object Prototype Attributes (\u0027Prototype Pollution\u0027)", "lang": "en", "type": "CWE" } ] } ], "providerMetadata": { "dateUpdated": "2025-02-07T16:56:45.658Z", "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "shortName": "CISA-ADP" }, "title": "CISA ADP Vulnrichment" } ], "cna": { "affected": [ { "product": "safe-eval", "vendor": "n/a", "versions": [ { "lessThan": "*", "status": "affected", "version": "0", "versionType": "semver" } ] } ], "credits": [ { "lang": "en", "value": "seongil-wi" } ], "descriptions": [ { "lang": "en", "value": "All versions of the package safe-eval are vulnerable to Sandbox Bypass due to improper input sanitization. The vulnerability is derived from prototype pollution exploitation.\rExploiting this vulnerability might result in remote code execution (\"RCE\").\r\r**Vulnerable functions:**\r\r__defineGetter__, stack(), toLocaleString(), propertyIsEnumerable.call(), valueOf()." } ], "metrics": [ { "cvssV3_1": { "attackComplexity": "LOW", "attackVector": "NETWORK", "availabilityImpact": "HIGH", "baseScore": 8.8, "baseSeverity": "HIGH", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "privilegesRequired": "LOW", "scope": "UNCHANGED", "userInteraction": "NONE", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:P", "version": "3.1" } } ], "problemTypes": [ { "descriptions": [ { "cweId": "CWE-265", "description": "Sandbox Bypass", "lang": "en" } ] } ], "providerMetadata": { "dateUpdated": "2023-04-11T05:00:02.658Z", "orgId": "bae035ff-b466-4ff4-94d0-fc9efd9e1730", "shortName": "snyk" }, "references": [ { "url": "https://security.snyk.io/vuln/SNYK-JS-SAFEEVAL-3373064" }, { "url": "https://github.com/hacksparrow/safe-eval/issues/27" }, { "url": "https://gist.github.com/seongil-wi/2db6cb884e10137a93132b7f74879cce" }, { "url": "https://github.com/hacksparrow/safe-eval/issues/31" }, { "url": "https://github.com/hacksparrow/safe-eval/issues/32" }, { "url": "https://github.com/hacksparrow/safe-eval/issues/33" }, { "url": "https://github.com/hacksparrow/safe-eval/issues/34" }, { "url": "https://github.com/hacksparrow/safe-eval/issues/35" } ] } }, "cveMetadata": { "assignerOrgId": "bae035ff-b466-4ff4-94d0-fc9efd9e1730", "assignerShortName": "snyk", "cveId": "CVE-2023-26122", "datePublished": "2023-04-11T05:00:02.658Z", "dateReserved": "2023-02-20T10:28:48.923Z", "dateUpdated": "2025-02-07T16:56:45.658Z", "state": "PUBLISHED" }, "dataType": "CVE_RECORD", "dataVersion": "5.1", "vulnerability-lookup:meta": { "nvd": "{\"cve\":{\"id\":\"CVE-2023-26122\",\"sourceIdentifier\":\"report@snyk.io\",\"published\":\"2023-04-11T05:15:07.180\",\"lastModified\":\"2025-02-07T17:15:25.093\",\"vulnStatus\":\"Modified\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"All versions of the package safe-eval are vulnerable to Sandbox Bypass due to improper input sanitization. The vulnerability is derived from prototype pollution exploitation.\\rExploiting this vulnerability might result in remote code execution (\\\"RCE\\\").\\r\\r**Vulnerable functions:**\\r\\r__defineGetter__, stack(), toLocaleString(), propertyIsEnumerable.call(), valueOf().\"}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"report@snyk.io\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H\",\"baseScore\":8.8,\"baseSeverity\":\"HIGH\",\"attackVector\":\"NETWORK\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":2.8,\"impactScore\":5.9},{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H\",\"baseScore\":10.0,\"baseSeverity\":\"CRITICAL\",\"attackVector\":\"NETWORK\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"NONE\",\"userInteraction\":\"NONE\",\"scope\":\"CHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":3.9,\"impactScore\":6.0}]},\"weaknesses\":[{\"source\":\"report@snyk.io\",\"type\":\"Secondary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-265\"}]},{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-1321\"}]},{\"source\":\"134c704f-9b21-4f2e-91b3-4a467353bcc0\",\"type\":\"Secondary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-1321\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:safe-eval_project:safe-eval:*:*:*:*:*:node.js:*:*\",\"versionEndIncluding\":\"0.4.1\",\"matchCriteriaId\":\"CD03CFC7-7F8B-4C4F-AAC0-F3924E4EAB65\"}]}]}],\"references\":[{\"url\":\"https://gist.github.com/seongil-wi/2db6cb884e10137a93132b7f74879cce\",\"source\":\"report@snyk.io\",\"tags\":[\"Exploit\",\"Third Party Advisory\"]},{\"url\":\"https://github.com/hacksparrow/safe-eval/issues/27\",\"source\":\"report@snyk.io\",\"tags\":[\"Exploit\",\"Issue Tracking\",\"Third Party Advisory\"]},{\"url\":\"https://github.com/hacksparrow/safe-eval/issues/31\",\"source\":\"report@snyk.io\",\"tags\":[\"Exploit\",\"Issue Tracking\",\"Third Party Advisory\"]},{\"url\":\"https://github.com/hacksparrow/safe-eval/issues/32\",\"source\":\"report@snyk.io\",\"tags\":[\"Exploit\",\"Issue Tracking\",\"Third Party Advisory\"]},{\"url\":\"https://github.com/hacksparrow/safe-eval/issues/33\",\"source\":\"report@snyk.io\",\"tags\":[\"Exploit\",\"Issue Tracking\",\"Third Party Advisory\"]},{\"url\":\"https://github.com/hacksparrow/safe-eval/issues/34\",\"source\":\"report@snyk.io\",\"tags\":[\"Exploit\",\"Issue Tracking\",\"Third Party Advisory\"]},{\"url\":\"https://github.com/hacksparrow/safe-eval/issues/35\",\"source\":\"report@snyk.io\",\"tags\":[\"Exploit\",\"Issue Tracking\",\"Third Party Advisory\"]},{\"url\":\"https://security.snyk.io/vuln/SNYK-JS-SAFEEVAL-3373064\",\"source\":\"report@snyk.io\",\"tags\":[\"Exploit\",\"Issue Tracking\",\"Third Party Advisory\"]},{\"url\":\"https://gist.github.com/seongil-wi/2db6cb884e10137a93132b7f74879cce\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Exploit\",\"Third Party Advisory\"]},{\"url\":\"https://github.com/hacksparrow/safe-eval/issues/27\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Exploit\",\"Issue Tracking\",\"Third Party Advisory\"]},{\"url\":\"https://github.com/hacksparrow/safe-eval/issues/31\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Exploit\",\"Issue Tracking\",\"Third Party Advisory\"]},{\"url\":\"https://github.com/hacksparrow/safe-eval/issues/32\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Exploit\",\"Issue Tracking\",\"Third Party Advisory\"]},{\"url\":\"https://github.com/hacksparrow/safe-eval/issues/33\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Exploit\",\"Issue Tracking\",\"Third Party Advisory\"]},{\"url\":\"https://github.com/hacksparrow/safe-eval/issues/34\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Exploit\",\"Issue Tracking\",\"Third Party Advisory\"]},{\"url\":\"https://github.com/hacksparrow/safe-eval/issues/35\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Exploit\",\"Issue Tracking\",\"Third Party Advisory\"]},{\"url\":\"https://security.snyk.io/vuln/SNYK-JS-SAFEEVAL-3373064\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Exploit\",\"Issue Tracking\",\"Third Party Advisory\"]}]}}", "vulnrichment": { "containers": "{\"adp\": [{\"title\": \"CVE Program Container\", \"references\": [{\"url\": \"https://security.snyk.io/vuln/SNYK-JS-SAFEEVAL-3373064\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://github.com/hacksparrow/safe-eval/issues/27\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://gist.github.com/seongil-wi/2db6cb884e10137a93132b7f74879cce\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://github.com/hacksparrow/safe-eval/issues/31\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://github.com/hacksparrow/safe-eval/issues/32\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://github.com/hacksparrow/safe-eval/issues/33\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://github.com/hacksparrow/safe-eval/issues/34\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://github.com/hacksparrow/safe-eval/issues/35\", \"tags\": [\"x_transferred\"]}], \"providerMetadata\": {\"orgId\": \"af854a3a-2127-422b-91ae-364da2661108\", \"shortName\": \"CVE\", \"dateUpdated\": \"2024-08-02T11:39:06.576Z\"}}, {\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2023-26122\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"poc\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"total\"}], \"version\": \"2.0.3\", \"timestamp\": \"2025-02-07T16:56:24.542670Z\"}}}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-1321\", \"description\": \"CWE-1321 Improperly Controlled Modification of Object Prototype Attributes (\u0027Prototype Pollution\u0027)\"}]}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2025-02-07T16:56:06.424Z\"}}], \"cna\": {\"credits\": [{\"lang\": \"en\", \"value\": \"seongil-wi\"}], \"metrics\": [{\"cvssV3_1\": {\"scope\": \"UNCHANGED\", \"version\": \"3.1\", \"baseScore\": 8.8, \"attackVector\": \"NETWORK\", \"baseSeverity\": \"HIGH\", \"vectorString\": \"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:P\", \"integrityImpact\": \"HIGH\", \"userInteraction\": \"NONE\", \"attackComplexity\": \"LOW\", \"availabilityImpact\": \"HIGH\", \"privilegesRequired\": \"LOW\", \"confidentialityImpact\": \"HIGH\"}}], \"affected\": [{\"vendor\": \"n/a\", \"product\": \"safe-eval\", \"versions\": [{\"status\": \"affected\", \"version\": \"0\", \"lessThan\": \"*\", \"versionType\": \"semver\"}]}], \"references\": [{\"url\": \"https://security.snyk.io/vuln/SNYK-JS-SAFEEVAL-3373064\"}, {\"url\": \"https://github.com/hacksparrow/safe-eval/issues/27\"}, {\"url\": \"https://gist.github.com/seongil-wi/2db6cb884e10137a93132b7f74879cce\"}, {\"url\": \"https://github.com/hacksparrow/safe-eval/issues/31\"}, {\"url\": \"https://github.com/hacksparrow/safe-eval/issues/32\"}, {\"url\": \"https://github.com/hacksparrow/safe-eval/issues/33\"}, {\"url\": \"https://github.com/hacksparrow/safe-eval/issues/34\"}, {\"url\": \"https://github.com/hacksparrow/safe-eval/issues/35\"}], \"descriptions\": [{\"lang\": \"en\", \"value\": \"All versions of the package safe-eval are vulnerable to Sandbox Bypass due to improper input sanitization. The vulnerability is derived from prototype pollution exploitation.\\rExploiting this vulnerability might result in remote code execution (\\\"RCE\\\").\\r\\r**Vulnerable functions:**\\r\\r__defineGetter__, stack(), toLocaleString(), propertyIsEnumerable.call(), valueOf().\"}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"cweId\": \"CWE-265\", \"description\": \"Sandbox Bypass\"}]}], \"providerMetadata\": {\"orgId\": \"bae035ff-b466-4ff4-94d0-fc9efd9e1730\", \"shortName\": \"snyk\", \"dateUpdated\": \"2023-04-11T05:00:02.658Z\"}}}", "cveMetadata": "{\"cveId\": \"CVE-2023-26122\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2025-02-07T16:56:45.658Z\", \"dateReserved\": \"2023-02-20T10:28:48.923Z\", \"assignerOrgId\": \"bae035ff-b466-4ff4-94d0-fc9efd9e1730\", \"datePublished\": \"2023-04-11T05:00:02.658Z\", \"assignerShortName\": \"snyk\"}", "dataType": "CVE_RECORD", "dataVersion": "5.1" } } }
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…
Loading…