GHSA-4jv9-3563-23j3

Suggest an improvement
Source
https://github.com/advisories/GHSA-4jv9-3563-23j3
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/12/GHSA-4jv9-3563-23j3/GHSA-4jv9-3563-23j3.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-4jv9-3563-23j3
Aliases
Published
2022-12-19T09:30:23Z
Modified
2023-11-01T04:46:49.309978Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
Knex.js has a limited SQL injection vulnerability
Details

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.

Database specific
{
    "nvd_published_at": "2022-12-19T09:15:00Z",
    "cwe_ids": [
        "CWE-89"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2022-12-20T17:19:47Z"
}
References

Affected packages

npm / knex

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.4.0