CVE-2019-10912: Symfony/cache Deserialization Of Untrusted Data Vulnerability
HIGHCVE-2019-10912 is a HIGH (CVSS 7.1) deserialization of untrusted data vulnerability (CWE-502: Deserialization of Untrusted Data) affecting Symfony/cache libraries in the Packagist ecosystem. The issue involves deserialization of untrusted data in symfony. Remediation is available by upgrading affected packages to version 3.4.26, 4.1.12, 4.2.7, 2.8.50, 9.5.8.
CVE-2019-10912 at a Glance
Security Impact
CVSS: 7.1
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N).
How to Fix CVE-2019-10912
To remediate this vulnerability, upgrade all affected Symfony/cache 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/cache to 3.4.26
Upgrade symfony/cache to 4.1.12
Upgrade symfony/cache to 4.2.7
Upgrade symfony/phpunit-bridge to 2.8.50
Upgrade symfony/phpunit-bridge to 3.4.26
Upgrade symfony/phpunit-bridge to 4.1.12
Upgrade symfony/phpunit-bridge to 4.2.7
Upgrade symfony/symfony to 2.8.50
Upgrade symfony/symfony to 3.4.26
Upgrade symfony/symfony to 4.1.12
Upgrade symfony/symfony to 4.2.7
Upgrade typo3/cms-core to 9.5.8
Upgrade typo3/cms to 9.5.8
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for symfony/cache
How to Check if You Are Affected
To determine whether your application is affected by CVE-2019-10912, inspect your project dependencies for Symfony/cache:
inspect dependencies for symfony/cache
Analyze the terminal output to locate any version of Symfony/cache in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.4.26), 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-502: Deserialization of Untrusted Data, where the product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid. In Symfony/cache, 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-2019-10912 Affected Symfony/cache Versions
13 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
symfony/cache
|
Packagist |
≥ 3.1.0
< 3.4.26
|
3.4.26
|
|
symfony/cache
|
Packagist |
≥ 4.0.0
< 4.1.12
|
4.1.12
|
|
symfony/cache
|
Packagist |
≥ 4.2.0
< 4.2.7
|
4.2.7
|
|
symfony/phpunit-bridge
|
Packagist |
≥ 2.8.0
< 2.8.50
|
2.8.50
|
|
symfony/phpunit-bridge
|
Packagist |
≥ 3.0.0
< 3.4.26
|
3.4.26
|
|
symfony/phpunit-bridge
|
Packagist |
≥ 4.0.0
< 4.1.12
|
4.1.12
|
|
symfony/phpunit-bridge
|
Packagist |
≥ 4.2.0
< 4.2.7
|
4.2.7
|
|
symfony/symfony
|
Packagist |
≥ 2.8.0
< 2.8.50
|
2.8.50
|
|
symfony/symfony
|
Packagist |
≥ 3.0.0
< 3.4.26
|
3.4.26
|
|
symfony/symfony
|
Packagist |
≥ 4.0.0
< 4.1.12
|
4.1.12
|
|
symfony/symfony
|
Packagist |
≥ 4.2.0
< 4.2.7
|
4.2.7
|
|
typo3/cms-core
|
Packagist |
≥ 9.0.0
< 9.5.8
|
9.5.8
|
|
typo3/cms
|
Packagist |
≥ 9.0.0
< 9.5.8
|
9.5.8
|
References
Frequently Asked Questions
What is CVE-2019-10912?
Which Symfony/cache versions are affected?
What version fixes CVE-2019-10912?
Is symfony/cache affected?
Is symfony/phpunit-bridge affected?
What is the CVSS score of CVE-2019-10912?
What CWE is associated with CVE-2019-10912?
How can I check Packagist dependencies for CVE-2019-10912?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-w2fr-65vp-mxw3",
"modified" : "2024-02-05T11:09:27Z",
"published" : "2020-02-12T18:44:50Z",
"aliases" : [ "CVE-2019-10912" ],
"summary" : "Deserialization of untrusted data in Symfony",
"details" : "In Symfony before 2.8.50, 3.x before 3.4.26, 4.x before 4.1.12, and 4.2.x before 4.2.7, it is possible to cache objects that may contain bad user input. On serialization or unserialization, this could result in the deletion of files that the current user has access to. This is related to symfony/cache and symfony/phpunit-bridge.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "symfony/cache"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.1.0"
}, {
"fixed" : "3.4.26"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "symfony/cache"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.0.0"
}, {
"fixed" : "4.1.12"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "symfony/cache"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.2.0"
}, {
"fixed" : "4.2.7"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "symfony/phpunit-bridge"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.8.0"
}, {
"fixed" : "2.8.50"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "symfony/phpunit-bridge"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.0.0"
}, {
"fixed" : "3.4.26"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "symfony/phpunit-bridge"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.0.0"
}, {
"fixed" : "4.1.12"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "symfony/phpunit-bridge"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.2.0"
}, {
"fixed" : "4.2.7"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "symfony/symfony"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.8.0"
}, {
"fixed" : "2.8.50"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "symfony/symfony"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.0.0"
}, {
"fixed" : "3.4.26"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "symfony/symfony"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.0.0"
}, {
"fixed" : "4.1.12"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "symfony/symfony"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.2.0"
}, {
"fixed" : "4.2.7"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "typo3/cms-core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "9.0.0"
}, {
"fixed" : "9.5.8"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "typo3/cms"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "9.0.0"
}, {
"fixed" : "9.5.8"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2019-10912"
}, {
"type" : "WEB",
"url" : "https://github.com/symfony/symfony/commit/4fb975281634b8d49ebf013af9e502e67c28816b"
}, {
"type" : "WEB",
"url" : "https://www.debian.org/security/2019/dsa-4441"
}, {
"type" : "WEB",
"url" : "https://typo3.org/security/advisory/typo3-core-sa-2019-016"
}, {
"type" : "WEB",
"url" : "https://symfony.com/cve-2019-10912"
}, {
"type" : "WEB",
"url" : "https://symfony.com/blog/cve-2019-10912-prevent-destructors-with-side-effects-from-being-unserialized"
}, {
"type" : "WEB",
"url" : "https://seclists.org/bugtraq/2019/May/21"
}, {
"type" : "WEB",
"url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZLOZX5BZMQKWG7PJRQL6MB5CAMKBQAWD"
}, {
"type" : "WEB",
"url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RTJGZJLPG5FHKFH7KNAKNTWOGBB6LXAL"
}, {
"type" : "WEB",
"url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MDSM576XIOVXVCMHNJHLBBZBTOD62LDA"
}, {
"type" : "WEB",
"url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LFARAUAWZE4UDSKVDWRD35D75HI5UGSD"
}, {
"type" : "WEB",
"url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BHHIG4GMSGEIDT3RITSW7GJ5NT6IBHXU"
}, {
"type" : "WEB",
"url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BAC2TQVEEH5FDJSSWPM2BCRIPTCOEMMO"
}, {
"type" : "WEB",
"url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6QEAOZXVNDA63537A2OIH4QE77EKZR5O"
}, {
"type" : "WEB",
"url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/42UEKSLKJB72P24JBWVN6AADHLMYSUQD"
}, {
"type" : "WEB",
"url" : "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZLOZX5BZMQKWG7PJRQL6MB5CAMKBQAWD"
}, {
"type" : "WEB",
"url" : "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RTJGZJLPG5FHKFH7KNAKNTWOGBB6LXAL"
}, {
"type" : "WEB",
"url" : "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MDSM576XIOVXVCMHNJHLBBZBTOD62LDA"
}, {
"type" : "WEB",
"url" : "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LFARAUAWZE4UDSKVDWRD35D75HI5UGSD"
}, {
"type" : "WEB",
"url" : "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BHHIG4GMSGEIDT3RITSW7GJ5NT6IBHXU"
}, {
"type" : "WEB",
"url" : "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BAC2TQVEEH5FDJSSWPM2BCRIPTCOEMMO"
}, {
"type" : "WEB",
"url" : "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6QEAOZXVNDA63537A2OIH4QE77EKZR5O"
}, {
"type" : "WEB",
"url" : "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/42UEKSLKJB72P24JBWVN6AADHLMYSUQD"
}, {
"type" : "WEB",
"url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/typo3/cms/CVE-2019-10912.yaml"
}, {
"type" : "WEB",
"url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/typo3/cms-core/CVE-2019-10912.yaml"
}, {
"type" : "WEB",
"url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2019-10912.yaml"
}, {
"type" : "WEB",
"url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/phpunit-bridge/CVE-2019-10912.yaml"
}, {
"type" : "WEB",
"url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/cache/CVE-2019-10912.yaml"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-502" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2020-02-11T20:17:25Z",
"nvd_published_at" : "2019-05-16T22:29:00Z"
}
}