Vulnerability · Published Aug 24, 2022 · Assigned by JFROG

CVE-2021-43309ReDoS in uri-template-lite URI.expand function

Medium 5.9

In plain English

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

Severity (CVSS 3.1)5.9Medium
Exploit odds (30 days)1.0%top 37.3% 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 uri-template-lite npm package, when an attacker is able to supply arbitrary input to the "URI.expand" method

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npmuri-template-lite22.9.0GHSA-chw2-6c7r-37p7

Affected products (as reported)

VendorProductVersions
uri-template-lite uri-template-lite 0 – before 22.9.0

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

References