Improper Authorization Affecting org.eclipse.hono:hono-adapter-mqtt-vertx-base package, versions [1.4.0,1.4.5)[1.5.0,1.5.1)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Not Defined
EPSS
0.08% (38th percentile)

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 IDSNYK-JAVA-ORGECLIPSEHONO-1061945
  • published18 Jan 2021
  • disclosed18 Jan 2021
  • creditCarsten Lohmann

Introduced: 18 Jan 2021

CVE-2020-27220  (opens in a new tab)
CWE-285  (opens in a new tab)

How to fix?

Upgrade org.eclipse.hono:hono-adapter-mqtt-vertx-base to version 1.4.5, 1.5.1 or higher.

Overview

Affected versions of this package are vulnerable to Improper Authorization. The Eclipse Hono AMQP and MQTT protocol adapters do not check whether an authenticated gateway device is authorized to receive command & control messages when it has subscribed only to commands for a specific device. The missing check involves verifying that the command target device is configured giving permission for the gateway device to act on its behalf. This means an authenticated device of a certain tenant, notably also a non-gateway device acting like a gateway, may receive command & control messages targeted at a different device of the same tenant without corresponding permissions getting checked.

CVSS Scores

version 3.1