Advisories

taro-css-to-react-native through 4.3.3 ReDoS via transformRawValue and regExpToken

Go back
Severity
medium
Date
Affecting
  • taro-css-to-react-native <= 4.3.3

CWE
  • CWE-1333 Inefficient Regular Expression Complexity
CVSS
6.9
CVSS V4 Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Credit
Zachariah Mithani (AploSec)
Description
NervJS taro-css-to-react-native through 4.3.3 contains a regular expression denial of service vulnerability in transformRawValue and regExpToken due to unanchored px and viewport unit patterns. Attackers can supply CSS declarations like opacity or flex values with tens of thousands of digits to cause quadratic matching and block the Node.js event loop.

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.