CVE-2014-2829: Erlang Solutions MongooseIM vulnerable to denial of service (DoS) via crafted XMPP stream
N/A
CVSS Score
Basic Information
CVE ID
GHSA ID
EPSS Score
0.64907%
CWE
-
Published
5/17/2022
Updated
1/27/2023
KEV Status
No
Technology
Erlang
Technical Details
CVSS Vector
-
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
MongooseIM | erlang | <= 1.3.1 | 1.3.2 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from improper handling of compressed XML streams in the zlib driver. The key evidence is in the commit diff showing the addition of a size_limit check during inflation. The original code in ejabberd_zlib_drv.c's control function processed compressed data in a loop without size restrictions, making it vulnerable to 'billion laughs'-style compression attacks. The patch added critical size validation (die_unless(rlen < size_limit)) to prevent unbounded memory allocation during decompression.