CVE-2016-5016: Cloudfoundry identity server Improper Certificate Validation Vulnerability
MODERATECVE-2016-5016 is a MODERATE (CVSS 5.9) improper certificate validation vulnerability (CWE-295: Improper Certificate Validation) affecting Cloudfoundry identity server libraries in the Maven ecosystem. The issue involves cloud foundry vulnerable to improper certificate validation. Remediation is available by upgrading affected packages to version 3.3.0.3, 3.4.2.
CVE-2016-5016 at a Glance
Security Impact
CVSS: 5.9
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N).
How to Fix CVE-2016-5016
To remediate this vulnerability, upgrade all affected Cloudfoundry identity server dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>org.cloudfoundry.identity</groupId>
<artifactId>cloudfoundry-identity-server</artifactId>
<version>3.3.0.3</version>
</dependency>
<dependency>
<groupId>org.cloudfoundry.identity</groupId>
<artifactId>cloudfoundry-identity-server</artifactId>
<version>3.4.2</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=org.cloudfoundry.identity
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2016-5016, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.cloudfoundry.identity
Analyze the terminal output to locate any version of Cloudfoundry identity server in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.3.0.3), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.cloudfoundry.identity command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-295: Improper Certificate Validation, where the product does not validate, or incorrectly validates, a certificate. In Cloudfoundry identity server, 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-2016-5016 Affected Cloudfoundry identity server Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.cloudfoundry.identity:cloudfoundry-identity-server
|
Maven |
≥ 3.0.0
< 3.3.0.3
|
3.3.0.3
|
|
org.cloudfoundry.identity:cloudfoundry-identity-server
|
Maven |
≥ 3.4.0
< 3.4.2
|
3.4.2
|
References
Frequently Asked Questions
What is CVE-2016-5016?
Which Cloudfoundry identity server versions are affected?
What version fixes CVE-2016-5016?
Is cloudfoundry-identity-server affected?
What is the CVSS score of CVE-2016-5016?
What CWE is associated with CVE-2016-5016?
How can I check Maven dependencies for CVE-2016-5016?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-rc2r-w8jv-vggp",
"modified" : "2024-02-28T22:58:21Z",
"published" : "2022-05-14T01:30:57Z",
"aliases" : [ "CVE-2016-5016" ],
"summary" : "Cloud Foundry vulnerable to Improper Certificate Validation",
"details" : "Pivotal Cloud Foundry 239 and earlier, UAA (aka User Account and Authentication Server) 3.4.1 and earlier, UAA release 12.2 and earlier, PCF (aka Pivotal Cloud Foundry) Elastic Runtime 1.6.x before 1.6.35, and PCF Elastic Runtime 1.7.x before 1.7.13 does not validate if a certificate is expired.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.cloudfoundry.identity:cloudfoundry-identity-server"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.0.0"
}, {
"fixed" : "3.3.0.3"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.cloudfoundry.identity:cloudfoundry-identity-server"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.4.0"
}, {
"fixed" : "3.4.2"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2016-5016"
}, {
"type" : "WEB",
"url" : "https://github.com/cloudfoundry/uaa/commit/0a78612f981c541ad2d997e6a365f2a0b3e799d9"
}, {
"type" : "WEB",
"url" : "https://github.com/cloudfoundry/uaa/commit/bc91ccd2029e8f1cea0c647f0c9aad4585f7a2c"
}, {
"type" : "WEB",
"url" : "https://github.com/cloudfoundry/uaa/commit/f97049df1c6c03effda5049c41704ac831ff3925"
}, {
"type" : "WEB",
"url" : "https://github.com/cloudfoundry/cf-release/releases/tag/v240"
}, {
"type" : "WEB",
"url" : "https://github.com/cloudfoundry/uaa-release/releases/tag/v11.3"
}, {
"type" : "WEB",
"url" : "https://github.com/cloudfoundry/uaa-release/releases/tag/v12.3"
}, {
"type" : "WEB",
"url" : "https://github.com/cloudfoundry/uaa/releases/tag/2.7.4.6"
}, {
"type" : "WEB",
"url" : "https://github.com/cloudfoundry/uaa/releases/tag/3.3.0.3"
}, {
"type" : "WEB",
"url" : "https://github.com/cloudfoundry/uaa/releases/tag/3.4.2"
}, {
"type" : "WEB",
"url" : "https://pivotal.io/security/cve-2016-5016"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-295" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-02-28T22:58:21Z",
"nvd_published_at" : "2017-04-24T19:59:00Z"
}
}