توضیح (فارسی)
آسیب Unintended Proxy or Intermediary ('Confused Deputy') در کامپوننت Apache Camel A2A. این مشکل از Apache Camel: از 4.21.0 تا پیش از 4.22.3 و از 4.23.0 تا پیش از 4.24.0 را تحت تأثیر قرار میدهد. کامپوننت camel-a2a از Apache Camel consumer برای A2A agent-server و producer برای A2A agent-client فراهم میکند، و قبل از اصلاح یک namespace مشترک برای CamelA2A* message-header داشتند. در یک مسیر nested orchestrator داخلی که یک A2A request را میگیرد و سپس یک A2A agent downstream را در همان exchange فراخوانی میکند، متادیتایی که consumer از incoming (untrusted) request parse کرده بود همان نامهای header را دوباره استفاده کرد، نامهایی که producer به عنوان control inputs میخواند. بنابراین remote caller میتوانست operation و context درخواست downstream و task identity بازگشتشده در reply را تغییر دهد. اصلاح جداسازی متادیتای request/reply consumer را به نامهای header جداگانه از control headers producer انجام میدهد، بنابراین دو leg از مسیر nested دیگر collision نخواهند کرد. به Apache Camel 4.24.0 ارتقا دهید، که این مشکل را درست میکند. کاربران در stream release 4.22.x LTS باید به 4.22.3 ارتقا دهند.
Original description (English)
Unintended Proxy or Intermediary ('Confused Deputy') vulnerability in Apache Camel A2A component.
This issue affects Apache Camel: from 4.21.0 before 4.22.3, from 4.23.0 before 4.24.0.
Apache Camel's camel-a2a component provides both an A2A agent-server consumer and an A2A agent-client producer, which before the fix shared a single CamelA2A* message-header namespace. In a nested orchestrator route that consumes an A2A request and then calls a downstream A2A agent on the same exchange, metadata the consumer parsed from the incoming (untrusted) request reused the same header names the producer reads as its control inputs, so a remote caller could influence the operation and context of the downstream request and the task identity reflected back in the reply. The fix separates the consumer's request/reply metadata into distinct header names from the producer's control headers, so the two legs of a nested route no longer collide.
Upgrade to Apache Camel 4.24.0, which fixes the issue. Users on the 4.22.x LTS release stream should upgrade to 4.22.3.