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

exploitDog

github логотип

GHSA-8v38-pw62-9cw2

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

Описание

url-parse Incorrectly parses URLs that include an '@'

A specially crafted URL with an '@' sign but empty user info and no hostname, when parsed with url-parse, url-parse will return the incorrect href. In particular,

parse(\"http://@/127.0.0.1\")

Will return:

{ slashes: true, protocol: 'http:', hash: '', query: '', pathname: '/127.0.0.1', auth: '', host: '', port: '', hostname: '', password: '', username: '', origin: 'null', href: 'http:///127.0.0.1' }

If the 'hostname' or 'origin' attributes of the output from url-parse are used in security decisions and the final 'href' attribute of the output is then used to make a request, the decision may be incorrect.

Пакеты

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

url-parse

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

< 1.5.7

1.5.7

EPSS

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

6.5 Medium

CVSS3

Дефекты

CWE-639

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

CVSS3: 5.3
ubuntu
почти 4 года назад

Authorization Bypass Through User-Controlled Key in NPM url-parse prior to 1.5.7.

CVSS3: 6.2
redhat
почти 4 года назад

Authorization Bypass Through User-Controlled Key in NPM url-parse prior to 1.5.7.

CVSS3: 5.3
nvd
почти 4 года назад

Authorization Bypass Through User-Controlled Key in NPM url-parse prior to 1.5.7.

CVSS3: 5.3
debian
почти 4 года назад

Authorization Bypass Through User-Controlled Key in NPM url-parse prio ...

EPSS

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

6.5 Medium

CVSS3

Дефекты

CWE-639