CVE-2023-35789 Information disclosure in n/a

Medium 5.5 Published Updated

Local attackers can read RabbitMQ credentials from command-line arguments in the C AMQP client library.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2023-35789?

CVE-2023-35789 is a medium-severity vulnerability in n/a, published on 16 Jun 2023. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

An issue was discovered in the C AMQP client library (aka rabbitmq-c) through 0.13.0 for RabbitMQ. Credentials can only be entered on the command line (e.g., for amqp-publish or amqp-consume) and are thus visible to local attackers by listing a process and its arguments.

Weakness: CWE-522

Which versions are affected by CVE-2023-35789?

1 open source package ship an affected version, including rabbitmq-c. It affects 1 product.

PackageAffectedFixed in
rabbitmq-c BitnamiAll versions to 0.13.0None
Linux distribution packages (35)
librabbitmq AlmaLinux:8All versions0.9.0-4.el8
librabbitmq-devel AlmaLinux:8All versions0.9.0-4.el8
librabbitmq AlmaLinux:9All versions0.11.0-7.el9
librabbitmq-devel AlmaLinux:9All versions0.11.0-7.el9
librabbitmq-tools AlmaLinux:9All versions0.11.0-7.el9
librabbitmq Red Hat:enterprise_linux:8::baseosAll versions0:0.9.0-4.el8
librabbitmq-debuginfo Red Hat:enterprise_linux:8::baseosAll versions0:0.9.0-4.el8
librabbitmq-debugsource Red Hat:enterprise_linux:8::baseosAll versions0:0.9.0-4.el8
librabbitmq-tools-debuginfo Red Hat:enterprise_linux:8::baseosAll versions0:0.9.0-4.el8
librabbitmq-debuginfo Red Hat:enterprise_linux:8::crbAll versions0:0.9.0-4.el8
librabbitmq-debugsource Red Hat:enterprise_linux:8::crbAll versions0:0.9.0-4.el8
librabbitmq-devel Red Hat:enterprise_linux:8::crbAll versions0:0.9.0-4.el8
librabbitmq-tools-debuginfo Red Hat:enterprise_linux:8::crbAll versions0:0.9.0-4.el8
librabbitmq Red Hat:enterprise_linux:9::appstreamAll versions0:0.11.0-7.el9
librabbitmq-debuginfo Red Hat:enterprise_linux:9::appstreamAll versions0:0.11.0-7.el9
librabbitmq-debugsource Red Hat:enterprise_linux:9::appstreamAll versions0:0.11.0-7.el9
librabbitmq-tools Red Hat:enterprise_linux:9::appstreamAll versions0:0.11.0-7.el9
librabbitmq-tools-debuginfo Red Hat:enterprise_linux:9::appstreamAll versions0:0.11.0-7.el9
librabbitmq-debuginfo Red Hat:enterprise_linux:9::crbAll versions0:0.11.0-7.el9
librabbitmq-debugsource Red Hat:enterprise_linux:9::crbAll versions0:0.11.0-7.el9
librabbitmq-devel Red Hat:enterprise_linux:9::crbAll versions0:0.11.0-7.el9
librabbitmq-tools-debuginfo Red Hat:enterprise_linux:9::crbAll versions0:0.11.0-7.el9
librabbitmq Rocky Linux:9All versions0:0.11.0-7.el9
rabbitmq-c SUSE:Enterprise Storage 7.1All versions0.10.0-150300.5.6.1
rabbitmq-c SUSE:Linux Enterprise High Performance Computing 15 SP3-ESPOSAll versions0.10.0-150300.5.6.1
rabbitmq-c SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSSAll versions0.10.0-150300.5.6.1
rabbitmq-c SUSE:Linux Enterprise Module for Server Applications 15 SP4All versions0.10.0-150300.5.6.1
rabbitmq-c SUSE:Linux Enterprise Module for Server Applications 15 SP5All versions0.10.0-150300.5.6.1
rabbitmq-c SUSE:Linux Enterprise Real Time 15 SP3All versions0.10.0-150300.5.6.1
rabbitmq-c SUSE:Linux Enterprise Server 15 SP3-LTSSAll versions0.10.0-150300.5.6.1
rabbitmq-c SUSE:Linux Enterprise Server for SAP Applications 15 SP3All versions0.10.0-150300.5.6.1
rabbitmq-c SUSE:Manager Proxy 4.2All versions0.10.0-150300.5.6.1
rabbitmq-c SUSE:Manager Server 4.2All versions0.10.0-150300.5.6.1
rabbitmq-c openSUSE:Leap 15.4All versions0.10.0-150300.5.6.1
rabbitmq-c openSUSE:Leap 15.5All versions0.10.0-150300.5.6.1

Products include Rabbitmq-C Project Rabbitmq-C.

How do I fix CVE-2023-35789?

Apply the vendor's patch.

Is CVE-2023-35789 being exploited?

There is no known exploitation of CVE-2023-35789 in the wild and no public exploit code.

Sources

Also known as ALPINE-CVE-2023-35789, ALSA-2023:6482, ALSA-2023:7150, AZL-43804, AZL-45114, BELL-CVE-2023-35789 and 12 more.

Is CVE-2023-35789 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free