Vulnerability · Published Jun 1, 2022 · Assigned by JFROG

CVE-2022-1929Exponential ReDoS in devcert

Medium 5.9

In plain English

A medium-severity regular-expression denial of service in devcert from devcert. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 51% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.9Medium
Exploit odds (30 days)0.6%top 49.1% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official description

An exponential ReDoS (Regular Expression Denial of Service) can be triggered in the devcert npm package, when an attacker is able to supply arbitrary input to the certificateFor method

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npmdevcert1.2.1GHSA-fp36-299x-pwmw

Affected products (as reported)

VendorProductVersions
devcert devcert unspecified – before 1.2.1

Weakness: CWE-1333 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

References