GHSA-r4v8-9hgx-vm6m

Suggest an improvement
Source
https://github.com/advisories/GHSA-r4v8-9hgx-vm6m
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-r4v8-9hgx-vm6m/GHSA-r4v8-9hgx-vm6m.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-r4v8-9hgx-vm6m
Aliases
Published
2022-05-13T01:49:00Z
Modified
2024-03-01T23:56:40Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N CVSS Calculator
Summary
Cloud Foundry UAA accepts refresh token as access token on admin endpoints
Details

Cloud Foundry UAA, versions 4.19 prior to 4.19.2 and 4.12 prior to 4.12.4 and 4.10 prior to 4.10.2 and 4.7 prior to 4.7.6 and 4.5 prior to 4.5.7, incorrectly authorizes requests to admin endpoints by accepting a valid refresh token in lieu of an access token. Refresh tokens by design have a longer expiration time than access tokens, allowing the possessor of a refresh token to authenticate longer than expected. This affects the administrative endpoints of the UAA. i.e. /Users, /Groups, etc. However, if the user has been deleted or had groups removed, or the client was deleted, the refresh token will no longer be valid.

Database specific
{
    "cwe_ids":  [
        "CWE-863"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2024-03-01T23:43:02Z",
    "nvd_published_at":  "2018-07-24T19:29:00Z",
    "severity":  "HIGH"
}
References

Affected packages

Maven
org.cloudfoundry.identity:cloudfoundry-identity-server

Package

Name
org.cloudfoundry.identity:cloudfoundry-identity-server
View open source insights on deps.dev
Purl
pkg:maven/org.cloudfoundry.identity/cloudfoundry-identity-server

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
4.5.7

Affected versions

3.*
3.0.0
3.0.1
3.1.0
3.2.0
3.2.1
3.3.0
3.3.0.1
3.3.0.2
3.3.0.3
3.3.0.4
3.3.0.5
3.4.0
3.4.2
3.4.3
3.4.4
3.4.5
3.5.0
3.6.0
3.7.0
3.7.3
3.8.0
3.9.0
3.9.1
3.10.0
3.12.0
3.13.0
3.15.0
3.16.0
3.18.0
3.19.0
3.20.0
4.*
4.1.0
4.2.0
4.3.0
4.4.0
4.5.0
4.5.6

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-r4v8-9hgx-vm6m/GHSA-r4v8-9hgx-vm6m.json"
org.cloudfoundry.identity:cloudfoundry-identity-server

Package

Name
org.cloudfoundry.identity:cloudfoundry-identity-server
View open source insights on deps.dev
Purl
pkg:maven/org.cloudfoundry.identity/cloudfoundry-identity-server

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.6.0
Fixed
4.7.6

Affected versions

4.*
4.6.0
4.6.1
4.7.0
4.7.1
4.7.2
4.7.4
4.7.5

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-r4v8-9hgx-vm6m/GHSA-r4v8-9hgx-vm6m.json"
org.cloudfoundry.identity:cloudfoundry-identity-server

Package

Name
org.cloudfoundry.identity:cloudfoundry-identity-server
View open source insights on deps.dev
Purl
pkg:maven/org.cloudfoundry.identity/cloudfoundry-identity-server

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.8.0
Fixed
4.10.2

Affected versions

4.*
4.8.0
4.8.2
4.8.3
4.9.0
4.10.0
4.10.1

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-r4v8-9hgx-vm6m/GHSA-r4v8-9hgx-vm6m.json"
org.cloudfoundry.identity:cloudfoundry-identity-server

Package

Name
org.cloudfoundry.identity:cloudfoundry-identity-server
View open source insights on deps.dev
Purl
pkg:maven/org.cloudfoundry.identity/cloudfoundry-identity-server

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.11.0
Fixed
4.12.4

Affected versions

4.*
4.11.0
4.12.0
4.12.1
4.12.2
4.12.3

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-r4v8-9hgx-vm6m/GHSA-r4v8-9hgx-vm6m.json"
org.cloudfoundry.identity:cloudfoundry-identity-server

Package

Name
org.cloudfoundry.identity:cloudfoundry-identity-server
View open source insights on deps.dev
Purl
pkg:maven/org.cloudfoundry.identity/cloudfoundry-identity-server

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.13.0
Fixed
4.19.2

Affected versions

4.*
4.13.0
4.13.1
4.13.3
4.13.4
4.14.0
4.15.0
4.16.0
4.17.0
4.18.0
4.19.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-r4v8-9hgx-vm6m/GHSA-r4v8-9hgx-vm6m.json"