🔍 CVE-2026-101259

5.3
CVSS Score
MEDIUM
2026-10-26
2026-11-06 16:34
✅ 완료

🇰🇷 한글 설명

Apache Camel CoAP 컴포넌트에서 응답 생성 중 발생한 예외 메시지에 민감한 정보가 포함되어 원격 클라이언트에 노출되는 취약점입니다. 영향 버전은 4.0.0~4.18.4 및 4.19.0~4.22.1이며, 4.23.0, 4.22.2, 4.18.5 이상으로 업그레이드하면 해결됩니다.

💡 쉬운 설명

CoAP 서비스가 응답을 만들지 못하면 내부 클래스명, 파일 경로, 백엔드 연결 정보 같은 내부 세부사항이 오류 메시지에 담겨 외부 클라이언트에게 전달될 수 있습니다. 패치된 버전은 이 오류 응답의 본문을 기본적으로 비워 정보 노출을 막습니다.

🇺🇸 원문 (English)

Generation of Error Message Containing Sensitive Information vulnerability in Apache Camel CoAP component. This issue affects Apache Camel: from 4.0.0 before 4.18.5, from 4.19.0 before 4.22.2. When the CoAP consumer could not build its response once the route had completed, CamelCoapResource caught the resulting exception and sent its message back to the CoAP client as the payload of a 5.00 Internal Server Error response. The typical case is a type conversion failure: the consumer converts the final message body to the byte[] payload, and the CamelCoapMaxAge and CamelCoapETag headers to their types, after the route has returned, and therefore outside the route's error handler. On the affected releases the message of such a failure names the class of the value being converted, carries the value's string form, and ends with the class name and message of the underlying cause, so a remote CoAP client could read internal detail about the deployment: class and package names, the string form of the value, such as the path of a file body, and whatever the cause carries, which in practice can include paths, host names and connection detail of a backend. The consumer had no option to suppress this, unlike the HTTP consumers, which offer a muteException option for that purpose. The exception raised by a failing route was not sent: the consumer did not check whether the exchange had failed, and answered a route failure with 2.05 Content and whatever body the message held at that point. Reaching the disclosure therefore requires a route whose completed response a remote client can make unconvertible, which depends on how the route is written. Users are recommended to upgrade to version 4.23.0, which fixes the issue. If users are on the 4.22.x releases stream, then they are suggested to upgrade to 4.22.2. If users are on the 4.18.x releases stream, then they are suggested to upgrade to 4.18.5. The 4.14.x releases stream and earlier, and the 4.15.x to 4.17.x and 4.19.x to 4.21.x release lines, reached end of life before this issue was resolved and will not receive a fix, so deployments on them must move to a supported release. The upgrade is enough on its own: the new muteException consumer option defaults to true on all three fixed release lines, so the error response carries no payload without any configuration change. For deployments that cannot upgrade immediately, make sure the response can always be built once the route has completed: convert the body to byte[] or String as the last step of each route that consumes from a coap endpoint, for example with convertBodyTo, give the CamelCoapMaxAge and CamelCoapETag headers only values of their own types, and add an onException handler that marks the failure as handled and sets the response body explicitly, so that a conversion failure is raised and replaced inside the route rather than in the consumer.

📍 영향받는 시스템

Apache Camel 4.0.0~4.18.4, 4.19.0~4.22.1 (CoAP 컴포넌트 사용 환경)

⚔️ 공격 벡터

원격 CoAP 클라이언트가 응답 변환이 실패하도록 요청을 구성해 오류 응답에 포함된 내부 정보를 읽어냄

🛡️ 대응 방법

Apache Camel을 4.23.0 이상(또는 4.22.2, 4.18.5)으로 업그레이드하고, 지원 종료된 버전은 지원되는 릴리스로 이전

🔧 검증 코드

출력된 camel-coap JAR의 버전이 4.23.0, 4.22.2, 4.18.5 이상이면 패치된 것이며, 4.0.0~4.18.4 또는 4.19.0~4.22.1 범위이면 취약합니다. 출력이 없으면 해당 컴포넌트가 설치되지 않은 것입니다.

Shell / Script
find / -name 'camel-coap*.jar' 2>/dev/null | xargs -I{} sh -c 'unzip -p {} META-INF/MANIFEST.MF 2>/dev/null | grep -i "Implementation-Version" | sed "s|^|{}: |"'

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

💻 영향받는 소프트웨어

Apache HTTP Server