Type Confusion Affecting drklo/telegram package, versions [,7.1.0)


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.1% (45th 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 Type Confusion vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-DRKLOTELEGRAM-2365532
  • published26 Jan 2022
  • disclosed18 May 2021
  • creditUnknown

Introduced: 18 May 2021

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

How to fix?

Upgrade drklo/telegram to version 7.1.0 or higher.

Overview

Affected versions of this package are vulnerable to Type Confusion. Telegram Android <7.1.0 (2090), Telegram iOS <7.1, and Telegram macOS <7.1 are affected by a Type Confusion in the VDasher constructor of their custom fork of the rlottie library. A remote attacker might be able to access Telegram's heap memory out-of-bounds on a victim device via a malicious animated sticker.

CVSS Base Scores

version 3.1