CVE-2022-24373 Reanimated 3.0.0-rc.1 package is vulnerable to Regular Expression Denial of Service due to Colors.js improper usage of regular expression.

A specially crafted image could potentially trigger an infinite loop in the parsing process of Colors.js, which eventually leads to a denial of service.

Affected packages:

– react-native-reanimated before 3.0.0-rc.1

– react-native before version 0.44.1

– react-native-elements before version 0.10.5

– react-native-vector-icons before version 1.0.0

– react-native-vector-icons-svg before version 1.0.0

– react-native-vector-icons-png before version 1.0.0

– react-native-vector-icons-svg-png before version 1.0.0

– react-native-vector-icons-eot before version 1.0.0

– react-native-vector-icons-ttf before version 1.0.0

– react-native-vector-icons-woff before version 1.0.0

– react-native-vector-icons-woff-svg before version 1.0.0

– react-native-vector- icons-woff- eot before version 1.0.0

– react-native-vector-icons-ttf before version 1.0.0

– react-native-vector-icons-sv

Background information

The react-native library was already updated and patched before the new discovery.

CVE identifier: CVE-2022-24373
CVSSv3 base score: 4.3 (AV:N/AC:M/Au:N/C:P/I:N/A:N)

Timeline

Published on: 09/30/2022 05:15:00 UTC
Last modified on: 10/04/2022 18:26:00 UTC

References