# CVE-2017-8031: Cloud Foundry UAA Denial of Service through client token revocation endpoint

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.3
- **CVSS:** 5.3 (v3.1, NVD) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: High; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 1.09% (percentile 65, 2026-11-26)
- **Aliases:** GHSA-j4p3-2m2h-cv5f
- **Published:** 2017-11-27T10:00:00.000Z
- **Modified:** 2026-06-17T01:25:39.860Z

## Who should check

- Projects that depend on Maven package org.cloudfoundry.identity:cloudfoundry-identity-server (\>= 4.6.0, \< 4.7.1)
- Anyone running cf-release and UAA cf-release: All versions prior to v279, UAA: 30.x versions prior to 30.6, 45.x versions prior to 45.4, 52.x versions prior to 52.1 cf-release and UAA cf-release: All versions prior to v279, UAA: 30.x versions prior to 30.6, 45.x versions prior to 45.4, 52.x versions prior to 52.1

## Description

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.

## Affected and fixed versions

- Maven `org.cloudfoundry.identity:cloudfoundry-identity-server`: affected \>= 4.6.0, \< 4.7.1; fixed 4.7.1, 4.5.3, 3.20.1 (osv)
- cf-release and UAA cf-release: All versions prior to v279, UAA: 30.x versions prior to 30.6, 45.x versions prior to 45.4, 52.x versions prior to 52.1: cf-release and UAA cf-release: All versions prior to v279, UAA: 30.x versions prior to 30.6, 45.x versions prior to 45.4, 52.x versions prior to 52.1 (cvelist)

## Mitigation

- Upgrade org.cloudfoundry.identity:cloudfoundry-identity-server to one of 4.7.1, 4.5.3, 3.20.1 (or later in the same release line).

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2017-8031. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2017-8031.md
Affected: org.cloudfoundry.identity:cloudfoundry-identity-server >= 4.6.0, < 4.7.1
Fixed in: 4.7.1, 4.5.3, 3.20.1

Steps:
1. Search this machine and project for org.cloudfoundry.identity:cloudfoundry-identity-server (Maven), cf-release and UAA cf-release: All versions prior to v279, UAA: 30.x versions prior to 30.6, 45.x versions prior to 45.4, 52.x versions prior to 52.1: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2017-8031 being exploited?

There is no confirmed exploitation: CVE-2017-8031 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.09% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2017-8031?

Medium: CVSS 5.3 (v3.1, scored by NVD). Remote, login needed. The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2017-8031?

org.cloudfoundry.identity:cloudfoundry-identity-server \>= 4.6.0, \< 4.7.1.

### Is there a fix for CVE-2017-8031?

Yes. Fixed in 4.7.1, 4.5.3, 3.20.1. Upgrade org.cloudfoundry.identity:cloudfoundry-identity-server to one of 4.7.1, 4.5.3, 3.20.1 (or later in the same release line).

### How do I check if I'm affected by CVE-2017-8031?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2017-8031>
- patch: <https://github.com/cloudfoundry/uaa/commit/1e2a746968cdac5b53164ca8955646e4257ecc7>
- patch: <https://github.com/cloudfoundry/uaa/commit/20808046de8bbdc6fb2ac62829d4cc9d7a19f37>
- patch: <https://github.com/cloudfoundry/uaa/commit/66166d17781aa257ff77a2fb7c69f72d0b611be>
- other: <https://www.cloudfoundry.org/cve-2017-8031/>
- other: <http://www.securityfocus.com/bid/101967>
- other: <https://github.com/cloudfoundry/uaa>
- other: <https://github.com/cloudfoundry/uaa/releases/tag/3.20.1>
- other: <https://github.com/cloudfoundry/uaa/releases/tag/4.5.3>
- other: <https://github.com/cloudfoundry/uaa/releases/tag/4.7.1>
- other: <https://web.archive.org/web/20200227134207/http://www.securityfocus.com/bid/101967>
- other: <https://www.cloudfoundry.org/cve-2017-8031>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2017-8031>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-j4p3-2m2h-cv5f> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2017-8031> · JSON: <https://flawdb.com/api/v1/entries/CVE-2017-8031>
