CVE-2022-46175

json5 <= 1.0.1 and 2.0.0-2.2.1 - Prototype Pollution

2022-12-23 00:00
Anonymous

Strategic Overview

Status
Patched in 1.1.0
Affected Plugin
Block for Apple Maps
Affected Version
<= 1.0.3
CVSS
8.8High
Weakness type
CWE-1321 · Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')
CVE
CVE-2022-46175
View all Block for Apple Maps vulnerabilities

At a glance

CVE-2022-46175 is a high-severity Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution') vulnerability in the Block for Apple Maps WordPress plugin, affecting versions <= 1.0.3. It carries a CVSS score of 8.8 (reachable over the network; low attack complexity; high confidentiality, integrity, availability impact). The issue is fixed in version 1.1.0; sites on affected versions should update now. Disclosed December 2022.

Vulnerability Overview

The package json5 before 1.0.2 and between 2.0.0 and 2.2.1 inclusive is vulnerable to prototype pollution due to failure to restrict parsing of keys named `__proto__`. As this package is used in some WordPress plugins, this could result in the impacted plugins being vulnerable.

Technical Analysis

The vector marks this flaw as remotely reachable over the network, with low attack complexity — no special timing or configuration is needed, and no interaction from a victim user. A successful exploit has high impact on confidentiality, integrity, availability — full site compromise territory.

CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')

The product receives input from an upstream component that specifies attributes that are to be initialized or updated in an object, but it does not properly control modifications of attributes of the object prototype.

Remediation

Update to version 1.1.0, or a newer patched version

How does WordSec protect against this?

The fix is the thing that ends this: Block for Apple Maps 1.1.0 closes this, and updating the plugin is the step that ends it.

  • Alerts

External References

Related records

Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C