GHSA-crhg-xgrg-vvcc

    Dashboard / Vulnerabilities / GHSA-crhg-xgrg-vvcc

    GHSA-crhg-xgrg-vvcc

    Published: 13 Jan 2023Last Modified: 13 Jan 2023

    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/

    Affected packages

    Package

    Name: @curveball/a12n-server

    Purl: pkg:npm/%40curveball/a12n-server

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0.20.0
    Fixed -0.23.0

    Affected versions

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    GHSA-crhg-xgrg-vvcc | CVE-DB