Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-fx4w-v43j-vc45

Опубликовано: 05 июл. 2022
Источник: github
Github: Прошло ревью
CVSS3: 9.8

Описание

SQL injection in typeORM

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.

Пакеты

Наименование

typeorm

npm
Затронутые версииВерсия исправления

< 0.3.0

0.3.0

EPSS

Процентиль: 90%
0.05988
Низкий

9.8 Critical

CVSS3

Дефекты

CWE-89

Связанные уязвимости

CVSS3: 9.8
nvd
больше 3 лет назад

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

EPSS

Процентиль: 90%
0.05988
Низкий

9.8 Critical

CVSS3

Дефекты

CWE-89