REDHAT-BUG-2590475: Medium severity hex/amqp10_client vulnerability
The amqp10client Erlang AMQP 1.0 client library 3.13.0 before 3.13.21, 4.1.0 before 4.1.17, 4.2.0 before 4.2.12, and 4.3.0 before 4.3.7 fails to redact SASL credentials because amqp10clientconnection:formatstatus/1 only matches {plain, User, Pwd}, not the stored {plaintext, Bin} or {encrypted, Bin} shape. Attackers with access to crash dumps or sys:getstatus output can recover broker passwords when no obfuscation secret is configured, which is the library default.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 3.13.21 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 4.1.17 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 4.2.12 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 4.3.7
Event History
Frequently Asked Questions
Who can realistically recover the broker password?
An attacker needs access to crash dumps or to sys:get_status output from a process using the affected library. The issue exposes SASL credentials through diagnostic or status data rather than through normal AMQP traffic.
Is a default deployment affected?
Yes. Password recovery is possible when no obfuscation secret is configured, and the library default is to have no obfuscation secret configured.
Which releases need to be updated?
Update to 3.13.21 or later in the 3.13 series, 4.1.17 or later in the 4.1 series, 4.2.12 or later in the 4.2 series, or 4.3.7 or later in the 4.3 series.
What can be done before updating?
Configure an obfuscation secret and restrict access to crash dumps and sys:get_status output. Treat any broker passwords that may have appeared in previously accessible diagnostic output as potentially exposed.