Vulnerability · Published Feb 12, 2024 · Assigned by VulDB

CVE-2021-4437dbartholomae lambda-middleware frameguard JSON Mime-Type JsonDeserializer.ts redos

Low 3.5

In plain English

A low-severity regular-expression denial of service in lambda-middleware frameguard from dbartholomae. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 39% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)3.5Low
Exploit odds (30 days)0.4%top 61.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

A vulnerability, which was classified as problematic, has been found in dbartholomae lambda-middleware frameguard up to 1.0.4. Affected by this issue is some unknown functionality of the file packages/json-deserializer/src/JsonDeserializer.ts of the component JSON Mime-Type Handler. The manipulation leads to inefficient regular expression complexity. Upgrading to version 1.1.0 is able to address this issue. The patch is identified as f689404d830cbc1edd6a1018d3334ff5f44dc6a6. It is recommended to upgrade the affected component. VDB-253406 is the identifier assigned to this vulnerability.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npm@lambda-middleware/json-deserializer1.1.0GHSA-m3f4-957x-m785

Affected products (as reported)

VendorProductVersions
dbartholomae lambda-middleware frameguard 1.0.01.0.11.0.21.0.31.0.4

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

References