kcve.ai취약점 정보 · 내 자산 확인

CVE-2019-17638 In Eclipse Jetty, versions 9.4.27.v20200227 to 9.4.29.v20200521, in case of too large response head…

설명

Eclipse Jetty에서 버전 9.4.27.v20200227에서 9.4.29.v20200521로, 응답 헤더가 너무 큰 경우 Jetty는 HTTP 431 오류를 생성하는 예외를 발생시킵니다. 이 경우 HTTP 응답 헤더를 포함하는 ByteBuffer가 ByteBufferPool에 두 번 다시 릴리스됩니다. 이 이중 릴리스 때문에 두 스레드는 풀에서 동일한 ByteBuffer를 획득할 수 있으며 thread1이 ByteBuffer를 사용하여 response1 데이터를 작성하려고 하는 동안 thread2는 ByteBuffer를 다른 데이터로 채웁니다. Thread1은 이제 다른 데이터를 포함하는 버퍼를 작성합니다. 이로 인해 client1이 요청1을 발행하여 다른 요청이나 응답으로부터 데이터를 보게 되며, 이 데이터에는 client2(HTTP 세션 ID, 인증 자격 증명 등)에 속한 민감한 데이터가 포함될 수 있습니다. Jetty 버전을 업그레이드할 수 없는 경우 requestHeaderSize보다 훨씬 큰 responseHeaderSize를 구성하여 취약점을 크게 줄일 수 있습니다(응답 헤더 크기 및 8KB 요청 헤더 크기).

원문 보기

In Eclipse Jetty, versions 9.4.27.v20200227 to 9.4.29.v20200521, in case of too large response headers, Jetty throws an exception to produce an HTTP 431 error. When this happens, the ByteBuffer containing the HTTP response headers is released back to the ByteBufferPool twice. Because of this double release, two threads can acquire the same ByteBuffer from the pool and while thread1 is about to use the ByteBuffer to write response1 data, thread2 fills the ByteBuffer with other data. Thread1 then proceeds to write the buffer that now contains different data. This results in client1, which issued request1 seeing data from another request or response which could contain sensitive data belonging to client2 (HTTP session ids, authentication credentials, etc.). If the Jetty version cannot be upgraded, the vulnerability can be significantly reduced by configuring a responseHeaderSize significantly larger than the requestHeaderSize (12KB responseHeaderSize and 8KB requestHeaderSize).

영향 받는 제품 제품 1개

  • The Eclipse Foundation

    Eclipse Jetty

    영향 받는 버전

    • 9.4.27.v20200227 이상 9.4.29.v20200521 이하

    해결 버전

    해결된 버전 정보가 없습니다.

패키지 기준 해결 버전 패키지 1개

  • Maven · org.eclipse.jetty:jetty-server

    해결 버전 있음

    영향 받는 버전 · 해결 버전

    • 영향 9.4.27 이상 9.4.30.v20200611 미만 · 해결 9.4.30.v20200611 이상

출처: GitHub Advisory Database · CC-BY 4.0

참고 자료 17건

‹ 목록

점검 지원 범위 문의

도입 문의