Skip to content
Heist/ feed
Back to feed
High

rabbitmq-java-client — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2023-46120

The RabbitMQ Java client library allows Java and JVM-based applications to connect to and interact with RabbitMQ nodes. `maxBodyLebgth` was not used when receiving Message objects. Attackers could send a very large Message causing a memory overflow and triggering an OOM Error. Users of RabbitMQ may suffer from DoS attacks from RabbitMQ Java client which will ultimately exhaust the memory of the consumer. This vulnerability was patched in version 5.18.0.

Products
rabbitmq-java-client
Affected versions
5.0.0-1, 5.0.0-1.1, 5.0.0-2
Fixed versions
Not specified
CVEs
CVE-2023-46120
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 01:05 UTC · Revision 1

Source evidence

UBUNTU-CVE-2023-46120

core-osv · Original source

Published 25 Oct 2023, 18:17 UTC

The RabbitMQ Java client library allows Java and JVM-based applications to connect to and interact with RabbitMQ nodes. `maxBodyLebgth` was not used when receiving Message objects. Attackers could send a very large Message causing a memory overflow and triggering an OOM Error. Users of RabbitMQ may suffer from DoS attacks from RabbitMQ Java client which will ultimately exhaust the memory of the consumer. This vulnerability was patched in version 5.18.0.

osv:UBUNTU-CVE-2023-46120

rabbitmq-java-client

Fixed versions: Not specified

rabbitmq-java-client

Fixed versions: Not specified

rabbitmq-java-client

Fixed versions: Not specified

rabbitmq-java-client

Fixed versions: Not specified

rabbitmq-java-client

Fixed versions: Not specified

rabbitmq-java-client

Fixed versions: Not specified

rabbitmq-java-client

Fixed versions: Not specified

Complete source record
{
  "id": "e9aaeb322d782d5d79cea0eaebb2f564c5aabfe51b3b36cdf2685483900abae4",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2023-46120",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2023-46120",
    "summary": "The RabbitMQ Java client library allows Java and JVM-based applications to connect to and interact with RabbitMQ nodes. `maxBodyLebgth` was not used when receiving Message objects. Attackers could send a very large Message causing a memory overflow and triggering an OOM Error. Users of RabbitMQ may suffer from DoS attacks from RabbitMQ Java client which will ultimately exhaust the memory of the consumer. This vulnerability was patched in version 5.18.0.",
    "evidence": "osv:UBUNTU-CVE-2023-46120",
    "products": [
      {
        "name": {
          "value": "rabbitmq-java-client",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "5.0.0-1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "rabbitmq-java-client",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "5.0.0-1",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "rabbitmq-java-client",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "5.0.0-1.1",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "rabbitmq-java-client",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "5.0.0-1.1",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "rabbitmq-java-client",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "5.0.0-1.1",
            "evidence": "/affected/4/versions"
          }
        ]
      },
      {
        "name": {
          "value": "rabbitmq-java-client",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "5.0.0-2",
            "evidence": "/affected/5/versions"
          }
        ]
      },
      {
        "name": {
          "value": "rabbitmq-java-client",
          "evidence": "/affected/6/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "5.0.0-1.1",
            "evidence": "/affected/6/versions"
          },
          {
            "value": "5.0.0-2",
            "evidence": "/affected/6/versions"
          }
        ]
      }
    ],
    "severity": "high",
    "structured": {
      "id": "UBUNTU-CVE-2023-46120",
      "aliases": [
        "UBUNTU-CVE-2023-46120"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H"
        },
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "rabbitmq-java-client",
            "purl": "pkg:deb/ubuntu/rabbitmq-java-client?arch=source&distro=bionic",
            "ecosystem": "Ubuntu:18.04:LTS"
          },
          "versions": [
            "5.0.0-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-46120.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "librabbitmq-client-java",
                "binary_version": "5.0.0-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "rabbitmq-java-client",
            "purl": "pkg:deb/ubuntu/rabbitmq-java-client?arch=source&distro=focal",
            "ecosystem": "Ubuntu:20.04:LTS"
          },
          "versions": [
            "5.0.0-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-46120.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "librabbitmq-client-java",
                "binary_version": "5.0.0-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "rabbitmq-java-client",
            "purl": "pkg:deb/ubuntu/rabbitmq-java-client?arch=source&distro=jammy",
            "ecosystem": "Ubuntu:22.04:LTS"
          },
          "versions": [
            "5.0.0-1.1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-46120.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "librabbitmq-client-java",
                "binary_version": "5.0.0-1.1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "rabbitmq-java-client",
            "purl": "pkg:deb/ubuntu/rabbitmq-java-client?arch=source&distro=noble",
            "ecosystem": "Ubuntu:24.04:LTS"
          },
          "versions": [
            "5.0.0-1.1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-46120.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "librabbitmq-client-java",
                "binary_version": "5.0.0-1.1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "rabbitmq-java-client",
            "purl": "pkg:deb/ubuntu/rabbitmq-java-client?arch=source&distro=questing",
            "ecosystem": "Ubuntu:25.10"
          },
          "versions": [
            "5.0.0-1.1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-46120.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "librabbitmq-client-java",
                "binary_version": "5.0.0-1.1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "rabbitmq-java-client",
            "purl": "pkg:deb/ubuntu/rabbitmq-java-client?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "5.0.0-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-46120.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "librabbitmq-client-java",
                "binary_version": "5.0.0-2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "rabbitmq-java-client",
            "purl": "pkg:deb/ubuntu/rabbitmq-java-client?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "5.0.0-1.1",
            "5.0.0-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-46120.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "librabbitmq-client-java",
                "binary_version": "5.0.0-2"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:56:25.871298421Z",
      "provider": "osv",
      "upstream": [
        "CVE-2023-46120"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2023-46120",
        "https://github.com/rabbitmq/rabbitmq-java-client/commit/714aae602dcae6cb4b53cadf009323ebac313cc8",
        "https://github.com/rabbitmq/rabbitmq-java-client/issues/1062",
        "https://github.com/rabbitmq/rabbitmq-java-client/releases/tag/v5.18.0",
        "https://github.com/rabbitmq/rabbitmq-java-client/security/advisories/GHSA-mm8h-8587-p46h",
        "https://www.cve.org/CVERecord?id=CVE-2023-46120"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2023-46120",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/1/score"
  },
  "source_id": "core-osv",
  "document_id": 355642,
  "published_at": "2023-10-25T18:17:00+00:00"
}