GHSA-f8r4-mf27-rf7m

Suggest an improvement
Source
https://github.com/advisories/GHSA-f8r4-mf27-rf7m
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/09/GHSA-f8r4-mf27-rf7m/GHSA-f8r4-mf27-rf7m.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-f8r4-mf27-rf7m
Aliases
Published
2025-09-30T18:30:24Z
Modified
2025-10-06T20:59:43Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
Finance.js vulnerable to DoS via the IRR function’s depth parameter
Details

Finance.js v4.1.0 contains a Denial of Service (DoS) vulnerability via the IRR function’s depth parameter. Improper handling of the recursion/iteration limit can lead to excessive CPU usage, causing application stalls or crashes.

Database specific
{
    "severity": "HIGH",
    "cwe_ids": [
        "CWE-400",
        "CWE-770",
        "CWE-834"
    ],
    "github_reviewed_at": "2025-09-30T21:59:58Z",
    "nvd_published_at": "2025-09-30T16:15:52Z",
    "github_reviewed": true
}
References

Affected packages

npm / financejs

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
4.1.0