Improper Access Control Affecting github.com/edgexfoundry/device-sdk-go/v2/internal/messaging Open this link in a new tab package, versions <2.2.0


0.0
medium
  • Attack Complexity

    Low

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • snyk-id

    SNYK-GOLANG-GITHUBCOMEDGEXFOUNDRYDEVICESDKGOV2INTERNALMESSAGING-2870629

  • published

    15 Jun 2022

  • disclosed

    15 Jun 2022

  • credit

    bnevis-i

How to fix?

Upgrade github.com/edgexfoundry/device-sdk-go/v2/internal/messaging to version 2.2.0 or higher.

Overview

github.com/edgexfoundry/device-sdk-go/v2/internal/messaging is a set of Go packages that can be used to build Go-based device services for use within the EdgeX framework.

Affected versions of this package are vulnerable to Improper Access Control via the /api/v2/config endpoint, which allows the attacker to bypass the access controls on message bus credentials and expose the credentials when running in security-enabled mode. Exploiting this vulnerability allows attackers to intercept data or inject fake data into the EdgeX message bus.