🇰🇷 한글 설명
Node.js의 uv__idna_toascii() 함수에서 문자열을 ASCII로 변환할 때 경계 검사 없이 포인터를 읽는 Out-of-bounds read 취약점이 발견되었습니다. 이로 인해 메모리 정보가 유출되거나 프로그램이 비정상적으로 종료될 수 있습니다.
💡 쉬운 설명
프로그램이 데이터를 읽을 때 정해진 범위를 벗어나 메모리를 읽어버리는 오류입니다. 이로 인해 중요한 정보가 새 나가거나 프로그램이 갑자기 꺼질 수 있습니다.
🇺🇸 원문 (English)
Node.js before 16.4.1, 14.17.2, 12.22.2 is vulnerable to an out-of-bounds read when uv__idna_toascii() is used to convert strings to ASCII. The pointer p is read and increased without checking whether it is beyond pe, with the latter holding a pointer to the end of the buffer. This can lead to information disclosures or crashes. This function can be triggered via uv_getaddrinfo().
📍 영향받는 시스템
Node.js 16.4.1 미만, 14.17.2 미만, 12.22.2 미만 버전
⚔️ 공격 벡터
uv_getaddrinfo() 함수를 호출할 때 조작된 문자열을 전달하여 트리거
🛡️ 대응 방법
Node.js를 최신 보안 패치 버전(16.4.1, 14.17.2, 12.22.2 이상)으로 업데이트
🔧 검증 코드
출력된 버전이 취약한 버전 범위(16.4.1, 14.17.2, 12.22.2 미만)에 해당하는지 확인