CVE-2017-4974 is a medium-severity (CVSS 6.5) SQL Injection vulnerability in org.cloudfoundry.identity:cloudfoundry-identity-server. A fix is available for org.cloudfoundry.identity:cloudfoundry-identity-server — see the affected versions and patch details below.
Blind SQL Injection with privileged Cloud Foundry UAA endpoints
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
org.cloudfoundry.identity:cloudfoundry-identity-server☕org.cloudfoundry.identity:cloudfoundry-identity-server☕org.cloudfoundry.identity:cloudfoundry-identity-server☕org.cloudfoundry.identity:cloudfoundry-identity-serverReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.
Description
An issue was discovered in Cloud Foundry Foundation cf-release versions prior to v258; UAA release 2.x versions prior to v2.7.4.15, 3.6.x versions prior to v3.6.9, 3.9.x versions prior to v3.9.11, and other versions prior to v3.16.0; and UAA bosh release (uaa-release) 13.x versions prior to v13.13, 24.x versions prior to v24.8, and other versions prior to v30.1. An authorized user can use a blind SQL injection attack to query the contents of the UAA database, aka "Blind SQL Injection with privileged UAA endpoints."
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | org.cloudfoundry.identity:cloudfoundry-identity-server | ≥ 2.0.0&&< 2.7.4.15 | 2.7.4.15org.cloudfoundry.identity:cloudfoundry-identity-server:2.7.4.15 |
| ☕Maven | org.cloudfoundry.identity:cloudfoundry-identity-server | ≥ 3.0.0&&< 3.6.9 | 3.6.9org.cloudfoundry.identity:cloudfoundry-identity-server:3.6.9 |
| ☕Maven | org.cloudfoundry.identity:cloudfoundry-identity-server | ≥ 3.7.0&&< 3.9.11 | 3.9.11org.cloudfoundry.identity:cloudfoundry-identity-server:3.9.11 |
| ☕Maven | org.cloudfoundry.identity:cloudfoundry-identity-server | ≥ 3.10.0&&< 3.16.0 | 3.16.0org.cloudfoundry.identity:cloudfoundry-identity-server:3.16.0 |
Affected Products
cf-releasecloudfoundrycloud foundry uaa boshcloudfoundrycloud foundry uaapivotal_softwareDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.cloudfoundry.identity:cloudfoundry-identity-server, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update org.cloudfoundry.identity:cloudfoundry-identity-server to 2.7.4.15 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2017-4974 is resolved across your whole dependency graph.
Workarounds
Until you can upgrade, make sure every query built from user input uses parameterised statements or a prepared-statement API rather than string concatenation, and reduce the database account's privileges so an injected query cannot read or alter data beyond what the feature needs.
Frequently Asked Questions
Is CVE-2017-4974 in your dependencies?
Find it across Maven, including transitive dependencies.