CVE-2018-14618 curl before version 7.61.1 is vulnerable to a buffer overrun in the NTLM authentication code. The i…
설명
버전 7.61.1 이전의 curl은 NTLM 인증 코드에서 버퍼 오버런에 취약합니다. 내부 함수 Curl_ntlm_core_mk_nt_hash 는 암호의 길이를 2 (SUM) 곱하여 힙에서 할당 할 임시 저장 영역의 크기를 계산합니다. 그 후, 길이 값은 암호를 반복하고 할당된 저장소 버퍼에 출력을 생성하는 데 사용됩니다. 32 비트 size_t를 가진 시스템에서, SUM을 계산하는 수학은 암호 길이가 2GB (2^31 바이트)를 초과할 때 정수 오버플로우를 트리거합니다. 이 정수 오버플로우는 보통 의도된 매우 큰 버퍼 대신 실제로 작은 버퍼를 할당하게 하여, 그 버퍼를 힙 버퍼 오버플로우에 사용하게 한다. (이 버그는 CVE-2017-8816과 거의 동일합니다.)
기계 번역
원문 보기
curl before version 7.61.1 is vulnerable to a buffer overrun in the NTLM authentication code. The internal function Curl_ntlm_core_mk_nt_hash multiplies the length of the password by two (SUM) to figure out how large temporary storage area to allocate from the heap. The length value is then subsequently used to iterate over the password and generate output into the allocated storage buffer. On systems with a 32 bit size_t, the math to calculate SUM triggers an integer overflow when the password length exceeds 2GB (2^31 bytes). This integer overflow usually causes a very small buffer to actually get allocated instead of the intended very huge one, making the use of that buffer end up in a heap buffer overflow. (This bug is almost identical to CVE-2017-8816.)
영향 받는 제품 제품 1개
-
[UNKNOWN]
curl
영향 받는 버전
- 7.61.1
해결 버전
해결된 버전 정보가 없습니다.
참고 자료 7건
- access.redhat.com https://access.redhat.com/errata/RHSA-2018:3558 (새 창)
- access.redhat.com https://access.redhat.com/errata/RHSA-2019:1880 (새 창)
- security.gentoo.org https://security.gentoo.org/glsa/201903-03 (새 창)
- usn.ubuntu.com https://usn.ubuntu.com/3765-1/ (새 창)
- usn.ubuntu.com https://usn.ubuntu.com/3765-2/ (새 창)
- debian.org https://www.debian.org/security/2018/dsa-4286 (새 창)
- securitytracker.com http://www.securitytracker.com/id/1041605 (새 창)