Security readout for executives and security teams
Plain-English summary
This vulnerability affects underscore.deep before 0.5.3, a JavaScript helper library for nested objects. Malicious input passed into affected functions can change object prototypes, potentially influencing later objects in the application. Business urgency depends on whether the library is present and receives untrusted input.
Executive priority
Treat as high priority for dependency remediation when underscore.deep is in production paths handling external input. If the library is absent, already upgraded, or only processes trusted internal data, urgency is lower but should still be documented.
Technical view
CVE-2022-31106 is prototype pollution in underscore.deep <0.5.3. The affected path is deepFromFlat, and deepPick is also exposed through its dependency on deepFromFlat. The CVSS 3.1 score is 8.3 with network attack vector, low complexity, no privileges, and no user interaction.
Likely exposure
Exposure is likely in JavaScript applications that use underscore.deep <0.5.3 and call deepFromFlat or deepPick on attacker-controlled or untrusted object data. The source bundle does not identify specific downstream products or deployments.
Exploitation context
The source bundle does not cite active exploitation, and KEV is false. The CVSS vector indicates remote, unauthenticated exploitability in applicable application paths, but real risk depends on whether untrusted data reaches the vulnerable functions.
Researcher notes
This maps to CWE-1321 and CWE-915. The issue is unsafe handling of object keys in deepFromFlat, allowing prototype pollution that can affect future objects. Evidence supports the named package and vulnerable functions only; no broader ecosystem impact is provided.
Mitigation direction
- Upgrade underscore.deep to version 0.5.3 or later.
- Prioritize applications where deepFromFlat or deepPick handles external input.
- If unable to upgrade, modify deepFromFlat to block the dangerous keywords identified by vendor guidance.
- Review vendor advisory and patch commit before choosing a temporary workaround.
Validation and detection
- Check package manifests, lockfiles, and SBOMs for underscore.deep versions below 0.5.3.
- Search application code for direct calls to deepFromFlat and deepPick.
- Trace whether user-controlled data can reach those functions.
- Confirm upgraded builds resolve to underscore.deep 0.5.3 or later.
Public sources used
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
CWE-1321: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
Open ATT&CK lookupCWE-915: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
Open ATT&CK lookupCVE-2022-31106 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
Open ATT&CK lookup- Severity
- High
- CVSS
- 8.3 (3.1)
- Known Exploited
- No
- Published
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L
CNA and ADP enrichment extracted from CVE v5
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
CVSS vector scores
1 official scoreWe collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L3.93.7Primary CVE scoreVulnerability scoring details
Base CVSS 3.1 score
8.3HighVector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L
Source materials
- CVE List V5 sourceCVE List V5
- https://github.com/Clever/underscore.deep/security/advisories/GHSA-8j79-hfj5-f2xmCVE reference · x_refsource_CONFIRM
- https://github.com/Clever/underscore.deep/commit/b5e109ad05b48371be225fa4d490dd08a94e8ef7CVE reference · x_refsource_MISC
Products and packages named in the record
CWE details
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')
Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.
Improperly Controlled Modification of Dynamically-Determined Object Attributes
Improperly Controlled Modification of Dynamically-Determined Object Attributes represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.
