GHSA-8462-q7x7-g2x4

Suggest an improvement
Source
https://github.com/advisories/GHSA-8462-q7x7-g2x4
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2018/09/GHSA-8462-q7x7-g2x4/GHSA-8462-q7x7-g2x4.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-8462-q7x7-g2x4
Aliases
Published
2018-09-17T20:44:58Z
Modified
2023-11-01T04:48:57.838865Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
js-bson vulnerable to REDoS
Details

The MongoDB bson JavaScript module (also known as js-bson) versions 0.5.0 to 1.0.x before 1.0.5 is vulnerable to a Regular Expression Denial of Service (ReDoS) in lib/bson/decimal128.js. The flaw is triggered when the Decimal128.fromString() function is called to parse a long untrusted string.

Database specific
{
    "nvd_published_at": null,
    "cwe_ids": [
        "CWE-185",
        "CWE-400"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2020-06-16T21:24:09Z"
}
References

Affected packages

npm / bson

Package

Affected ranges

Type
SEMVER
Events
Introduced
0.5.0
Fixed
1.0.5