Edgex FoundryWeb browser · Edgexfoundry

CVE-2021-32753

MEDIUM · 6.5 CVSS v3.1 Published 2021-07-09
Fix available
A fix is available. Upgrade to 2.0.0 or later.
See remediation →
74/100
Remediation priority · Elevated
Remotely reachable No privileges Zero-click

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
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.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

In EdgeX Foundry Edinburgh through Hanoi releases, when OAuth2 authentication is configured via the security-proxy-setup tool, the client_id and client_secret are set to the proxy username instead of being randomly generated. This allows a remote attacker to perform dictionary attacks against the OAuth2 token endpoint to obtain valid authentication tokens and access EdgeX microservices from untrusted networks.

MitigationUpgrade to EdgeX Ireland release where OAuth2 is disabled by default, or if OAuth2 is required, create OAuth2 users directly using the Kong admin API rather than the security-proxy-setup tool.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.

NVD · CPE data
Edgex FoundryWeb browser
Affected:>= 1.0.0, < 2.0.0

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Identify EdgeX Foundry version
    Locate and check the installed EdgeX Foundry version using the system's package manager, container labels, or deployment manifests
    Affected if version is 1.x (between 1.0.0 and 2.0.0, Edinburgh through Hanoi releases)
  2. Confirm OAuth2 is in use
    Check whether OAuth2 authentication is enabled for the EdgeX API Gateway by reviewing the security-proxy-setup configuration or Kong proxy settings
    Affected if OAuth2 authentication is configured for the EdgeX API Gateway
  3. Verify OAuth2 was configured via security-proxy-setup
    Review the deployment or configuration history to determine if the security-proxy-setup tool was used to create OAuth2 clients
    Affected if security-proxy-setup tool was used to configure OAuth2 authentication
  4. Inspect OAuth2 client credentials
    Query the OAuth2 client configuration in Kong (via Kong admin API) to examine the client_id and compare it to the proxy username used during setup
    Affected if client_id matches the proxy username instead of being a randomly generated value

User is affected if running EdgeX Foundry 1.x with OAuth2 configured via the security-proxy-setup tool, where the OAuth2 client_id equals the proxy username rather than a random value.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

From vendor data
Upgrade available Upgrade to 2.0.0 or later
Fixed in 2.0.0
Interim mitigation

Upgrade to EdgeX Ireland release where OAuth2 is disabled by default, or if OAuth2 is required, create OAuth2 users directly using the Kong admin API rather than the security-proxy-setup tool.

Fix this in Edgex Foundry Scoped from the published advisory
  • Consultation3.0 h
  • Implementation6.0 h
  • Testing3.0 h
  • Review / QA2.0 h
14.0 hours of engineering $2,490
Get the upgrade done

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $3,984.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2021-32753 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2021-32753 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data