Out-of-bounds Write 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 IDSNYK-UNMANAGED-DRKLOTELEGRAM-2365539
  • published26 Jan 2022
  • disclosed18 May 2021
  • creditUnknown

Introduced: 18 May 2021

CVE-2021-31315  (opens in a new tab)
CWE-787  (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 Out-of-bounds Write. Telegram Android <7.1.0 (2090), Telegram iOS <7.1, and Telegram macOS <7.1 are affected by a Stack Based Overflow in the blit function of their custom fork of the rlottie library. A remote attacker might be able to access Telegram's stack memory out-of-bounds on a victim device via a malicious animated sticker.

CVSS Base Scores

version 3.1