Advisory

GHSA-8462-q7x7-g2x4

Also known as: CVE-2018-13863

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2018-09-17 20:44 UTC
Modified
2023-11-08 03:59 UTC

Affected packages and fixes

bson

npm · All systems

Affected

  • introduced 0.5.0, fixed 1.0.5 (semver)

Fixed versions

1.0.5

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences