CVE-2024-36610: Withdrawn Advisory Symfony's VarDumper Vulnerable To Unsafe Vulnerability

HIGH
Advisory Identifier: GHSA-cg28-v4wq-whv5
CVSS 9.8
CWE-94
Published
Advisory Summary

CVE-2024-36610 is a HIGH (CVSS 9.8) symfony's vardumper vulnerable to unsafe vulnerability (CWE-94: Improper Control of Generation of Code ('Code Injection')) affecting Withdrawn Advisory libraries in the Packagist ecosystem. The issue involves symfony's vardumper vulnerable to unsafe deserialization. Remediation is available by upgrading affected packages to version 6.4.4, 7.0.4.

CVE-2024-36610 at a Glance

CVE Identifier CVE-2024-36610
GHSA Identifier GHSA-cg28-v4wq-whv5
Severity HIGH
CVSS v3.1 Base Score 9.8
CWE Classification CWE-94: Improper Control of Generation of Code ('Code Injection')
Affected Product Withdrawn Advisory
Package Ecosystem Packagist
Published Date
Last Updated

Security Impact

CVSS: 9.8

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability High (A:H)

How to Fix CVE-2024-36610

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

symfony/var-dumper fixed: 6.4.4
Upgrade symfony/var-dumper to 6.4.4
symfony/var-dumper fixed: 7.0.4
Upgrade symfony/var-dumper to 7.0.4
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 symfony/var-dumper

How to Check if You Are Affected

To determine whether your application is affected by CVE-2024-36610, inspect your project dependencies for Withdrawn Advisory:

inspect dependencies for symfony/var-dumper

Analyze the terminal output to locate any version of Withdrawn Advisory in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 6.4.4), 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-94: Improper Control of Generation of Code ('Code Injection'), where the product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment. In Withdrawn Advisory, 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

## Withdrawn Advisory This advisory has been withdrawn because the report is not part of a valid vulnerability. This link is maintained to preserve external references. For more information, see advisory-database/pull/5048. ## Original Description A deserialization vulnerability exists in the Stub class of the VarDumper module in Symfony. The vulnerability stems from deficiencies in the original implementation when handling properties with null or uninitialized values. An attacker could construct specific serialized data and use this vulnerability to execute unauthorized code.

CVE-2024-36610 Affected Withdrawn Advisory Versions

2 component(s)
Fixed Versions:
6.4.47.0.4
Product / Package Ecosystem Affected Versions Fixed Version
symfony/var-dumper
Packagist
< 6.4.4
6.4.4
symfony/var-dumper
Packagist
≥ 7.0.0
< 7.0.4
7.0.4

References

Frequently Asked Questions

What is CVE-2024-36610?
CVE-2024-36610 is a security vulnerability in Withdrawn Advisory involving Symfony's VarDumper vulnerable to unsafe deserialization under CWE-94: Improper Control of Generation of Code ('Code Injection').
Which Withdrawn Advisory versions are affected?
Affected versions include releases prior to 6.4.4, 7.0.4 across affected packages: symfony/var-dumper.
What version fixes CVE-2024-36610?
Upgrading to 6.4.4, 7.0.4 (or the latest patched release for your respective branch) resolves the vulnerability.
Is symfony/var-dumper affected?
Yes, symfony/var-dumper is affected in releases prior to 6.4.4, 7.0.4. Upgrade your dependency to 6.4.4, 7.0.4 or later.
What is the CVSS score of CVE-2024-36610?
CVE-2024-36610 has a CVSS v3.1 base score of 9.8 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
What CWE is associated with CVE-2024-36610?
CVE-2024-36610 is classified under CWE-94: Improper Control of Generation of Code ('Code Injection') (The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.).
How can I check Packagist dependencies for CVE-2024-36610?
Run the dependency tree command: 'inspect dependencies for symfony/var-dumper'. 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-cg28-v4wq-whv5",
  "modified" : "2024-12-03T21:36:50Z",
  "published" : "2024-11-29T21:31:04Z",
  "withdrawn" : "2024-12-03T16:07:34Z",
  "aliases" : [ "CVE-2024-36610" ],
  "summary" : "Withdrawn Advisory: Symfony's VarDumper vulnerable to unsafe deserialization",
  "details" : "## Withdrawn Advisory\nThis advisory has been withdrawn because the report is not part of a valid vulnerability. This link is maintained to preserve external references. For more information, see advisory-database/pull/5048.\n\n## Original Description\nA deserialization vulnerability exists in the Stub class of the VarDumper module in Symfony. The vulnerability stems from deficiencies in the original implementation when handling properties with null or uninitialized values. An attacker could construct specific serialized data and use this vulnerability to execute unauthorized code.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "symfony/var-dumper"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "6.4.4"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "symfony/var-dumper"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "7.0.0"
      }, {
        "fixed" : "7.0.4"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-36610"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/symfony/symfony/issues/59077#issuecomment-2513935018"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/github/advisory-database/pull/5046"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/github/advisory-database/pull/5048"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/symfony/symfony/commit/3ffd495bb3cc4d2e24e35b2d83c5b909cab7e259"
  }, {
    "type" : "WEB",
    "url" : "https://gist.github.com/1047524396/24e93f2905850235e42ad7db6e878bd5"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/symfony/symfony"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/symfony/symfony/blob/v7.0.3/src/Symfony/Component/VarDumper/Cloner/Stub.php#L53"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-94" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-12-02T20:19:39Z",
    "nvd_published_at" : "2024-11-29T20:15:20Z"
  }
}