CVE-2024-36610: Withdrawn Advisory Symfony's VarDumper Vulnerable To Unsafe Vulnerability
HIGHCVE-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
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).
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.
Upgrade symfony/var-dumper to 6.4.4
Upgrade symfony/var-dumper to 7.0.4
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
CVE-2024-36610 Affected Withdrawn Advisory Versions
2 component(s)| 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?
Which Withdrawn Advisory versions are affected?
What version fixes CVE-2024-36610?
Is symfony/var-dumper affected?
What is the CVSS score of CVE-2024-36610?
What CWE is associated with CVE-2024-36610?
How can I check Packagist dependencies for CVE-2024-36610?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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"
}
}