Access of Resource Using Incompatible Type ('Type Confusion') Affecting servicemesh-prometheus package, versions *


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.22% (61st 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 Learn

Learn about Access of Resource Using Incompatible Type ('Type Confusion') vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RHEL8-SERVICEMESHPROMETHEUS-4396519
  • published26 Mar 2023
  • disclosed27 Aug 2021

Introduced: 27 Aug 2021

CVE-2021-23434  (opens in a new tab)
CWE-843  (opens in a new tab)

How to fix?

There is no fixed version for RHEL:8 servicemesh-prometheus.

NVD Description

Note: Versions mentioned in the description apply only to the upstream servicemesh-prometheus package and not the servicemesh-prometheus package as distributed by RHEL. See How to fix? for RHEL:8 relevant fixed versions and status.

This affects the package object-path before 0.11.6. A type confusion vulnerability can lead to a bypass of CVE-2020-15256 when the path components used in the path parameter are arrays. In particular, the condition currentPath === 'proto' returns false if currentPath is ['proto']. This is because the === operator returns always false when the type of the operands is different.

CVSS Scores

version 3.1