🇰🇷 한글 설명
octokit/webhooks 라이브러리의 에러 처리 과정에서 에러 객체가 정의되지 않을 수 있는 문제가 발견되었습니다. 이로 인해 예기치 않은 예외가 발생하여 Node.js 프로세스가 강제로 종료될 수 있습니다.
💡 쉬운 설명
프로그램이 오류를 처리하는 과정에서 실수로 프로그램 자체를 꺼버리는 버그가 있습니다. 이로 인해 서비스가 갑자기 중단될 위험이 있습니다.
🇺🇸 원문 (English)
octokit/webhooks is a GitHub webhook events toolset for Node.js. Starting in 9.26.0 and prior to 9.26.3, 10.9.2, 11.1.2, and 12.0.4, there is a problem caused by an issue with error handling in the @octokit/webhooks library because the error can be undefined in some cases. The resulting request was found to cause an uncaught exception that ends the nodejs process. The bug is fixed in octokit/webhooks.js 9.26.3, 10.9.2, 11.1.2, and 12.0.4, app.js 14.02, octokit.js 3.1.2, and Protobot 12.3.3.
📍 영향받는 시스템
@octokit/webhooks 9.26.0 미만 9.26.2, 10.9.2 미만 10.9.1, 11.1.2 미만 11.1.1, 12.0.4 미만 12.0.3 버전
⚔️ 공격 벡터
특정 조건에서 에러를 유발하는 요청을 보내 Node.js 프로세스를 비정상 종료시키는 서비스 거부(DoS) 공격
🛡️ 대응 방법
@octokit/webhooks 라이브러리를 최신 패치 버전(9.26.3, 10.9.2, 11.1.2, 12.0.4 이상)으로 업데이트하십시오.
🔧 검증 코드
출력된 결과에서 @octokit/webhooks의 버전을 확인하여 취약한 버전 범위에 해당하는지 체크합니다.
npm list @octokit/webhooks