{"dataType": "CVE_RECORD", "containers": {"adp": [{"metrics": [{"other": {"type": "Unknown", "content": {"data": "{\"description\":\"HIGH\"}"}}}], "affected": [{"vendor": "npm", "product": "sequelize", "versions": [{"status": "affected", "version": "0", "lessThan": "3.0.0", "versionType": "semver"}], "defaultStatus": "unaffected"}], "references": [{"url": "https://github.com/advisories/GHSA-2v7q-2xqx-f4q5"}, {"url": "https://github.com/sequelize/sequelize/blob/master/changelog.md#300"}, {"url": "https://nvd.nist.gov/vuln/detail/CVE-2016-10553"}, {"url": "https://www.npmjs.com/advisories/109"}], "descriptions": [{"lang": "en", "value": "Affected versions of `sequelize` are vulnerable to SQL Injection when user input is passed into `findOne` or into a statement such as `where: \"user input\"`.\n\n\n\n## Recommendation\n\nUpdate to version 3.0.0 or later.\n\nVersion 3.0.0 will introduce a number of breaking changes.\nThankfully, the project authors have provided a 2.x -> 3.x [upgrade guide](https://github.com/sequelize/sequelize/wiki/Upgrade-from-2.0-to-3.0) to ease this transition.\n\nIf upgrading is not an option, it is also possible to mitigate this by ensuring that all uses of `where: \"input\"` and `findOne(\"input\")` are properly sanitized, such as by the use of a wrapper function."}, {"lang": "en", "value": "Potential SQL Injection in sequelize"}], "providerMetadata": {"orgId": "386269d4-a6c6-4eaa-bf8e-bc0b0d010558", "shortName": "npm", "dateUpdated": "2019-02-18T23:54:32Z", "x_subShortName": "npm"}}], "cna": {"metrics": [{"format": "CVSS", "cvssV2_0": {"version": "2.0", "baseScore": 7.5, "accessVector": "NETWORK", "vectorString": "AV:N/AC:L/Au:N/C:P/I:P/A:P", "authentication": "NONE", "integrityImpact": "PARTIAL", "accessComplexity": "LOW", "availabilityImpact": "PARTIAL", "confidentialityImpact": "PARTIAL"}}, {"format": "CVSS", "cvssV3_0": {"scope": "UNCHANGED", "version": "3.0", "baseScore": 9.8, "attackVector": "NETWORK", "baseSeverity": "CRITICAL", "vectorString": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "integrityImpact": "HIGH", "userInteraction": "NONE", "attackComplexity": "LOW", "availabilityImpact": "HIGH", "privilegesRequired": "NONE", "confidentialityImpact": "HIGH"}}], "affected": [{"cpes": ["cpe:2.3:a:sequelizejs:sequelize:*:*:*:*:*:node.js:*:*"], "vendor": "sequelizejs", "product": "sequelize", "versions": [{"status": "affected", "version": "0", "versionType": "custom", "lessThanOrEqual": "2.1.3"}], "platforms": ["node.js"], "defaultStatus": "unaffected"}], "references": [{"url": "https://github.com/sequelize/sequelize/blob/master/changelog.md#300", "tags": ["release-notes", "third-party-advisory"]}, {"url": "https://nodesecurity.io/advisories/109", "tags": ["third-party-advisory"]}], "descriptions": [{"lang": "en", "value": "sequelize is an Object-relational mapping, or a middleman to convert things from Postgres, MySQL, MariaDB, SQLite and Microsoft SQL Server into usable data for NodeJS. A fix was pushed out that fixed potential SQL injection in sequelize 2.1.3 and earlier."}, {"lang": "es", "value": "sequelize es un mapeo objeto-relacional, o un \"middleman\", para convertir cosas de Postgres, MySQL, MariaDB, SQLite y Microsoft SQL Server en datos usables para NodeJS. Se ha lanzado un parche para solucionar una potencial inyección SQL en sequelize en versiones 2.1.3 y anteriores."}], "problemTypes": [{"descriptions": [{"lang": "en", "cweId": "CWE-89", "description": "CWE-89"}]}], "providerMetadata": {"orgId": "00000000-0000-4000-A000-000000000003", "shortName": "nvd", "dateUpdated": "2018-05-31T20:29:01Z", "x_subShortName": "nvd"}}}, "cveMetadata": {"cveId": "CVE-2016-10553", "state": "PUBLISHED", "dateUpdated": "2024-11-21T02:44:15Z", "assignerOrgId": "36234546-b8fa-4601-9d6f-f4e334aa8ea1", "datePublished": "2018-05-31T20:29:01Z", "assignerShortName": "hackerone"}, "dataVersion": "5.0"}