GHSA-m2h2-264f-f486

Suggest an improvement
Source
https://github.com/advisories/GHSA-m2h2-264f-f486
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-m2h2-264f-f486/GHSA-m2h2-264f-f486.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-m2h2-264f-f486
Aliases
Downstream
Published
2022-05-03T00:00:44Z
Modified
2026-07-17T21:10:16Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L CVSS Calculator
Summary
angular vulnerable to regular expression denial of service (ReDoS)
Details

AngularJS lets users write client-side web applications. The package angular after 1.7.0 is vulnerable to Regular Expression Denial of Service (ReDoS) by providing a custom locale rule that makes it possible to assign the parameter in posPre: ' '.repeat() of NUMBER_FORMATS.PATTERNS[1].posPre with a very high value.

Note:

  1. This package has been deprecated and is no longer maintained.
  2. The vulnerable versions are 1.7.0 and higher.
Database specific
{
    "cwe_ids":  [
        "CWE-1333",
        "CWE-770"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2022-05-04T20:12:02Z",
    "nvd_published_at":  "2022-05-01T16:15:00Z",
    "severity":  "MODERATE"
}
References

Affected packages

npm / angular

Package

Affected ranges

Type
SEMVER
Events
Introduced
1.7.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-m2h2-264f-f486/GHSA-m2h2-264f-f486.json"