GHSA-qwvp-268g-jjm8: Livewire/livewire Data Leakage Vulnerability Vulnerability

MODERATE
CWE-200
Published
Advisory Summary

GHSA-qwvp-268g-jjm8 is a MODERATE data leakage vulnerability vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) affecting Livewire/livewire libraries in the Packagist ecosystem. The issue involves data leakage vulnerability in livewire/livewire. Remediation is available by upgrading affected packages to version 2.2.6.

GHSA-qwvp-268g-jjm8 at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-qwvp-268g-jjm8
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
Affected Product Livewire/livewire
Package Ecosystem Packagist
Published Date
Last Updated

How to Fix GHSA-qwvp-268g-jjm8

To remediate this vulnerability, upgrade all affected Livewire/livewire dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

livewire/livewire fixed: 2.2.6
Upgrade livewire/livewire to 2.2.6
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for livewire/livewire

How to Check if You Are Affected

To determine whether your application is affected by GHSA-qwvp-268g-jjm8, inspect your project dependencies for Livewire/livewire:

inspect dependencies for livewire/livewire

Analyze the terminal output to locate any version of Livewire/livewire in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.2.6), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor, where the product exposes sensitive information to an actor that is not explicitly authorized to have access to that information. In Livewire/livewire, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

livewire/livewire versions greater than 2.2.4 and less than 2.2.6 are affected by a data leakage vulnerability. The `$this->validate()` method, which is expected to return only the validated dataset, was returning all properties of the Livewire component. This regression introduced a security risk, allowing unvalidated data to be exposed, which could lead to unexpected behavior and potential security issues.

GHSA-qwvp-268g-jjm8 Affected Livewire/livewire Versions

1 component(s)
Fixed Versions:
2.2.6
Product / Package Ecosystem Affected Versions Fixed Version
livewire/livewire
Packagist
≥ 2.2.5
< 2.2.6
2.2.6

References

Frequently Asked Questions

What is GHSA-qwvp-268g-jjm8?
GHSA-qwvp-268g-jjm8 is a security vulnerability in Livewire/livewire involving Data Leakage Vulnerability in livewire/livewire under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor.
Which Livewire/livewire versions are affected?
Affected versions include releases prior to 2.2.6 across affected packages: livewire/livewire.
What version fixes GHSA-qwvp-268g-jjm8?
Upgrading to 2.2.6 (or the latest patched release for your respective branch) resolves the vulnerability.
Is livewire/livewire affected?
Yes, livewire/livewire is affected in releases prior to 2.2.6. Upgrade your dependency to 2.2.6 or later.
What CWE is associated with GHSA-qwvp-268g-jjm8?
GHSA-qwvp-268g-jjm8 is classified under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor (The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.).
How can I check Packagist dependencies for GHSA-qwvp-268g-jjm8?
Run the dependency tree command: 'inspect dependencies for livewire/livewire'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-qwvp-268g-jjm8",
  "modified" : "2024-05-15T22:28:49Z",
  "published" : "2024-05-15T22:28:49Z",
  "aliases" : [ ],
  "summary" : "Data Leakage Vulnerability in livewire/livewire",
  "details" : "livewire/livewire versions greater than 2.2.4 and less than 2.2.6 are affected by a data leakage vulnerability. The `$this->validate()` method, which is expected to return only the validated dataset, was returning all properties of the Livewire component. This regression introduced a security risk, allowing unvalidated data to be exposed, which could lead to unexpected behavior and potential security issues.\n\n",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "livewire/livewire"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.2.5"
      }, {
        "fixed" : "2.2.6"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/livewire/livewire/commit/6929f5882138a98187c196ce66cc689712c000af"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/livewire/livewire/2020-09-22-1.yaml"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/livewire/livewire"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/livewire/livewire/releases/tag/v2.2.6"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-200" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-05-15T22:28:49Z",
    "nvd_published_at" : null
  }
}