CVE-2022-33171

published 4 Jul 2022 · updated 3 Aug 2024

The findOne function in TypeORM before 0.3.0 can either be supplied with a string or a FindOneOptions object

5.5MediumEPSS 21%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 21%. No fixed version is recorded.

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

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-33171 severity on Zeptric[![CVE-2022-33171](https://zeptric.io/badge/cve/CVE-2022-33171.svg)](https://zeptric.io/cve/CVE-2022-33171)