CVE-2019-10910: Symfony/dependency injection Symfony Service IDs Allow Injection Vulnerability
CRITICALCVE-2019-10910 is a CRITICAL (CVSS 9.8) symfony service ids allow injection vulnerability (CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')) affecting Symfony/dependency injection libraries in the Packagist ecosystem. The issue involves symfony service ids allow injection. Remediation is available by upgrading affected packages to version 2.7.51, 2.8.50, 3.4.26, 4.1.12, 4.2.7.
CVE-2019-10910 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.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H).
How to Fix CVE-2019-10910
To remediate this vulnerability, upgrade all affected Symfony/dependency injection 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/dependency-injection to 2.7.51
Upgrade symfony/dependency-injection to 2.8.50
Upgrade symfony/dependency-injection to 3.4.26
Upgrade symfony/dependency-injection to 4.1.12
Upgrade symfony/dependency-injection to 4.2.7
Upgrade symfony/proxy-manager-bridge to 2.7.51
Upgrade symfony/proxy-manager-bridge to 2.8.50
Upgrade symfony/proxy-manager-bridge to 3.4.26
Upgrade symfony/proxy-manager-bridge to 4.1.12
Upgrade symfony/proxy-manager-bridge to 4.2.7
Upgrade symfony/symfony to 2.7.51
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
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for symfony/dependency-injection
How to Check if You Are Affected
To determine whether your application is affected by CVE-2019-10910, inspect your project dependencies for Symfony/dependency injection:
inspect dependencies for symfony/dependency-injection
Analyze the terminal output to locate any version of Symfony/dependency injection in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.7.51), 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-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection'), where the product constructs all or part of an sql command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended sql command when it is sent to a downstream component. without sufficient removal or quoting of sql syntax in user-controllable inputs, the generated sql query can cause those inputs to be interpreted as sql instead of ordinary user data. In Symfony/dependency injection, 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-10910 Affected Symfony/dependency injection Versions
15 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
symfony/dependency-injection
|
Packagist |
≥ 2.7.0
< 2.7.51
|
2.7.51
|
|
symfony/dependency-injection
|
Packagist |
≥ 2.8.0
< 2.8.50
|
2.8.50
|
|
symfony/dependency-injection
|
Packagist |
≥ 3.0.0
< 3.4.26
|
3.4.26
|
|
symfony/dependency-injection
|
Packagist |
≥ 4.0.0
< 4.1.12
|
4.1.12
|
|
symfony/dependency-injection
|
Packagist |
≥ 4.2.0
< 4.2.7
|
4.2.7
|
|
symfony/proxy-manager-bridge
|
Packagist |
≥ 2.7.0
< 2.7.51
|
2.7.51
|
|
symfony/proxy-manager-bridge
|
Packagist |
≥ 2.8.0
< 2.8.50
|
2.8.50
|
|
symfony/proxy-manager-bridge
|
Packagist |
≥ 3.0.0
< 3.4.26
|
3.4.26
|
|
symfony/proxy-manager-bridge
|
Packagist |
≥ 4.0.0
< 4.1.12
|
4.1.12
|
|
symfony/proxy-manager-bridge
|
Packagist |
≥ 4.2.0
< 4.2.7
|
4.2.7
|
|
symfony/symfony
|
Packagist |
≥ 2.7.0
< 2.7.51
|
2.7.51
|
|
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
|
References
Frequently Asked Questions
What is CVE-2019-10910?
Which Symfony/dependency injection versions are affected?
What version fixes CVE-2019-10910?
Is symfony/dependency-injection affected?
Is symfony/proxy-manager-bridge affected?
What is the CVSS score of CVE-2019-10910?
What CWE is associated with CVE-2019-10910?
How can I check Packagist dependencies for CVE-2019-10910?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-pgwj-prpq-jpc2",
"modified" : "2025-05-29T22:51:16Z",
"published" : "2019-11-18T17:27:31Z",
"aliases" : [ "CVE-2019-10910" ],
"summary" : "Symfony Service IDs Allow Injection",
"details" : "In Symfony before 2.7.51, 2.8.x before 2.8.50, 3.x before 3.4.26, 4.x before 4.1.12, and 4.2.x before 4.2.7, when service ids allow user input, this could allow for SQL Injection and remote code execution. This is related to symfony/dependency-injection.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "symfony/dependency-injection"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.7.0"
}, {
"fixed" : "2.7.51"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "symfony/dependency-injection"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.8.0"
}, {
"fixed" : "2.8.50"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "symfony/dependency-injection"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.0.0"
}, {
"fixed" : "3.4.26"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "symfony/dependency-injection"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.0.0"
}, {
"fixed" : "4.1.12"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "symfony/dependency-injection"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.2.0"
}, {
"fixed" : "4.2.7"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "symfony/proxy-manager-bridge"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.7.0"
}, {
"fixed" : "2.7.51"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "symfony/proxy-manager-bridge"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.8.0"
}, {
"fixed" : "2.8.50"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "symfony/proxy-manager-bridge"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.0.0"
}, {
"fixed" : "3.4.26"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "symfony/proxy-manager-bridge"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.0.0"
}, {
"fixed" : "4.1.12"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "symfony/proxy-manager-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.7.0"
}, {
"fixed" : "2.7.51"
} ]
} ]
}, {
"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"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2019-10910"
}, {
"type" : "WEB",
"url" : "https://github.com/symfony/symfony/commit/3876c75f858d5d82e2c309698d21af2f1d721afb"
}, {
"type" : "WEB",
"url" : "https://github.com/symfony/symfony/commit/4c80c3444854ef384df94deb4acbcef4b5e5243b"
}, {
"type" : "WEB",
"url" : "https://github.com/symfony/symfony/commit/d2fb5893923292a1da7985f0b56960b5bb10737b"
}, {
"type" : "WEB",
"url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/dependency-injection/CVE-2019-10910.yaml"
}, {
"type" : "WEB",
"url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/proxy-manager-bridge/CVE-2019-10910.yaml"
}, {
"type" : "WEB",
"url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2019-10910.yaml"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/symfony/symfony"
}, {
"type" : "WEB",
"url" : "https://symfony.com/blog/cve-2019-10910-check-service-ids-are-valid"
}, {
"type" : "WEB",
"url" : "https://symfony.com/cve-2019-10910"
}, {
"type" : "WEB",
"url" : "https://www.synology.com/security/advisory/Synology_SA_19_19"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-89" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2019-11-18T14:06:00Z",
"nvd_published_at" : "2019-05-16T22:29:00Z"
}
}