Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @curveball/a12n-server
  4. ›
  5. GMS-2023-45

GMS-2023-45: a12nserver vulnerable to potential SQL Injections via Knex dependency

January 13, 2023

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.

References

  • github.com/advisories/GHSA-crhg-xgrg-vvcc
  • github.com/curveball/a12n-server/commit/f4acd7549043e6e2b8917b77a50dce0756a922cc
  • github.com/curveball/a12n-server/releases/tag/v0.23.0
  • github.com/curveball/a12n-server/security/advisories/GHSA-crhg-xgrg-vvcc
  • github.com/knex/knex/issues/1227
  • nvd.nist.gov/vuln/detail/CVE-2016-20018
  • www.ghostccamm.com/blog/knex_sqli/

Code Behaviors & Features

Detect and mitigate GMS-2023-45 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 0.20.0 before 0.23.0

Fixed versions

  • 0.23.0

Solution

Upgrade to version 0.23.0 or above.

Source file

npm/@curveball/a12n-server/GMS-2023-45.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:22 +0000.