Regular Expression Denial of Service Vulnerability in MongoDB bson JavaScript Module
CVE-2018-13863
Key Information:
Timeline
Vulnerability Reserved
Vulnerability published
How risky is it?
- Yes: Works over the network, no login needed
- No: No public exploit yet
- No: Not on CISA's exploited list
- No: No ransomware use seen
Our verdict
Check today
Find out if you're affected. If you are, patch.
What to do
1Check the vendor's fix
No fixed version is recorded yet. The vendor advisory is the authoritative source for patches.
Read the vendor advisory β2Can't patch yet? Reduce exposure
It can be reached over the network, so limit who can reach Js-bson. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.
3Why it's rated "Check today"
- It can be exploited remotely without credentials.
- Its CVSS severity is high (7.5).
What is CVE-2018-13863?
The MongoDB bson JavaScript module, specifically within versions 0.5.0 to 1.0.x before 1.0.5, is susceptible to a Regular Expression Denial of Service (ReDoS) attack. This vulnerability is triggered when the Decimal128.fromString() function processes long untrusted strings, leading to potential denial of service conditions. The flaw stems from insufficient validation of the input, allowing attackers to craft specific input strings that can significantly degrade system performance and availability.
References
More Mongodb Vulnerabilities
Use-After-Free Vulnerability in MongoDB Server's Replication Component
TLS Implementation Flaw in MongoDB on macOS for IPv6 Connections
Memory Exhaustion Vulnerability in MongoDB
Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities Β· Report a correction