Skip to content

uri-template-lite Regular Expression Denial of Service

Moderate severity GitHub Reviewed Published Aug 25, 2022 to the GitHub Advisory Database • Updated Nov 28, 2023

Package

npm uri-template-lite (npm)

Affected versions

< 22.9.0

Patched versions

22.9.0

Description

An exponential ReDoS (Regular Expression Denial of Service) can be triggered in the uri-template-lite npm package, when an attacker is able to supply arbitrary input to the "URI.expand" method.

References

Published by the National Vulnerability Database Aug 24, 2022
Published to the GitHub Advisory Database Aug 25, 2022
Reviewed Sep 1, 2022
Last updated Nov 28, 2023

Severity

Moderate
5.9
/ 10

CVSS base metrics

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

CVE ID

CVE-2021-43309

GHSA ID

GHSA-chw2-6c7r-37p7

Credits

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