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

CVE-2020-25682 A flaw was found in dnsmasq before 2.83. A buffer overflow vulnerability was discovered in the way…

설명

A flaw was found in dnsmasq before 2.83. A buffer overflow vulnerability was discovered in the way dnsmasq extract names from DNS packets before validating them with DNSSEC data. An attacker on the network, who can create valid DNS replies, could use this flaw to cause an overflow with arbitrary data in a heap-allocated memory, possibly executing code on the machine. The flaw is in the rfc1035.c:extract_name() function, which writes data to the memory pointed by name assuming MAXDNAME*2 bytes are available in the buffer. However, in some code execution paths, it is possible extract_name() gets passed an offset from the base buffer, thus reducing, in practice, the number of available bytes that can be written in the buffer. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.

결함은 2.83 전에 dnsmasq에서 발견되었습니다. dnsmasq가 DNS 패킷에서 이름을 추출한 후 DNSSEC 데이터로 검증하는 방식으로 버퍼 오버플로우 취약점이 발견되었습니다. 유효한 DNS 응답을 만들 수 있는 네트워크의 공격자는 이 결함을 사용하여 힙 할당 메모리의 임의 데이터로 오버플로우를 발생시키고, 아마도 컴퓨터에서 코드를 실행할 수 있습니다. 이 결함은 rfc1035.c:extract_name() 함수에 있으며, 이 함수는 MAXDNAME*2 바이트가 버퍼에서 사용 가능하다고 가정하여 지정된 메모리에 데이터를 기록합니다. 그러나 일부 코드 실행 경로에서는 extract_name()이 기본 버퍼에서 오프셋을 전달하여 실제로 버퍼에 기록 할 수있는 사용 가능한 바이트 수를 줄일 수 있습니다. 이 취약점의 가장 큰 위협은 데이터 기밀성 및 무결성뿐만 아니라 시스템 가용성입니다.

영향 받는 제품 제품 2개

  • dnsmasq

    영향 받는 버전

    • 버전 정보 확인 필요

    해결 버전

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

  • thekelleys

    dnsmasq

    NVD 기준 해결 버전 있음

    영향 받는 버전

    • 2.83 미만

    해결 버전

    • 2.83 이상

참고 자료 7건

‹ 목록

점검 지원 범위 문의

도입 문의