GHSA-j4p3-2m2h-cv5f
Cloud Foundry UAA Denial of Service through client token revocation endpoint
Quick fix
GHSA-j4p3-2m2h-cv5f — org.cloudfoundry.identity:cloudfoundry-identity-server: upgrade to the fixed version with the command below.
# pom.xml: bump <version>4.7.1</version> for org.cloudfoundry.identity:cloudfoundry-identity-serverDetails
An issue was discovered in Cloud Foundry Foundation cf-release (all versions prior to v279) and UAA (30.x versions prior to 30.6, 45.x versions prior to 45.4, 52.x versions prior to 52.1). In some cases, the UAA allows an authenticated user for a particular client to revoke client tokens for other users on the same client. This occurs only if the client is using opaque tokens or JWT tokens validated using the check_token endpoint. A malicious actor could cause denial of service.
Are you affected?
Enter the version of the package you're using.
Affected packages
4.6.0Fixed in: 4.7.1# pom.xml: bump <version>4.7.1</version> for org.cloudfoundry.identity:cloudfoundry-identity-server4.0.0Fixed in: 4.5.3# pom.xml: bump <version>4.5.3</version> for org.cloudfoundry.identity:cloudfoundry-identity-server0Fixed in: 3.20.1# pom.xml: bump <version>3.20.1</version> for org.cloudfoundry.identity:cloudfoundry-identity-serverReferences
- https://nvd.nist.gov/vuln/detail/CVE-2017-8031[ADVISORY]
- https://github.com/cloudfoundry/uaa/commit/1e2a746968cdac5b53164ca8955646e4257ecc7[WEB]
- https://github.com/cloudfoundry/uaa/commit/20808046de8bbdc6fb2ac62829d4cc9d7a19f37[WEB]
- https://github.com/cloudfoundry/uaa/commit/66166d17781aa257ff77a2fb7c69f72d0b611be[WEB]
- https://github.com/cloudfoundry/uaa[PACKAGE]
- https://github.com/cloudfoundry/uaa/releases/tag/3.20.1[WEB]
- https://github.com/cloudfoundry/uaa/releases/tag/4.5.3[WEB]
- https://github.com/cloudfoundry/uaa/releases/tag/4.7.1[WEB]
- https://web.archive.org/web/20200227134207/http://www.securityfocus.com/bid/101967[WEB]
- https://www.cloudfoundry.org/cve-2017-8031[WEB]
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:maven/org.cloudfoundry.identity/cloudfoundry-identity-server"]}'