p PatchFirst

CVE-2022-33171

CVE-2022-33171

This page contains facts from public vulnerability sources. Check the original advisory before updating.

The findOne function in TypeORM before 0.3.0 can either be supplied with a string or a FindOneOptions object. When input to the function is a user-controlled parsed JSON object, supplying a crafted FindOneOptions instead of an id string leads to SQL injection. NOTE: the vendor's position is that the user's application is responsible for input validation

CVSS 9.8 · Critical · EPSS 21.4% · Fix available

Published
Updated

Stack: node

Affected products and versions

  • n/a

    Versions
    • n/a: Affected

    No fix published

  • typeorm npm

    Affected ranges
    • SEMVER: < 0.3.0

    Update to 0.3.0

Original sources

Check your server →