CVE-2023-26116 angular vulnerable to regular expression denial of service via the angular.copy() utility

Medium 5.3 Published Updated

Attackers can cause denial of service in applications using Angular by submitting crafted input to the angular.copy() function, triggering catastrophic backtracking.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2023-26116?

CVE-2023-26116 is a medium-severity denial of service vulnerability in Fedoraproject Fedora, published on 30 Mar 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Versions of the package angular from 1.2.21 are vulnerable to Regular Expression Denial of Service (ReDoS) via the angular.copy() utility function due to the usage of an insecure regular expression. Exploiting this vulnerability is possible by a large carefully-crafted input, which can result in catastrophic backtracking.

Weakness: CWE-1333

Which versions are affected by CVE-2023-26116?

2 open source packages ship an affected version, including angular. It affects 2 products.

PackageAffectedFixed in
angular npmAll versions to 1.8.3None
angular npmAll versions to 1.8.3None

Products include Angularjs Angularjs, Fedoraproject Fedora.

How do I fix CVE-2023-26116?

Upgrade to a fixed version.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2023-26116 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-26116 exists.

All Fedoraproject Fedora vulnerabilities

Sources

Also known as DEBIAN-CVE-2023-26116, GHSA-2vrf-hf26-jrp5, MINI-f67j-cq2w-c7m3, ROOT-APP-NPM-CVE-2023-26116, UBUNTU-CVE-2023-26116.

Is CVE-2023-26116 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free