a12nserver vulnerable to potential SQL Injections via Knex dependency
Impact
Users of a12nserver that use MySQL might be vulnerable to SQL injection bugs.
If you use a12nserver and MySQL, update as soon as possible. This SQL injection bug might let an attacker obtain OAuth2 Access Tokens for users unrelated to those that permitted OAuth2 clients.
Patches
The knex dependency has been updated to 2.4.0 in a12nserver 0.23.0
Workarounds
No further workarounds
References
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| npm package | @curveball/a12n-server | >= 0.20.0, < 0.23.0 | 0.23.0 |
References
- https://github.com/curveball/a12n-server/security/advisories/GHSA-crhg-xgrg-vvcc
- https://nvd.nist.gov/vuln/detail/CVE-2016-20018
- https://github.com/knex/knex/issues/1227
- https://github.com/curveball/a12n-server/commit/f4acd7549043e6e2b8917b77a50dce0756a922cc
- https://github.com/curveball/a12n-server
- https://github.com/curveball/a12n-server/releases/tag/v0.23.0
- https://www.ghostccamm.com/blog/knex_sqli
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N- Weakness (CWE)
CWE-89- Platform
- npm
- Package
@curveball/a12n-server- Disclosed
- 13.01.2023
- Updated
- 11.10.2026 10:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-crhg-xgrg-vvcc - CC BY 4.0
Vulnerability history: @curveball/a12n-server
All published vulnerabilities of this package (npm package), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 2
- First → latest
- 04.2021 01.2023
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- High 1
- Medium 1
Disclosures per year
- 2021: 1
- 2022: 0
- 2023: 1
- 2024: 0
- 2025: 0
- 2026: 0
-
a12nserver vulnerable to potential SQL Injections via Knex dependency this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.