Skip to content
Fencer Vulns
medium 5.9

CVE-2022-31066 json

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

published 2022-06-14 4 y ago modified 2026-06-17 4 mo ago also GHSA-g63h-q855-vp3q , GO-2022-0491 , EUVD-2022-6047

cvss
5.9
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.3%
EPSS 0.3% chance of exploitation in 30 days, percentile 25%
public exploits
0
none known

Summary

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.

Patch / fix

  • go github.com/edgexfoundry/device-sdk-go/v2 2.1.1
  • go github.com/edgexfoundry/app-functions-sdk-go/v2 2.1.1
  • edgexfoundry edgex_foundry 2.1.1

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
18 mo ago

Exploit prediction

0.32% chance of exploitation in the next 30 days, higher than 25% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 5.9 CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
NVD 3.1 4.4 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
NVD 2.0 3.6 AV:L/AC:L/Au:N/C:P/I:P/A:N
GitHub 3.1 5.9 CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

Affected packages

ecosystem package affected fixed in
go github.com/edgexfoundry/device-sdk-go/v2
<2.1.1
2.1.1
go github.com/edgexfoundry/app-functions-sdk-go/v2
<2.1.1
2.1.1
go github.com/edgexfoundry/app-functions-sdk-go
all versions
no fix listed
go github.com/edgexfoundry/device-sdk-go
all versions
no fix listed

Affected products

  • edgexfoundry edgex-go

Classification

Weakness
  • CWE-200 Exposure of Sensitive Information to an Unauthorized Actor

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.