PT-2023-4569
CVE-2022-25883
·
Publicado
2023-06-21
·
Atualizado
2026-10-06
Descrição por
CVSS 2.0
7.8
AltaMétricasAV:N/AC:L/Au:N/C:N/I:N/A:C
Name of the Vulnerable Software and Affected Versions
semver versions prior to 7.5.2
semver versions prior to 6.3.1 on the 6.x branch
semver versions prior to 5.7.2
Description
The issue is related to the use of a regular expression with inefficient computational complexity in the semver package, which can lead to a Regular Expression Denial of Service (ReDoS) via the
new Range function when untrusted user data is provided as a range. This can allow a remote attacker to cause a denial of service.Recommendations
For semver versions prior to 7.5.2, update to version 7.5.2 or later.
For semver versions prior to 6.3.1 on the 6.x branch, update to version 6.3.1 or later.
For semver versions prior to 5.7.2, update to version 5.7.2 or later.
As a temporary workaround, consider restricting the use of the
new Range function to trusted input only until a patch is available.Explorabilidade
Exploit
Correção
Impactos
Pesquisadores
Fornecedores
Produtos afetados
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾