symfony/cache is vulnerable to SQL Injection
65
Medium Risk
PdoAdapter::clear() builds a SQL LIKE predicate from a caller-supplied cache prefix. The prefix is concatenated into SQL without binding or escaping in the non-versioning path. Pre-fix callers that pass untrusted prefixes can alter the deletion query and expand cache row deletion. The fix rejects prefixes containing characters outside a safe cache-key subset.
You are affected if you are using a version that falls within the vulnerable range.
symfony/cache is vulnerable to SQL Injection in versions 0.0.1 - 5.4.51, 6.0.0 - 6.4.39, 7.0.0 - 7.4.11 and 8.0.0 - 8.0.11.
Upgrade the symfony/cache and/or symfony/symfony library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

SOC 2Compliant
ISO 27001Compliant