Vulnerabilites related to mathjs - math.js
Vulnerability from fkie_nvd
Published
2017-11-27 14:29
Modified
2025-04-20 01:37
Severity ?
Summary
math.js before 3.17.0 had an arbitrary code execution in the JavaScript engine. Creating a typed function with JavaScript code in the name could result arbitrary execution.
References
{ "configurations": [ { "nodes": [ { "cpeMatch": [ { "criteria": "cpe:2.3:a:mathjs:math.js:*:*:*:*:*:*:*:*", "matchCriteriaId": "CAA4C359-CEFC-48E5-ADD9-42689961238F", "versionEndIncluding": "3.17.0", "vulnerable": true } ], "negate": false, "operator": "OR" } ] } ], "cveTags": [], "descriptions": [ { "lang": "en", "value": "math.js before 3.17.0 had an arbitrary code execution in the JavaScript engine. Creating a typed function with JavaScript code in the name could result arbitrary execution." }, { "lang": "es", "value": "Las versiones anteriores a la 3.17.0 de math.js ten\u00edan una vulnerabilidad de ejecuci\u00f3n de c\u00f3digo arbitrario en el motor de JavaScript. La creaci\u00f3n de una funci\u00f3n escrita con c\u00f3digo JavaScript en el nombre podr\u00eda resultar en la ejecuci\u00f3n arbitraria." } ], "id": "CVE-2017-1001002", "lastModified": "2025-04-20T01:37:25.860", "metrics": { "cvssMetricV2": [ { "acInsufInfo": false, "baseSeverity": "HIGH", "cvssData": { "accessComplexity": "LOW", "accessVector": "NETWORK", "authentication": "NONE", "availabilityImpact": "PARTIAL", "baseScore": 7.5, "confidentialityImpact": "PARTIAL", "integrityImpact": "PARTIAL", "vectorString": "AV:N/AC:L/Au:N/C:P/I:P/A:P", "version": "2.0" }, "exploitabilityScore": 10.0, "impactScore": 6.4, "obtainAllPrivilege": false, "obtainOtherPrivilege": false, "obtainUserPrivilege": false, "source": "nvd@nist.gov", "type": "Primary", "userInteractionRequired": false } ], "cvssMetricV30": [ { "cvssData": { "attackComplexity": "LOW", "attackVector": "NETWORK", "availabilityImpact": "HIGH", "baseScore": 9.8, "baseSeverity": "CRITICAL", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "privilegesRequired": "NONE", "scope": "UNCHANGED", "userInteraction": "NONE", "vectorString": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "version": "3.0" }, "exploitabilityScore": 3.9, "impactScore": 5.9, "source": "nvd@nist.gov", "type": "Primary" } ] }, "published": "2017-11-27T14:29:00.240", "references": [ { "source": "46fe6300-5254-4a98-9594-a9567bec8179", "url": "https://github.com/josdejong/mathjs/blob/master/HISTORY.md#2017-11-18-version-3170" }, { "source": "46fe6300-5254-4a98-9594-a9567bec8179", "url": "https://github.com/josdejong/mathjs/commit/8d2d48d81b3c233fb64eb2ec1d7a9e1cf6a55a90" }, { "source": "af854a3a-2127-422b-91ae-364da2661108", "url": "https://github.com/josdejong/mathjs/blob/master/HISTORY.md#2017-11-18-version-3170" }, { "source": "af854a3a-2127-422b-91ae-364da2661108", "url": "https://github.com/josdejong/mathjs/commit/8d2d48d81b3c233fb64eb2ec1d7a9e1cf6a55a90" } ], "sourceIdentifier": "46fe6300-5254-4a98-9594-a9567bec8179", "vulnStatus": "Deferred", "weaknesses": [ { "description": [ { "lang": "en", "value": "CWE-94" } ], "source": "46fe6300-5254-4a98-9594-a9567bec8179", "type": "Secondary" }, { "description": [ { "lang": "en", "value": "CWE-94" } ], "source": "nvd@nist.gov", "type": "Primary" } ] }
CVE-2017-1001002 (GCVE-0-2017-1001002)
Vulnerability from cvelistv5
Published
2017-11-27 14:00
Modified
2024-09-16 16:59
Severity ?
VLAI Severity ?
EPSS score ?
CWE
- CWE-94 - Improper Control of Generation of Code ('Code Injection')
Summary
math.js before 3.17.0 had an arbitrary code execution in the JavaScript engine. Creating a typed function with JavaScript code in the name could result arbitrary execution.
References
► | URL | Tags |
---|---|---|
{ "containers": { "adp": [ { "providerMetadata": { "dateUpdated": "2024-08-05T22:00:41.675Z", "orgId": "af854a3a-2127-422b-91ae-364da2661108", "shortName": "CVE" }, "references": [ { "tags": [ "x_refsource_CONFIRM", "x_transferred" ], "url": "https://github.com/josdejong/mathjs/blob/master/HISTORY.md#2017-11-18-version-3170" }, { "tags": [ "x_refsource_CONFIRM", "x_transferred" ], "url": "https://github.com/josdejong/mathjs/commit/8d2d48d81b3c233fb64eb2ec1d7a9e1cf6a55a90" } ], "title": "CVE Program Container" } ], "cna": { "affected": [ { "product": "math.js", "vendor": "math.js", "versions": [ { "status": "affected", "version": "3.17.0" } ] } ], "descriptions": [ { "lang": "en", "value": "math.js before 3.17.0 had an arbitrary code execution in the JavaScript engine. Creating a typed function with JavaScript code in the name could result arbitrary execution." } ], "problemTypes": [ { "descriptions": [ { "cweId": "CWE-94", "description": "CWE-94: Improper Control of Generation of Code (\u0027Code Injection\u0027)", "lang": "en", "type": "CWE" } ] } ], "providerMetadata": { "dateUpdated": "2017-11-27T14:00:00Z", "orgId": "46fe6300-5254-4a98-9594-a9567bec8179", "shortName": "joshbressers" }, "references": [ { "tags": [ "x_refsource_CONFIRM" ], "url": "https://github.com/josdejong/mathjs/blob/master/HISTORY.md#2017-11-18-version-3170" }, { "tags": [ "x_refsource_CONFIRM" ], "url": "https://github.com/josdejong/mathjs/commit/8d2d48d81b3c233fb64eb2ec1d7a9e1cf6a55a90" } ], "x_legacyV4Record": { "CVE_data_meta": { "ASSIGNER": "josh@bress.net", "ID": "CVE-2017-1001002", "STATE": "PUBLIC" }, "affects": { "vendor": { "vendor_data": [ { "product": { "product_data": [ { "product_name": "math.js", "version": { "version_data": [ { "version_value": "3.17.0" } ] } } ] }, "vendor_name": "math.js" } ] } }, "data_format": "MITRE", "data_type": "CVE", "data_version": "4.0", "description": { "description_data": [ { "lang": "eng", "value": "math.js before 3.17.0 had an arbitrary code execution in the JavaScript engine. Creating a typed function with JavaScript code in the name could result arbitrary execution." } ] }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "eng", "value": "CWE-94: Improper Control of Generation of Code (\u0027Code Injection\u0027)" } ] } ] }, "references": { "reference_data": [ { "name": "https://github.com/josdejong/mathjs/blob/master/HISTORY.md#2017-11-18-version-3170", "refsource": "CONFIRM", "url": "https://github.com/josdejong/mathjs/blob/master/HISTORY.md#2017-11-18-version-3170" }, { "name": "https://github.com/josdejong/mathjs/commit/8d2d48d81b3c233fb64eb2ec1d7a9e1cf6a55a90", "refsource": "CONFIRM", "url": "https://github.com/josdejong/mathjs/commit/8d2d48d81b3c233fb64eb2ec1d7a9e1cf6a55a90" } ] } } } }, "cveMetadata": { "assignerOrgId": "46fe6300-5254-4a98-9594-a9567bec8179", "assignerShortName": "joshbressers", "cveId": "CVE-2017-1001002", "datePublished": "2017-11-27T14:00:00Z", "dateReserved": "2017-11-27T00:00:00Z", "dateUpdated": "2024-09-16T16:59:06.220Z", "state": "PUBLISHED" }, "dataType": "CVE_RECORD", "dataVersion": "5.1" }