RabbitMQ 4.3.6 → 4.3.8
2 releases · 0 breaking changes · 5 security fixes · 5 advisories fixed
5security0breaking0deprecated16feature51fix
Vulnerabilities fixed by this upgrade
- 8.2 GHSA-3wxh-g236-vm46 LDAP authentication failures allow unauthenticated log amplification
- 6.3 GHSA-g73v-gcjq-2g4h AMQP message conversion can repeatedly disconnect AMQP 0-9-1 consumers
- 5.7 GHSA-6wvj-vwrc-wcrm HTML injection in management UI OAuth login warning
- 5.7 GHSA-mhh3-4wv2-rrj7 SASL credentials are not redacted from `amqp10_client` crash dumps and `sys:get_status` output
- 7.1 GHSA-9h6g-46wc-m2f5 Memory DoS via incomplete AMQP 0-9-1 messages
Breaking changes
None in the release notes.
Security changes
- security Fixes GHSA-3wxh-g236-vm46: LDAP authentication failures allow unauthenticated log amplification in 4.3.7
- security Fixes GHSA-9h6g-46wc-m2f5: Memory DoS via incomplete AMQP 0-9-1 messages in 4.3.7
- security Fixes GHSA-g73v-gcjq-2g4h: AMQP message conversion can repeatedly disconnect AMQP 0-9-1 consumers in 4.3.7
- security Fixes GHSA-6wvj-vwrc-wcrm: HTML injection in management UI OAuth login warning in 4.3.7
- security Fixes GHSA-mhh3-4wv2-rrj7: SASL credentials are not redacted from `amqp10_client` crash dumps and `sys:get_status` output in 4.3.7
Every release in between
fixA quorum queue leader health check could report a queue with a leader as unhealthy, for example after a leadership change or when the node running the check did not host a replica. GitHub issue:
fixWhen a new quorum queue member is started, the lowest ra machine version is computed using all of the reachable members. GitHub issues:
fixThe metadata store now waits for Raft members with a capped timeout, which avoids an endless retry loop in some operational scenarios. GitHub issues:
fixDefinition import on boot could hang on Erlang 28 because of a missing dependency between boot steps. GitHub issues:
fixVirtual host records written by older versions could have their limits set to undefined, which made definition export fail. GitHub issue:
fixDefinition export no longer includes bindings to exclusive queues, and definition import skips bindings to amq.* queues with a warning instead of failing. GitHub issue:
fixDefinition export no longer includes bindings of queues that were concurrently deleted, and definition import skips bindings of missing server-named queues. GitHub issue:
fixClassic queue CRC32 checksums are now calculated in a way that is compatible with future Erlang releases. GitHub issues:
fixClassic queues: a crash report for a deleted queue now shows the original error. GitHub issue:
fixMessage conversion between AMQP 0-9-1 and AMQP 1.0 no longer fails on decimal and null header values, nor on float, double and null annotation values set by the AMQP 1.0 modified outcome. GitHub issues:
fixHourly log file rotation (for example, log.file.rotation.date = $H30) never rotated the file. GitHub issues:
fixStreams now handle non-string x-stream-filter-value values gracefully. GitHub issue:
fixAMQP 0-9-1 header and argument tables are validated more strictly. GitHub issues:
fixAMQP 1.0 frames are validated more strictly. GitHub issues:
fixAMQP 1.0 SQL filter expressions are evaluated more defensively. GitHub issue:
fixAn AMQP 1.0 session no longer runs into an exception when its writer process has already exited during connection closure. GitHub issue:
fixCredential expiry handling improvements. GitHub issues:
fixProxy Protocol handling improvements. GitHub issue:
fixDead lettering validates its targets more strictly. GitHub issue:
fixChannels now send channel.close-ok with a short socket write timeout. GitHub issue:
featureClosing a non-AMQP 0-9-1 connection (for example, an MQTT, STOMP, stream or AMQP 1.0 connection) is now cheaper on nodes with many tracked channels. GitHub issue:
featureStream segment files now enforce a minimum size of 4,096 bytes. Note that virtually all installations use and should use values in megabytes, not kilobytes. GitHub issue:
fixCLI tools and peer discovery now refuse to remove cluster members that are still booting. GitHub issue:
fixrabbitmqctl export_definitions file permission handling improvements. GitHub issue:
fixStream protocol authentication is validated more strictly. GitHub issue:
fixA node failed to start when the management plugin's TLS listener was configured with management.ssl.ip. GitHub issues:
fixHTTP API endpoints that accept JSON request bodies now require the content-type header to be application/json. GitHub issue:
fixSeveral runtime parameter HTTP API endpoints that previously accepted users tagged as policymaker now require the administrator tag. GitHub issues:
fixPublishing via the HTTP API is now refused when a resource alarm is in effect. GitHub issue:
fixQueue, stream and exchange names that are not valid UTF-8 are now rejected with a 400 Bad Request. GitHub issue:
fixCORS handling improvements. GitHub issue:
fixAn example rabbitmq.conf file could not be generated from the management plugin's schema. GitHub issues:
featureThe polling consumer (POST /api/queues/{vhost}/{name}/get) endpoint now limits how many messages and payload bytes a single request can return: ini # the defaults are 1000 messages and 64 MiB management.polling_consumer.max_messages = 1000 management.polling_consumer.max_payload_bytes = 67108864…
featureHTTP API JSON request body decoding now uses less memory with larger payloads. GitHub issue:
fixExchange metric labels are now properly escaped. GitHub issue:
featurereconnect-delay is now validated more strictly. GitHub issue:
featureConnection timeout is now limited to 180 seconds. GitHub issue:
featureThe number of topic filters and user properties per packet is now limited: ini # the defaults are 512 mqtt.max_topic_filters_per_packet = 512 mqtt.max_user_properties_per_packet = 512 GitHub issue:
featureauth_ldap.dn_lookup_bind.password and auth_ldap.other_bind.password now support encrypted values. GitHub issue:
featureRuntime parameter values are no longer included in the events by default. A new setting controls this behavior: ini event_exchange.runtime_parameters.include_value = false GitHub issue:
+21 more items in the release notessecurityFixes GHSA-3wxh-g236-vm46: LDAP authentication failures allow unauthenticated log amplification
securityFixes GHSA-9h6g-46wc-m2f5: Memory DoS via incomplete AMQP 0-9-1 messages
securityFixes GHSA-g73v-gcjq-2g4h: AMQP message conversion can repeatedly disconnect AMQP 0-9-1 consumers
securityFixes GHSA-6wvj-vwrc-wcrm: HTML injection in management UI OAuth login warning
securityFixes GHSA-mhh3-4wv2-rrj7: SASL credentials are not redacted from `amqp10_client` crash dumps and `sys:get_status` output
fixThe basic.cancel notification sent on a consumer delivery timeout now properly clears consumer state even if the client does not respond with basic.cancel-ok. Most clients do not respond, and nodes older than 4.3.0 do not accept a client-sent basic.cancel-ok at all. The server now advertises…
fixClassic queue expiration (x-expires) timestamps were lost on node restart, so the queue TTL timer did not fire when it was supposed to if the TTL outlived the restart. GitHub issues:
fixRouting to queues now handles concurrent queue deletion gracefully in more places, avoiding confusing (and also non-actionable) exceptions. This also avoids unnecessary publisher confirm noise, most visible with transient exclusive queues bound to a topic exchange. GitHub issues:
fixA quorum queue declaration that timed out waiting for a remote Khepri projection left the queue metadata behind and prevented a retry with the same name. Contributed by @chenshi5012. GitHub issue:
fixMessage conversion between AMQP 1.0 and AMQP 0-9-1 no longer fails on AMQP 1.0 values that AMQP 0-9-1 cannot represent. GitHub issue:
fixDefinition import now rejects a binding with an unrecognised destination_type. GitHub issue:
fixAMQP 0-9-1 content headers are validated more strictly. GitHub issue:
featuressl_options.supported_groups can now be used in rabbitmq.conf to restrict the named groups offered for TLS 1.3 key exchange. GitHub issue:
featureCLI commands that accept sensitive values as interactive input now suppress terminal echoing where possible. This behavior is specific to Erlang 28 and 29. GitHub issue:
fixPagination bug fixes for stream connections. GitHub issues:
fixA 404 for a virtual host the user has no permissions on is now identical to the 404 for a virtual host that does not exist. GitHub issue:
fixThe OAuth 2 token proxy responded with a 500 to some malformed JSON documents. GitHub issue:
fixThe default Content-Security-Policy value now includes base-uri 'none'. GitHub issue:
featureAMQP 1.0 consumers now link directly to their connection in the management UI. GitHub issues:
fixWhen the destination rejects a message, for example because the destination queue has x-overflow set to reject-publish and has reached its maximum length, the shovel now returns the message to the source queue as a failed delivery. A quorum source queue therefore dead-letters the message once it…
fixA shovel with an AMQP 1.0 destination did not settle a message at the source when the destination rejected or released it, and eventually stopped forwarding messages. GitHub issue:
fixA shovel with an AMQP 1.0 source could restart and forward some messages twice when the destination confirmed messages out of order. GitHub issue:
fixA shovel with an AMQP 1.0 source could settle messages incorrectly after more than 4 billion deliveries. With a local destination, it could acknowledge a message at the source before the destination confirmed it. GitHub issue:
fixThe AMQP 0-9-1 shovel now ignores publisher confirms for unknown delivery tags. GitHub issues:
fixFederation links now ignore publisher confirms for unknown delivery tags. GitHub issues:
fixAn exchange federation link now handles amqp_connection:open_channel/1 returning closing instead of {error, Reason}. GitHub issue:
fixQoS 0 consumer queue deletion now retries in more scenarios. GitHub issue:
fixMessage selectors with arithmetic expressions now validate numerical arguments more thoroughly. GitHub issue:
featureThe client now responds to a server-sent basic.cancel with basic.cancel-ok only when the server advertises support for it. GitHub issue:
featureThe auth_mechanism query parameter of an AMQP 0-9-1 URI is now restricted to the mechanisms the client actually supports (plain, amqplain, external, crdemo), and an unsupported value is now rejected when the URI is parsed rather than when the connection is established. This also applies to the…
featureLikewise, the verify query parameter of an AMQP 0-9-1 URI now only accepts verify_peer or verify_none, and an unsupported value is rejected when the URI is parsed rather than when the TLS connection is established. GitHub issue:
featureConnection configuration now accepts a connect_timeout, applied to the socket connect and, for TLS-enabled connections, to the TLS handshake as well. Contributed by @arrangabriel. GitHub issues:
othercowboy was upgraded to 2.20.0
othercowlib was upgraded to 2.21.0
othergun was upgraded to 2.7.0
otherkhepri was upgraded to 0.18.4