CVE-2014-2829: MongooseIM Denial of Service Vulnerability

HIGH
Advisory Identifier: GHSA-5v5w-44w6-q5hv
CWE-770
Published
Advisory Summary

CVE-2014-2829 is a HIGH denial of service vulnerability (CWE-770: Allocation of Resources Without Limits or Throttling) affecting MongooseIM libraries in the Hex ecosystem. The issue involves erlang solutions mongooseim vulnerable to denial of service (dos) via crafted xmpp stream. Remediation is available by upgrading affected packages to version 1.3.2.

CVE-2014-2829 at a Glance

CVE Identifier CVE-2014-2829
GHSA Identifier GHSA-5v5w-44w6-q5hv
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification CWE-770: Allocation of Resources Without Limits or Throttling
Affected Product MongooseIM
Package Ecosystem Hex
Published Date
Last Updated

How to Fix CVE-2014-2829

To remediate this vulnerability, upgrade all affected MongooseIM dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

MongooseIM fixed: 1.3.2
Upgrade MongooseIM to 1.3.2
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for MongooseIM

How to Check if You Are Affected

To determine whether your application is affected by CVE-2014-2829, inspect your project dependencies for MongooseIM:

inspect dependencies for MongooseIM

Analyze the terminal output to locate any version of MongooseIM in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.3.2), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-770: Allocation of Resources Without Limits or Throttling, where the product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated. In MongooseIM, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

Erlang Solutions MongooseIM through 1.3.1 rev. 2 does not properly restrict the processing of compressed XML elements, which allows remote attackers to cause a denial of service (resource consumption) via a crafted XMPP stream, aka an "xmppbomb" attack.

CVE-2014-2829 Affected MongooseIM Versions

1 component(s)
Fixed Versions:
1.3.2
Product / Package Ecosystem Affected Versions Fixed Version
MongooseIM
Hex
< 1.3.2
1.3.2

References

Frequently Asked Questions

What is CVE-2014-2829?
CVE-2014-2829 is a security vulnerability in MongooseIM involving Erlang Solutions MongooseIM vulnerable to denial of service (DoS) via crafted XMPP stream under CWE-770: Allocation of Resources Without Limits or Throttling.
Which MongooseIM versions are affected?
Affected versions include releases prior to 1.3.2 across affected packages: MongooseIM.
What version fixes CVE-2014-2829?
Upgrading to 1.3.2 (or the latest patched release for your respective branch) resolves the vulnerability.
Is MongooseIM affected?
Yes, MongooseIM is affected in releases prior to 1.3.2. Upgrade your dependency to 1.3.2 or later.
What CWE is associated with CVE-2014-2829?
CVE-2014-2829 is classified under CWE-770: Allocation of Resources Without Limits or Throttling (The product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated.).
How can I check Hex dependencies for CVE-2014-2829?
Run the dependency tree command: 'inspect dependencies for MongooseIM'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-5v5w-44w6-q5hv",
  "modified" : "2025-04-13T23:11:16Z",
  "published" : "2022-05-17T04:47:27Z",
  "aliases" : [ "CVE-2014-2829" ],
  "summary" : "Erlang Solutions MongooseIM vulnerable to denial of service (DoS) via crafted XMPP stream",
  "details" : "Erlang Solutions MongooseIM through 1.3.1 rev. 2 does not properly restrict the processing of compressed XML elements, which allows remote attackers to cause a denial of service (resource consumption) via a crafted XMPP stream, aka an \"xmppbomb\" attack.",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Hex",
      "name" : "MongooseIM"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.3.2"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 1.3.1"
    }
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2014-2829"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/esl/MongooseIM/commit/586d96cc12ef218243a3466354b4d208b5472a6c"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/esl/MongooseIM"
  }, {
    "type" : "WEB",
    "url" : "http://xmpp.org/resources/security-notices/uncontrolled-resource-consumption-with-highly-compressed-xmpp-stanzas"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-770" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2022-07-01T13:43:01Z",
    "nvd_published_at" : "2014-04-11T01:55:00Z"
  }
}