Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2022-31066

MEDIUM 5.9EPSS 24%

Configuration API in EdgeXFoundry exposes message bus credentials to local unauthenticated users

Also known as GHSA-g63h-q855-vp3q, GO-2022-0491

Mitigation

  • Upgrade github.com/edgexfoundry/device-sdk-go/v2 to 2.1.1 or later.
  • Upgrade github.com/edgexfoundry/app-functions-sdk-go/v2 to 2.1.1 or later.

Who should check

  • Projects that depend on Go package github.com/edgexfoundry/device-sdk-go/v2 (< 2.1.1)
  • Projects that depend on Go package github.com/edgexfoundry/app-functions-sdk-go/v2 (< 2.1.1)
  • Projects that depend on Go package github.com/edgexfoundry/app-functions-sdk-go
  • Projects that depend on Go package github.com/edgexfoundry/device-sdk-go
  • Anyone running edgexfoundry edgex-go < 2.1.1

Vulnerability facts

Affected
github.com/edgexfoundry/device-sdk-go/v2 < 2.1.1; github.com/edgexfoundry/app-functions-sdk-go/v2 < 2.1.1; github.com/edgexfoundry/app-functions-sdk-go; github.com/edgexfoundry/device-sdk-go
Fixed in
2.1.1
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
5.9 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:LOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: None
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: Low
  • Integrity impact: Low
  • Availability impact: Low
EPSS
0.38% chance of exploitation in 30 days (percentile 24, 2026-11-26)
CWE
CWE-200
Published
Modified

Description

EdgeX Foundry is an open source project for building a common open framework for Internet of Things edge computing. Prior to version 2.1.1, the /api/v2/config endpoint exposes message bus credentials to local unauthenticated users. In security-enabled mode, message bus credentials are supposed to be kept in the EdgeX secret store and require authentication to access. This vulnerability bypasses the access controls on message bus credentials when running in security-enabled mode. (No credentials are required when running in security-disabled mode.) As a result, attackers could intercept data or inject fake data into the EdgeX message bus. Users should upgrade to EdgeXFoundry Kamakura release (2.2.0) or to the June 2022 EdgeXFoundry LTS Jakarta release (2.1.1) to receive a patch. More information about which go modules, docker containers, and snaps contain patches is available in the GitHub Security Advisory. There are currently no known workarounds for this issue.

Affected and fixed versions

Package / productAffectedFixedSource
Go github.com/edgexfoundry/device-sdk-go/v2< 2.1.12.1.1osv
Go github.com/edgexfoundry/app-functions-sdk-go/v2< 2.1.12.1.1osv
Go github.com/edgexfoundry/app-functions-sdk-go——osv
Go github.com/edgexfoundry/device-sdk-go——osv
edgexfoundry edgex-go< 2.1.1—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2022-31066. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-31066.md
Affected: github.com/edgexfoundry/device-sdk-go/v2 < 2.1.1; github.com/edgexfoundry/app-functions-sdk-go/v2 < 2.1.1; github.com/edgexfoundry/app-functions-sdk-go; github.com/edgexfoundry/device-sdk-go
Fixed in: 2.1.1

Steps:
1. Search this machine and project for github.com/edgexfoundry/device-sdk-go/v2 (Go), github.com/edgexfoundry/app-functions-sdk-go/v2 (Go), github.com/edgexfoundry/app-functions-sdk-go (Go), github.com/edgexfoundry/device-sdk-go (Go), edgexfoundry edgex-go: 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.

References

FAQ

Is CVE-2022-31066 being exploited?

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

How serious is CVE-2022-31066?

Medium: CVSS 5.9 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2022-31066?

github.com/edgexfoundry/device-sdk-go/v2 < 2.1.1; github.com/edgexfoundry/app-functions-sdk-go/v2 < 2.1.1; github.com/edgexfoundry/app-functions-sdk-go; github.com/edgexfoundry/device-sdk-go.

Is there a fix for CVE-2022-31066?

Yes. Fixed in 2.1.1. Upgrade github.com/edgexfoundry/device-sdk-go/v2 to 2.1.1 or later. Upgrade github.com/edgexfoundry/app-functions-sdk-go/v2 to 2.1.1 or later.

How do I check if I'm affected by CVE-2022-31066?

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.

Sponsors