Security mailing lists by PureSourceCode

CVE-2018-13863

HIGH 7.5CVSS 3.0

js-bson vulnerable to REDoS

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.

Published
10 Jul 2018
Last modified
17 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-185CWE-400
Also known as
GHSA-8462-q7x7-g2x4
Sources
NVDJSONOSV GHSA-8462-q7x7-g2x4JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.0 HIGH 7.5 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
OSV GitHub CVSS 3.0 HIGH 7.5 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 5.0 AV:N/AC:L/Au:N/C:N/I:N/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD mongodb js-bson
cpe:2.3:a:mongodb:js-bson:*:*:*:*:*:*:*:*
>= 0.5.0, < 1.0.5 1.0.5
OSV npm bson >= 0.5.0, < 1.0.5 1.0.5

References

History

  • 25 Nov 2026 20:21 UTC · NVD: first stored (published 10 Jul 2018)
  • 25 Nov 2026 20:10 UTC · OSV: first stored (published 17 Sep 2018)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.