~ / search / GHSA-8462-q7x7-g2x4

GHSA-8462-q7x7-g2x4

js-bson vulnerable to REDoS

Source: GitHub Advisory Database (reviewed) High CVE-2018-13863

Packages

EcosystemPackageAffectedFixed in
npm bson >= 0.5.0, < 1.0.5 1.0.5

Details

As written in the advisory (Markdown source, shown as plain text).

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.

References

External links from the advisory. They lead to third-party sites.