Advisory

GHSA-crhg-xgrg-vvcc

Also known as: None

Summary

a12nserver vulnerable to potential SQL Injections via Knex dependency

Details

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

  • https://github.com/knex/knex/issues/1227
  • https://nvd.nist.gov/vuln/detail/CVE-2016-20018
  • https://www.ghostccamm.com/blog/knex_sqli/

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2023-01-13 21:34 UTC
Modified
2023-01-13 21:34 UTC

Affected packages and fixes

@curveball/a12n-server

npm · All systems

Affected

  • introduced 0.20.0, fixed 0.23.0 (semver)

Fixed versions

0.23.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences