Insertion of Sensitive Information into Log File vulnerability in Apache Camel WhatsApp component.
This issue affects Apache Camel: from 4.0.0 before 4.18.6, from 4.19.0 before 4.22.3, from 4.23.0 before 4.24.0.
The camel-whatsapp component's producer (WhatsAppServiceRestAPIAdapter) writes the full REST response body returned by the WhatsApp Cloud API to the application log at INFO on every send, with no opt-in. Because a successful response echoes the submitted recipient value and the WhatsApp contact id (contacts[].input, contacts[].wa_id) and carries provider message identifiers, those routing identifiers are copied into routine production logs and any downstream log aggregation. The fix stops logging the response body at INFO and logs only the response status code.
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. Users on the 4.18.x LTS release stream should upgrade to 4.18.6.
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub