CVE-2019-3822 libcurl versions from 7.36.0 to before 7.64.0 are vulnerable to a stack-based buffer overflow. The…
설명
7.36.0부터 7.64.0 이전까지의 libcurl 버전은 스택 기반 버퍼 오버플로우에 취약합니다. 나가는 NTLM type-3 헤더를 생성하는 함수(`lib/vauth/ntlm.c:Curl_auth_create_ntlm_type3_message()`)는 이전에 수신된 데이터를 기반으로 요청 HTTP 헤더 내용을 생성합니다. 로컬 버퍼가 오버플로우되는 것을 방지하기 위해 존재하는 체크는 (시그니처되지 않은 수학을 사용하여) 잘못 구현되고, 따라서 오버플로우가 발생하는 것을 막지 않는다. 이 출력 데이터는 악성 또는 깨진 HTTP 서버에서 제공하는 이전 NTLMv2 헤더에서 매우 큰 'nt 응답'데이터를 추출하면 로컬 버퍼보다 커질 수 있습니다. 이러한 '큰 값'은 약 1000바이트 이상이어야 합니다. 대상 버퍼에 복사된 실제 페이로드 데이터는 NTLMv2 유형 2 응답 헤더에서 가져옵니다.
기계 번역
원문 보기
libcurl versions from 7.36.0 to before 7.64.0 are vulnerable to a stack-based buffer overflow. The function creating an outgoing NTLM type-3 header (`lib/vauth/ntlm.c:Curl_auth_create_ntlm_type3_message()`), generates the request HTTP header contents based on previously received data. The check that exists to prevent the local buffer from getting overflowed is implemented wrongly (using unsigned math) and as such it does not prevent the overflow from happening. This output data can grow larger than the local buffer if very large 'nt response' data is extracted from a previous NTLMv2 header provided by the malicious or broken HTTP server. Such a 'large value' needs to be around 1000 bytes or more. The actual payload data copied to the target buffer comes from the NTLMv2 type-2 response header.
영향 받는 제품 제품 1개
-
The curl Project
curl
영향 받는 버전
- 7.64.0
해결 버전
해결된 버전 정보가 없습니다.
참고 자료 6건
- access.redhat.com https://access.redhat.com/errata/RHSA-2019:3701 (새 창)
- lists.apache.org https://lists.apache.org/thread.html/8338a0f605bdbb3a6098bb76f666a95fc2b2f53f37fa1ecc89f1146f%40%3Cdevnull.infra.apache.org%3E (새 창)
- security.gentoo.org https://security.gentoo.org/glsa/201903-03 (새 창)
- usn.ubuntu.com https://usn.ubuntu.com/3882-1/ (새 창)
- debian.org https://www.debian.org/security/2019/dsa-4386 (새 창)
- securityfocus.com http://www.securityfocus.com/bid/106950 (새 창)