CVE-2022-25881

http-cache-semantics < 4.1.1 - Regular Expression Denial of Service (ReDoS)

2023-02-23 00:00
Anonymous

Strategic Overview

Status
Patched in 2.7.4
Affected Plugin
Simple Local Avatars
Affected Version
<= 2.7.3
CVSS
5.3Medium
Weakness type
CWE-1333 · Inefficient Regular Expression Complexity
CVE
CVE-2022-25881
View all Simple Local Avatars vulnerabilities

At a glance

CVE-2022-25881 is a medium-severity Inefficient Regular Expression Complexity vulnerability in the Simple Local Avatars WordPress plugin, affecting versions <= 2.7.3. It carries a CVSS score of 5.3 (reachable over the network; low attack complexity). Exploitation requires no authentication. The issue is fixed in version 2.7.4; sites on affected versions should update now. Disclosed February 2023.

Vulnerability Overview

The package http-cache-semantics is vulnerable to Regular Expression Denial of Service (ReDoS) in versions before 4.1.1 via the cache-control HTTP header. WordPress plugins and themes may be using this package, however, they may not be vulnerable to exploitation.

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 privileges on the target site, and no interaction from a victim user.

CWE-1333: Inefficient Regular Expression Complexity

The product uses a regular expression with a worst-case computational complexity that is inefficient and possibly exponential.

Remediation

Update to version 2.7.4, or a newer patched version

How does WordSec protect against this?

The fix is the thing that ends this: Simple Local Avatars 2.7.4 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