Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/edgexfoundry/device-sdk-go/v2
  4. ›
  5. CVE-2022-31066

CVE-2022-31066: Exposure of Sensitive Information to an Unauthorized Actor

June 17, 2022

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.

References

  • github.com/advisories/GHSA-g63h-q855-vp3q
  • github.com/edgexfoundry/device-sdk-go/pull/1161
  • github.com/edgexfoundry/edgex-go/pull/4016
  • github.com/edgexfoundry/edgex-go/security/advisories/GHSA-g63h-q855-vp3q
  • nvd.nist.gov/vuln/detail/CVE-2022-31066

Code Behaviors & Features

Detect and mitigate CVE-2022-31066 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.1.1

Fixed versions

  • v2.1.1

Solution

Upgrade to version 2.1.1 or above.

Impact 4.4 MEDIUM

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

Learn more about CVSS

Weakness

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

Source file

go/github.com/edgexfoundry/device-sdk-go/v2/CVE-2022-31066.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:56 +0000.