HIGH
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
Published Dec 19, 2022
7.5
HIGHCVSS 3.1
EPSS 1.08%
Description
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.
Affected products
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
7.5 HIGH NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction None
Scope Unchanged
Confidentiality Impact High
Integrity Impact None
Availability Impact None
No CVSS v3.0 score for this CVE.
No CVSS v2.0 score for this CVE.
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
1.08% 0.01076
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
EPSS probability 0.01076
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (13 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 1.08% (0.01076) | 63.75th | v5 (v2026.06.15) |
| Jun 15, 2026 | 0.85% (0.00847) | 53.13th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.24% (0.00241) | 45.50th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.16% (0.00162) | 54.17th | v3 (v2023.03.01) |
| Jul 11, 2024 | 0.16% (0.00162) | 53.15th | v3 (v2023.03.01) |
| May 31, 2024 | 0.15% (0.00146) | 50.56th | v3 (v2023.03.01) |
| Jan 21, 2024 | 0.13% (0.00133) | 48.36th | v3 (v2023.03.01) |
| Dec 26, 2023 | 0.12% (0.00118) | 45.77th | v3 (v2023.03.01) |
| Nov 23, 2023 | 0.08% (0.00081) | 34.22th | v3 (v2023.03.01) |
| Nov 19, 2023 | 0.11% (0.00110) | 44.03th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.10% (0.00096) | 38.75th | v3 (v2023.03.01) |
| Mar 6, 2023 | 0.89% (0.00885) | 27.89th | v2 (v2022.01.01) |
| Dec 19, 2022 | 0.89% (0.00885) | 27.18th | v2 (v2022.01.01) |
Weaknesses (1)
References (7)
- https://github.com/advisories/GHSA-4jv9-3563-23j3 Advisory
- https://github.com/knex/knex/commit/e145322da92749be7749f9ade5b5f5a66d6586a4
- https://github.com/knex/knex/issues/1227 ExploitIssue TrackingThird Party Advisory
- https://github.com/knex/knex/pull/5417
- https://github.com/knex/knex/releases/tag/2.4.0
- https://nvd.nist.gov/vuln/detail/CVE-2016-20018
- https://www.ghostccamm.com/blog/knex_sqli/ ExploitThird Party Advisory
| Link | Providers | Tags |
|---|---|---|
| https://github.com/advisories/GHSA-4jv9-3563-23j3 | Advisory | |
| https://github.com/knex/knex/commit/e145322da92749be7749f9ade5b5f5a66d6586a4 | ||
| https://github.com/knex/knex/issues/1227 | ExploitIssue TrackingThird Party Advisory | |
| https://github.com/knex/knex/pull/5417 | ||
| https://github.com/knex/knex/releases/tag/2.4.0 | ||
| https://nvd.nist.gov/vuln/detail/CVE-2016-20018 | ||
| https://www.ghostccamm.com/blog/knex_sqli/ | ExploitThird Party Advisory |
Change history (0)
No recorded changes yet.
Sources
CVE.org / MITRE
Status PUBLISHED
Assigner mitre
Published Dec 19, 2022
Updated Aug 6, 2024
Reserved Dec 19, 2022
Link CVE-2016-20018
CISA Vulnrichment
GHSA-4JV9-3563-23J3 Updated n/a