Описание
When a container-level ErrorHandler is configured (the mitigation for finding 221000), each delivery whose processing throws still permanently consumes one link credit. After initialCredits (default 100) failing messages the receiver's credit reaches zero and the broker stops delivering, leaving the listener silently stalled while isRunning() remains true.
Spring AMQP 4.1.0
A flaw was found in Spring AMQP. When a container-level ErrorHandler is configured, the system incorrectly consumes link credits for messages that fail processing. After a threshold of failing messages, the receiver's credit depletes, causing the message broker to cease message delivery. This can lead to the listener silently stalling, resulting in a denial of service (DoS) for the application.
Отчет
This vulnerability is rated as Moderate because exploitation requires the ability to publish exception-triggering messages to a targeted queue, and the resulting impact is strictly limited to the denial of service of the affected consumer without compromising data confidentiality or system integrity. In Red Hat environments utilizing Spring AMQP components, such as Camel-based integrations, this issue occurs only when listeners are configured with container-level error handlers. When credit depletion occurs, the specific message consumer stops processing deliveries while the host application process continues running.
Затронутые пакеты
| Платформа | Пакет | Состояние | Рекомендация | Релиз |
|---|---|---|---|---|
| Red Hat build of Apache Camel 4 for Quarkus 3 | spring-amqp | Fix deferred | ||
| Red Hat Fuse 7 | spring-amqp | Out of support scope |
Показывать по
Дополнительная информация
Статус:
EPSS
6.5 Medium
CVSS3
Связанные уязвимости
When a container-level ErrorHandler is configured (the mitigation for finding 221000), each delivery whose processing throws still permanently consumes one link credit. After initialCredits (default 100) failing messages the receiver's credit reaches zero and the broker stops delivering, leaving the listener silently stalled while isRunning() remains true. Spring AMQP 4.1.0
When a container-level ErrorHandler is configured (the mitigation for finding 221000), each delivery whose processing throws still permanently consumes one link credit. After initialCredits (default 100) failing messages the receiver's credit reaches zero and the broker stops delivering, leaving the listener silently stalled while isRunning() remains true. Spring AMQP 4.1.0
EPSS
6.5 Medium
CVSS3