CVE-2021-4437: lambda-middleware Inefficient Regular Expression Complexity vulnerability
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.
Published Feb 12, 2024 · Updated Mar 1, 2024
Affected packages
@lambda-middleware/json-deserializer
- Ecosystem
- npm
- Affected
- < 1.1.0
- Fixed in
- 1.1.0
- Check
npm ls @lambda-middleware/json-deserializer
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-4437
- https://github.com/dbartholomae/lambda-middleware/pull/57
- https://github.com/dbartholomae/lambda-middleware/commit/f689404d830cbc1edd6a1018d3334ff5f44dc6a6
- https://github.com/dbartholomae/lambda-middleware/releases/tag/@lambda-middleware/frameguard_v1.1.0
- https://vuldb.com/?ctiid.253406
- https://vuldb.com/?id.253406
- https://github.com/dbartholomae/lambda-middleware/releases/tag/%40lambda-middleware%2Fframeguard_v1.1.0
- https://github.com/advisories/GHSA-m3f4-957x-m785
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
