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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | @lambda-middleware/json-deserializer | 1.1.0 | GHSA-m3f4-957x-m785 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| 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
- https://vuldb.com/?id.253406 vdb-entry
- https://vuldb.com/?ctiid.253406 signature, permissions-required
- https://github.com/dbartholomae/lambda-middleware/pull/57 issue-tracking
- https://github.com/dbartholomae/lambda-middleware/commit/f689404d830cbc1edd6a1018d3334ff5f44dc6a6 patch
- https://github.com/dbartholomae/lambda-middleware/releases/tag/%40lambda-middleware%2Fframeguard_v1.1.0 patch