GHSA-hvgw-gg3p-295j: Klaviyo/magento2 extension Read Private Customer Data Reclaiming Vulnerability

MODERATE
CWE-200
Published
Advisory Summary

GHSA-hvgw-gg3p-295j is a MODERATE read private customer data reclaiming vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) affecting Klaviyo/magento2 extension libraries in the Packagist ecosystem. The issue involves read private customer data reclaiming carts in klaviyo magento. Remediation is available by upgrading affected packages to version 3.0.0.

GHSA-hvgw-gg3p-295j at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-hvgw-gg3p-295j
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
Affected Product Klaviyo/magento2 extension
Package Ecosystem Packagist
Published Date
Last Updated

How to Fix GHSA-hvgw-gg3p-295j

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

klaviyo/magento2-extension fixed: 3.0.0
Upgrade klaviyo/magento2-extension to 3.0.0
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 klaviyo/magento2-extension

How to Check if You Are Affected

To determine whether your application is affected by GHSA-hvgw-gg3p-295j, inspect your project dependencies for Klaviyo/magento2 extension:

inspect dependencies for klaviyo/magento2-extension

Analyze the terminal output to locate any version of Klaviyo/magento2 extension in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.0.0), 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 Klaviyo/magento2 extension, 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

A researcher identified an endpoint in a thirth party module Klaviyo Magento 2 which allows to read private customer data from stores. It works by reclaiming any guest-cart as your own and reading the private data for the orders in the Magento API.

GHSA-hvgw-gg3p-295j Affected Klaviyo/magento2 extension Versions

1 component(s)
Fixed Versions:
3.0.0
Product / Package Ecosystem Affected Versions Fixed Version
klaviyo/magento2-extension
Packagist
≥ 1.0.0
< 3.0.0
3.0.0

References

Frequently Asked Questions

What is GHSA-hvgw-gg3p-295j?
GHSA-hvgw-gg3p-295j is a security vulnerability in Klaviyo/magento2 extension involving Read private customer data reclaiming carts in Klaviyo Magento under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor.
Which Klaviyo/magento2 extension versions are affected?
Affected versions include releases prior to 3.0.0 across affected packages: klaviyo/magento2-extension.
What version fixes GHSA-hvgw-gg3p-295j?
Upgrading to 3.0.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is klaviyo/magento2-extension affected?
Yes, klaviyo/magento2-extension is affected in releases prior to 3.0.0. Upgrade your dependency to 3.0.0 or later.
What CWE is associated with GHSA-hvgw-gg3p-295j?
GHSA-hvgw-gg3p-295j 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-hvgw-gg3p-295j?
Run the dependency tree command: 'inspect dependencies for klaviyo/magento2-extension'. 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-hvgw-gg3p-295j",
  "modified" : "2024-05-15T22:03:47Z",
  "published" : "2024-05-15T22:03:47Z",
  "aliases" : [ ],
  "summary" : "Read private customer data reclaiming carts in Klaviyo Magento",
  "details" : "A researcher identified an endpoint in a thirth party module Klaviyo Magento 2 which allows to read private customer data from stores. It works by reclaiming any guest-cart as your own and reading the private data for the orders in the Magento API.\n\n",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "klaviyo/magento2-extension"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.0.0"
      }, {
        "fixed" : "3.0.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/klaviyo/magento2-klaviyo/pull/107"
  }, {
    "type" : "WEB",
    "url" : "https://gist.github.com/JeroenBoersma/f5864a45e3df63b198a57abdff366df2"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/klaviyo/magento2-extension/2021-05-25-1.yaml"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/klaviyo/magento2-klaviyo"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-200" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-05-15T22:03:47Z",
    "nvd_published_at" : null
  }
}