{"id":"CVE-2023-25166","aliases":["GHSA-c2jc-4fpr-4vhg"],"summary":"Regular Expression Denial of Service (ReDoS) Vulnerability","published_at":"2023-02-08T00:00:00Z","modified_at":"2025-03-10T21:14:39.268Z","products":[{"slug":"rhel","name":"Red Hat Enterprise Linux","category":"red-hat"}],"rating":{"severity":"medium","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","attack_path":"internet_authenticated","user_interaction":false,"malicious":false,"red_hat":"Moderate","vendor_ratings":[{"source":"Red Hat","rating":"Moderate"}]},"fix_available":false,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.0063599999994039536,"percentile":0.5128899812698364,"date":"2026-11-19T00:00:00Z"},"priority":7.5,"details":"formula is a math and string formula parser. In versions prior to 3.0.1 crafted user-provided strings to formula's parser might lead to polynomial execution time and a denial of service. Users should upgrade to 3.0.1+. There are no known workarounds for this vulnerability.","affected_stack":[{"ecosystem":"Red Hat:ocp_tools","package":"odo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2023-25166","relation":"self"}],"affected_other":[{"ecosystem":"CVE","package":"hapijs/formula","versions":["< 3.0.1"],"provider":"cvelistv5","source":"CVE-2023-25166","relation":"self"},{"ecosystem":"NVD","package":"hapi:formula","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.1"}]}],"fixed":["3.0.1"],"provider":"nvd","source":"CVE-2023-25166","relation":"self"},{"ecosystem":"npm","package":"@sideway/formula","purl":"pkg:npm/%40sideway/formula","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"3.0.1"}]}],"fixed":["3.0.1"],"provider":"osv","source":"GHSA-c2jc-4fpr-4vhg","relation":"self"}],"product_status":[{"vendor":"Red Hat","product":"Migration Toolkit for Virtualization","cpe":"cpe:/a:redhat:migration_toolkit_virtualization:2","status":"affected","packages":["migration-toolkit-virtualization/mtv-ui-rhel8"],"package_count":1,"fixed":[],"advisories":[],"note":"Affected","provider":"redhat-vex","source":"CVE-2023-25166"},{"vendor":"Red Hat","product":"OpenShift Developer Tools and Services","cpe":"cpe:/a:redhat:ocp_tools","status":"affected","packages":["odo"],"package_count":1,"fixed":[],"advisories":[],"note":"Will not fix","provider":"redhat-vex","source":"CVE-2023-25166"},{"vendor":"Red Hat","product":"Red Hat Data Grid 8","cpe":"cpe:/a:redhat:jboss_data_grid:8","status":"not_affected","packages":["@sideway-formula"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2023-25166"}],"records":[{"provider":"cvelistv5","source_id":"CVE-2023-25166","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2023-25166","license":"CC-BY-4.0","published_at":"2023-02-08T19:28:29.314Z","modified_at":"2025-03-10T21:14:39.268Z","summary":"Regular Expression Denial of Service (ReDoS) Vulnerability","details":"formula is a math and string formula parser. In versions prior to 3.0.1 crafted user-provided strings to formula's parser might lead to polynomial execution time and a denial of service. Users should upgrade to 3.0.1+. There are no known workarounds for this vulnerability.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","source":"CVE-2023-25166"}],"affected":[{"ecosystem":"CVE","package":"hapijs/formula","versions":["< 3.0.1"],"provider":"cvelistv5","source":"CVE-2023-25166","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/hapijs/formula/security/advisories/GHSA-c2jc-4fpr-4vhg"},{"type":"WEB","url":"https://github.com/hapijs/formula/commit/9fbc20a02d75ae809c37a610a57802cd1b41b3fe"}]},{"provider":"nvd","source_id":"CVE-2023-25166","relation":"self","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-25166","severity":[],"affected":[{"ecosystem":"NVD","package":"hapi:formula","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.1"}]}],"fixed":["3.0.1"],"provider":"nvd","source":"CVE-2023-25166","relation":"self"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"GHSA-c2jc-4fpr-4vhg","relation":"self","url":"https://osv.dev/vulnerability/GHSA-c2jc-4fpr-4vhg","license":"CC-BY-4.0","published_at":"2023-02-08T22:38:10Z","modified_at":"2023-11-08T04:11:50.947189Z","summary":"@sideway/formula contains Regular Expression Denial of Service (ReDoS) Vulnerability","details":"### Impact\n\nUser-provided strings to formula's parser might lead to polynomial execution time.\n\n### Patches\n\nUsers should upgrade to 3.0.1+.\n\n### Workarounds\n\nNone.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","source":"GHSA-c2jc-4fpr-4vhg"}],"affected":[{"ecosystem":"npm","package":"@sideway/formula","purl":"pkg:npm/%40sideway/formula","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"3.0.1"}]}],"fixed":["3.0.1"],"provider":"osv","source":"GHSA-c2jc-4fpr-4vhg","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/hapijs/formula/security/advisories/GHSA-c2jc-4fpr-4vhg"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-25166"},{"type":"WEB","url":"https://github.com/hapijs/formula/commit/9fbc20a02d75ae809c37a610a57802cd1b41b3fe"},{"type":"PACKAGE","url":"https://github.com/hapijs/formula"}]},{"provider":"redhat-vex","source_id":"CVE-2023-25166","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2023-25166","license":"CC-BY-4.0","published_at":"2023-02-08T00:00:00Z","modified_at":"2024-03-15T22:58:19Z","summary":"@sideway/formula: Regular Expression Denial of Service (ReDoS) Vulnerability","details":"A flaw was found in the sideway/formula npm package. The formula is a math and string formula parser. In the affected versions of this package, crafted user-provided strings to the formula's parser might lead to polynomial execution time and a denial of service.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","source":"CVE-2023-25166"},{"type":"Red Hat","score":"Moderate","source":"CVE-2023-25166"}],"affected":[{"ecosystem":"Red Hat:ocp_tools","package":"odo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2023-25166","relation":"self"}],"product_status":[{"vendor":"Red Hat","product":"Migration Toolkit for Virtualization","cpe":"cpe:/a:redhat:migration_toolkit_virtualization:2","status":"affected","packages":["migration-toolkit-virtualization/mtv-ui-rhel8"],"package_count":1,"fixed":[],"advisories":[],"note":"Affected","provider":"redhat-vex","source":"CVE-2023-25166"},{"vendor":"Red Hat","product":"OpenShift Developer Tools and Services","cpe":"cpe:/a:redhat:ocp_tools","status":"affected","packages":["odo"],"package_count":1,"fixed":[],"advisories":[],"note":"Will not fix","provider":"redhat-vex","source":"CVE-2023-25166"},{"vendor":"Red Hat","product":"Red Hat Data Grid 8","cpe":"cpe:/a:redhat:jboss_data_grid:8","status":"not_affected","packages":["@sideway-formula"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2023-25166"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2023/cve-2023-25166.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2023-25166"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2168451"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2023-25166"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-25166"},{"type":"WEB","url":"https://github.com/hapijs/formula/commit/9fbc20a02d75ae809c37a610a57802cd1b41b3fe"},{"type":"WEB","url":"https://github.com/hapijs/formula/security/advisories/GHSA-c2jc-4fpr-4vhg"}]}],"references":[{"type":"WEB","url":"https://github.com/hapijs/formula/security/advisories/GHSA-c2jc-4fpr-4vhg"},{"type":"WEB","url":"https://github.com/hapijs/formula/commit/9fbc20a02d75ae809c37a610a57802cd1b41b3fe"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-25166"},{"type":"PACKAGE","url":"https://github.com/hapijs/formula"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2023/cve-2023-25166.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2023-25166"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2168451"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2023-25166"}],"sources":[{"provider":"cvelistv5","source_id":"CVE-2023-25166","url":"https://www.cve.org/CVERecord?id=CVE-2023-25166","license":"CC-BY-4.0","modified_at":"2025-03-10T21:14:39.268Z","relation":"self"},{"provider":"nvd","source_id":"CVE-2023-25166","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-25166","relation":"self"},{"provider":"osv","source_id":"GHSA-c2jc-4fpr-4vhg","url":"https://osv.dev/vulnerability/GHSA-c2jc-4fpr-4vhg","license":"CC-BY-4.0","modified_at":"2023-11-08T04:11:50.947189Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2023-25166","url":"https://access.redhat.com/security/cve/CVE-2023-25166","license":"CC-BY-4.0","modified_at":"2024-03-15T22:58:19Z","relation":"self"}]}
