{"dataType": "CVE_RECORD", "containers": {"adp": [{"metrics": [{"cvssV3_1": {"scope": "UNCHANGED", "version": "3.1", "baseScore": 7.5, "attackVector": "NETWORK", "baseSeverity": "HIGH", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N", "integrityImpact": "NONE", "userInteraction": "NONE", "attackComplexity": "LOW", "availabilityImpact": "NONE", "privilegesRequired": "NONE", "confidentialityImpact": "HIGH"}}, {"other": {"type": "Unknown", "content": {"data": "{\"description\":\"HIGH\"}"}}}], "affected": [{"vendor": "npm", "product": "knex", "versions": [{"status": "affected", "version": "0", "lessThan": "2.4.0", "versionType": "semver"}], "defaultStatus": "unaffected"}], "references": [{"url": "https://github.com/knex/knex"}, {"url": "https://github.com/knex/knex/commit/e145322da92749be7749f9ade5b5f5a66d6586a4"}, {"url": "https://github.com/knex/knex/issues/1227"}, {"url": "https://github.com/knex/knex/pull/5417"}, {"url": "https://github.com/knex/knex/releases/tag/2.4.0"}, {"url": "https://nvd.nist.gov/vuln/detail/CVE-2016-20018"}, {"url": "https://www.ghostccamm.com/blog/knex_sqli"}], "descriptions": [{"lang": "en", "value": "Knex Knex.js through 2.3.0 has a limited SQL injection vulnerability that can be exploited to ignore the WHERE clause of a SQL query. This vulnerability has been fixed in version 2.4.0."}, {"lang": "en", "value": "Knex.js has a limited SQL injection vulnerability"}], "providerMetadata": {"orgId": "386269d4-a6c6-4eaa-bf8e-bc0b0d010558", "shortName": "npm", "dateUpdated": "2022-12-19T09:30:23Z", "x_subShortName": "npm"}}], "cna": {"metrics": [{"format": "CVSS", "cvssV3_1": {"scope": "UNCHANGED", "version": "3.1", "baseScore": 7.5, "attackVector": "NETWORK", "baseSeverity": "HIGH", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N", "integrityImpact": "NONE", "userInteraction": "NONE", "attackComplexity": "LOW", "availabilityImpact": "NONE", "privilegesRequired": "NONE", "confidentialityImpact": "HIGH"}}], "affected": [{"cpes": ["cpe:2.3:a:knexjs:knex:*:*:*:*:*:node.js:*:*"], "vendor": "knexjs", "product": "knex", "versions": [{"status": "affected", "version": "0", "versionType": "custom", "lessThanOrEqual": "2.3.0"}], "platforms": ["node.js"], "defaultStatus": "unaffected"}], "references": [{"url": "https://github.com/knex/knex/issues/1227", "tags": ["exploit", "issue-tracking", "third-party-advisory"]}, {"url": "https://www.ghostccamm.com/blog/knex_sqli/", "tags": ["exploit", "third-party-advisory"]}, {"url": "https://nvd.nist.gov/vuln/detail/CVE-2016-20018"}], "descriptions": [{"lang": "en", "value": "Knex Knex.js through 2.3.0 has a limited SQL injection vulnerability that can be exploited to ignore the WHERE clause of a SQL query."}, {"lang": "es", "value": "Knex Knex.js hasta 2.3.0 tiene una vulnerabilidad de inyección SQL limitada que puede explotarse para ignorar la cláusula WHERE de una consulta SQL."}], "problemTypes": [{"descriptions": [{"lang": "en", "cweId": "CWE-89", "description": "CWE-89"}]}], "providerMetadata": {"orgId": "00000000-0000-4000-A000-000000000003", "shortName": "nvd", "dateUpdated": "2022-12-19T09:15:09Z", "x_subShortName": "nvd"}}}, "cveMetadata": {"cveId": "CVE-2016-20018", "state": "PUBLISHED", "dateUpdated": "2024-11-21T02:47:34Z", "assignerOrgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca", "datePublished": "2022-12-19T09:15:09Z", "assignerShortName": "mitre"}, "dataVersion": "5.0"}