NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
🐹
🐹 Go
Not in CISA KEV
MEDIUM severity

CVE-2022-31066 — device-sdk-go

MEDIUMFix: edgexfoundry/device-sdk-go#1161

CVE-2022-31066 is a medium-severity (CVSS 5.9) Information Exposure vulnerability in github.com/edgexfoundry/device-sdk-go/v2. A fix is available for github.com/edgexfoundry/device-sdk-go/v2 — see the affected versions and patch details below.

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

Also known asGHSA-g63h-q855-vp3qGO-2022-0491
Published
Updated
Affected
2 pkgs
Patched
2 / 2
Exploits
None indexed
Exploitation data as of Oct 30, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

Exploitation Status

No confirmed exploitation observed yet

  • CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.

Exploitation and automatability from CISA’s SSVC triage for CVE-2022-31066.

EPSS Exploitation Probability

via FIRST.org ↗
0.3%probability of exploitation in next 30 days
Lower Risk+0.01%
Lower risk than most CVEs24th percentile — riskier than 24% of all scored CVEsHighest risk
0.00%0.27%0.54%0.82%0.2%0.3%Apr 26Aug 26Oct 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

Where this sits among everything scored

Real-World Exposure

2 pkgs affected
🐹github.com/edgexfoundry/device-sdk-go/v2🐹github.com/edgexfoundry/app-functions-sdk-go/v2

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Go packages — download data is not available via public APIs for these ecosystems.

Description

Impact

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.

Patches

Users should upgrade to EdgeXFoundry Kamakura release (2.2.0) or to the June 2022 EdgeXFoundry LTS Jakarta release (2.1.1).

The issue has been patched in the following docker containers and snaps:

Patched go modules

github.com/edgexfoundry/device-sdk-go/v2 >= v2.1.1 github.com/edgexfoundry/app-functions-sdk-go/v2 >= v2.1.1

Patched docker containers

URL: https://hub.docker.com/r/edgexfoundry

  • docker.io/edgexfoundry/core-metadata:>=2.1.1
  • docker.io/edgexfoundry/core-metadata-arm64:>=2.1.1
  • docker.io/edgexfoundry/core-data:>=2.1.1
  • docker.io/edgexfoundry/core-data-arm64:>=2.1.1
  • docker.io/edgexfoundry/core-command:>=2.1.1
  • docker.io/edgexfoundry/core-command-arm64:>=2.1.1
  • docker.io/edgexfoundry/support-notifications:>=2.1.1
  • docker.io/edgexfoundry/support-notifications-arm64:>=2.1.1
  • docker.io/edgexfoundry/support-scheduler:>=2.1.1
  • docker.io/edgexfoundry/support-scheduler-arm64:>=2.1.1
  • docker.io/edgexfoundry/sys-mgmt-agent:>=2.1.1
  • docker.io/edgexfoundry/sys-mgmt-agent-arm64:>=2.1.1
  • docker.io/edgexfoundry/security-proxy-setup:>=2.1.1
  • docker.io/edgexfoundry/security-proxy-setup-arm64:>=2.1.1
  • docker.io/edgexfoundry/security-secretstore-setup:>=2.1.1
  • docker.io/edgexfoundry/security-secretstore-setup-arm64:>=2.1.1
  • docker.io/edgexfoundry/security-bootstrapper:>=2.1.1
  • docker.io/edgexfoundry/security-bootstrapper-arm64:>=2.1.1
  • docker.io/edgexfoundry/app-rfid-llrp-inventory:>=2.1.1
  • docker.io/edgexfoundry/app-rfid-llrp-inventory-arm64:>=2.1.1
  • docker.io/edgexfoundry/app-service-configurable:>=2.1.1
  • docker.io/edgexfoundry/app-service-configurable-arm64:>=2.1.1
  • docker.io/edgexfoundry/device-camera:>=2.2.0
  • docker.io/edgexfoundry/device-camera-arm64:>=2.2.0
  • docker.io/edgexfoundry/device-gpio:>=2.1.1
  • docker.io/edgexfoundry/device-gpio-arm64:>=2.1.1
  • docker.io/edgexfoundry/device-modbus:>=2.1.1
  • docker.io/edgexfoundry/device-modbus-arm64:>=2.1.1
  • docker.io/edgexfoundry/device-mqtt:>=2.1.1
  • docker.io/edgexfoundry/device-mqtt-arm64:>=2.1.1
  • docker.io/edgexfoundry/device-rest:>=2.1.1
  • docker.io/edgexfoundry/device-rest-arm64:>=2.1.1
  • docker.io/edgexfoundry/device-rfid-llrp:>=2.1.1
  • docker.io/edgexfoundry/device-rfid-llrp-arm64:>=2.1.1
  • docker.io/edgexfoundry/device-snmp:>=2.1.1
  • docker.io/edgexfoundry/device-snmp-arm64:>=2.1.1
  • docker.io/edgexfoundry/device-virtual:>=2.1.1
  • docker.io/edgexfoundry/device-virtual-arm64:>=2.1.1

Patched snaps

URL: https://snapcraft.io/edgexfoundry edgexfoundry 2.1/stable (will be automatically upgraded to 2.1.1)

Workarounds

No workaround available.

References

For more information

If you have any questions or comments about this advisory:

Affected Packages

2 total 2 fixed
EcosystemPackageVulnerable rangeFix
🐹Gogithub.com/edgexfoundry/device-sdk-go/v2all versions2.1.1go get github.com/edgexfoundry/device-sdk-go/v2@v2.1.1
🐹Gogithub.com/edgexfoundry/app-functions-sdk-go/v2all versions2.1.1go get github.com/edgexfoundry/app-functions-sdk-go/v2@v2.1.1

Affected Products

1 product · 1 configurations
Application
edgex foundryedgexfoundry
< 2.1.1
range

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for github.com/edgexfoundry/device-sdk-go/v2, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update github.com/edgexfoundry/device-sdk-go/v2 to 2.1.1 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2022-31066 is resolved across your whole dependency graph.

  3. Workarounds

    Put an independent control in front of the weakness: restrict the affected endpoint or interface to trusted networks, require an additional authentication factor or proxy-level check, and invalidate existing sessions and credentials in case the flaw has already been used.

Frequently Asked Questions

### Impact 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. ### Patches Users should upgrade to EdgeXFoundry Kamakura release (2.2.0) or t
O3 Security · Impact-Aware SCA

Is CVE-2022-31066 in your dependencies?

Find it across Go, including transitive dependencies.

CVE-2022-31066: device-sdk-go — Fixed in 2.1.1