Advisories

rlottie DoS via Polystar Path Builder length_error

Go Back
severity
high
date
Affecting
  • rlottie <= 0.2, fixed in commit 2cab35d

CWE
  • CWE-195 Signed to Unsigned Conversion Error
CVSS
7.1
CVSS V4 Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Credit
Alex Williams of Pellera Technologies
Description
rlottie through 0.2, fixed in commit 2cab35d, contains a denial of service vulnerability that allows remote attackers to abort the calling process by supplying a crafted Lottie animation with a negative or non-finite Polystar point count value. The parser reads the point count into a float without validation, and during rendering the value is converted to size_t via ceilf or floorf causing an integer wraparound near 2^64 that triggers an uncaught std::length_error from std::vector::reserve, which propagates to std::terminate and crashes the process on the first rendered frame.

Ready to get Started?

Explore VulnCheck, a next-generation Cyber Threat Intelligence platform, which provides exploit and vulnerability intelligence to help you prioritize and remediate vulnerabilities that matter.
  • Vulnerability Prioritization
    Prioritize vulnerabilities that matter based on the threat landscape and defer vulnerabilities that don't.
  • Early Warning System
    Real-time alerting of changes in the vulnerability landscape so that you can take action before the attacks start.