REDHAT-BUG-2447083: High severity npm/flatted vulnerability

Published Mar 12, 2026
·
Updated

flatted is a circular JSON parser. Prior to 3.4.0, flatted's parse() function uses a recursive revive() phase to resolve circular references in deserialized JSON. When given a crafted payload with deeply nested or self-referential $ indices, the recursion depth is unbounded, causing a stack overflow that crashes the Node.js process. This vulnerability is fixed in 3.4.0.

Affected Software

1 affected component
npm/flatted<3.4.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade flatted to a version that resolves this vulnerability.

    Fixed in 3.4.0

Event History

Mar 12, 2026
Data Sourced
via Red Hat·07:01 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of REDHAT-BUG-2447083?

The severity of REDHAT-BUG-2447083 is classified as high (7).

2

How do I fix REDHAT-BUG-2447083?

To fix REDHAT-BUG-2447083, update the 'flatted' package to version 3.4.0 or later.

3

What risks are associated with REDHAT-BUG-2447083?

REDHAT-BUG-2447083 poses a risk of stack overflow due to unbounded recursion when parsing crafted payloads.

4

What software is affected by REDHAT-BUG-2447083?

The affected software for REDHAT-BUG-2447083 is npm/flatted.

5

When was REDHAT-BUG-2447083 published?

REDHAT-BUG-2447083 was published on March 12, 2026.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203