cve/2018/CVE-2018-13863.md
2024-06-09 00:33:16 +00:00

19 lines
817 B
Markdown

### [CVE-2018-13863](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-13863)
![](https://img.shields.io/static/v1?label=Product&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Vulnerability&message=n%2Fa&color=brighgreen)
### Description
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.
### POC
#### Reference
- https://snyk.io/vuln/npm:bson:20180225
- https://snyk.io/vuln/npm:bson:20180225
#### Github
- https://github.com/ossf-cve-benchmark/CVE-2018-13863