# CVE-2021-32753: Weak password in API gateway in EdgeX Foundry Edinburgh, Fuji, Geneva, and Hanoi releases allows remote attackers to obtain authentication token via dictionary-based password attack when OAuth2 authentication method is enabled.

- Severity: High 8.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.80%, higher than 57% of CVEs (2026-12-01)
- Published: 2021-07-09T19:05:11.000Z
- Modified: 2026-06-17T03:53:33.753Z
- Weaknesses: CWE-284, CWE-287, CWE-521
- Assigned by: GitHub_M

## Description

EdgeX Foundry is an open source project for building a common open framework for internet-of-things edge computing. A vulnerability exists in the Edinburgh, Fuji, Geneva, and Hanoi versions of the software. When the EdgeX API gateway is configured for OAuth2 authentication and a proxy user is created, the client_id and client_secret required to obtain an OAuth2 authentication token are set to the username of the proxy user. A remote network attacker can then perform a dictionary-based password attack on the OAuth2 token endpoint of the API gateway to obtain an OAuth2 authentication token and use that token to make authenticated calls to EdgeX microservices from an untrusted network. OAuth2 is the default authentication method in EdgeX Edinburgh release. The default authentication method was changed to JWT in Fuji and later releases. Users should upgrade to the EdgeX Ireland release to obtain the fix. The OAuth2 authentication method is disabled in Ireland release. If unable to upgrade and OAuth2 authentication is required, users should create OAuth2 users directly using the Kong admin API and forgo the use of the `security-proxy-setup` tool to create OAuth2 users.

(As written by CVE List.)

## Affected

- edgexfoundry edgex-go: Edinburgh, Fuji, Geneva, Hanoi
- edgexfoundry edgex_foundry: from 1.0.0 before 2.0.0

## Every score

- GitHub_M: CVSS:3.1 8.3 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`
- NVD: CVSS:2.0 5.8 Medium `AV:N/AC:M/Au:N/C:P/I:P/A:N`

## References

- <https://github.com/edgexfoundry/edgex-go/security/advisories/GHSA-xph4-vmcc-52gh> (third-party-advisory)
- <https://docs.konghq.com/hub/kong-inc/oauth2/#create-a-consumer> (third-party-advisory)

## Sources

- CVE List: [CVE-2021-32753](https://www.cve.org/CVERecord?id=CVE-2021-32753), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-32753](https://nvd.nist.gov/vuln/detail/CVE-2021-32753), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-32753 · Whole record: https://cve.day/CVE-2021-32753.json · Rebuilt by cve.day 2026-11-25T22:58:02.500Z
