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

exploitDog

github логотип

GHSA-rhx6-c78j-4q9w

Опубликовано: 05 дек. 2024
Источник: github
Github: Прошло ревью
CVSS4: 7.7
CVSS3: 7.5

Описание

path-to-regexp contains a ReDoS

Impact

The regular expression that is vulnerable to backtracking can be generated in versions before 0.1.12 of path-to-regexp, originally reported in CVE-2024-45296

Patches

Upgrade to 0.1.12.

Workarounds

Avoid using two parameters within a single path segment, when the separator is not . (e.g. no /:a-:b). Alternatively, you can define the regex used for both parameters and ensure they do not overlap to allow backtracking.

References

Пакеты

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

path-to-regexp

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

< 0.1.12

0.1.12

EPSS

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

7.7 High

CVSS4

7.5 High

CVSS3

Дефекты

CWE-1333

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

ubuntu
около 1 года назад

path-to-regexp turns path strings into a regular expressions. In certain cases, path-to-regexp will output a regular expression that can be exploited to cause poor performance. The regular expression that is vulnerable to backtracking can be generated in the 0.1.x release of path-to-regexp. Upgrade to 0.1.12. This vulnerability exists because of an incomplete fix for CVE-2024-45296.

CVSS3: 5.3
redhat
около 1 года назад

path-to-regexp turns path strings into a regular expressions. In certain cases, path-to-regexp will output a regular expression that can be exploited to cause poor performance. The regular expression that is vulnerable to backtracking can be generated in the 0.1.x release of path-to-regexp. Upgrade to 0.1.12. This vulnerability exists because of an incomplete fix for CVE-2024-45296.

nvd
около 1 года назад

path-to-regexp turns path strings into a regular expressions. In certain cases, path-to-regexp will output a regular expression that can be exploited to cause poor performance. The regular expression that is vulnerable to backtracking can be generated in the 0.1.x release of path-to-regexp. Upgrade to 0.1.12. This vulnerability exists because of an incomplete fix for CVE-2024-45296.

msrc
11 месяцев назад

Описание отсутствует

debian
около 1 года назад

path-to-regexp turns path strings into a regular expressions. In certa ...

EPSS

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

7.7 High

CVSS4

7.5 High

CVSS3

Дефекты

CWE-1333