UBUNTU-CVE-2021-31320

Source
https://ubuntu.com/security/CVE-2021-31320
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-31320.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2021-31320
Upstream
  • CVE-2021-31320
Downstream
Related
Published
2021-05-18T20:15:00Z
Modified
2025-09-08T16:47:08Z
Severity
  • 7.1 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

Telegram Android <7.1.0 (2090), Telegram iOS <7.1, and Telegram macOS <7.1 are affected by a Heap Buffer Overflow in the VGradientCache::generateGradientColorTable function of their custom fork of the rlottie library. A remote attacker might be able to overwrite heap memory out-of-bounds on a victim device via a malicious animated sticker.

References

Affected packages

Ubuntu:Pro:20.04:LTS / rlottie

Package

Name
rlottie
Purl
pkg:deb/ubuntu/rlottie@0~git20200305.a717479+dfsg-1ubuntu0.1~esm1?arch=source&distro=esm-apps/focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0~git20200305.a717479+dfsg-1ubuntu0.1~esm1

Affected versions

0~git20190721.*

0~git20190721.24346d0+dfsg-2
0~git20190721.24346d0+dfsg-2build1

0~git20200305.*

0~git20200305.a717479+dfsg-1

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_name": "librlottie-dev",
            "binary_version": "0~git20200305.a717479+dfsg-1ubuntu0.1~esm1"
        },
        {
            "binary_name": "librlottie0-1",
            "binary_version": "0~git20200305.a717479+dfsg-1ubuntu0.1~esm1"
        }
    ]
}