fix(security): bump flatted to 3.4.2 (ENG-13143)#144
Conversation
- flatted 3.3.3 → 3.4.2 via overrides in examples/js/package.json (GHSA-rf6f-7fwh-wjgh, CVE-2026-33228, HIGH) Prototype Pollution via parse() Also resolves GHSA-25h7-pfq9-p65f (DoS via unbounded recursion, fixed 3.3.4)
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe pull request adds a dependency override entry to 🚥 Pre-merge checks | ✅ 2✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
Summary
Bumps
flattedfrom 3.3.3 → 3.4.2 viaoverridesinexamples/js/package.jsonto fix a high-severity prototype pollution vulnerability.Fixes: ENG-13143
Vulnerability Details
GHSA-rf6f-7fwh-wjgh:
flatted.parse()allows attacker-controlled string keys like__proto__to traverse the prototype chain, leaking a live reference toArray.prototypeto the consumer — enabling global prototype pollution, DoS, or potential RCE.flattedis a transitive dep:eslint→file-entry-cache→flat-cache@3.2.0→flatted@^3.2.9. Sinceflat-cachepins^3.2.9, anoverridesentry is needed to force^3.4.2.Test Plan