Skip to content

Regular expression denial of service in devcert

High severity GitHub Reviewed Published Jun 3, 2022 to the GitHub Advisory Database • Updated Nov 29, 2023

Package

npm devcert (npm)

Affected versions

< 1.2.1

Patched versions

1.2.1

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

References

Published by the National Vulnerability Database Jun 2, 2022
Published to the GitHub Advisory Database Jun 3, 2022
Reviewed Jun 3, 2022
Last updated Nov 29, 2023

Severity

High
7.5
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Weaknesses

CVE ID

CVE-2022-1929

GHSA ID

GHSA-fp36-299x-pwmw

Source code

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.