🇰🇷 한글 설명
github.com/nyaruka/phonenumbers 패키지 1.2.2 미만 버전에서 phonenumbers.Parse() 함수가 입력값의 구문 정확성을 적절히 검증하지 못하는 취약점이 발견되었습니다. 공격자가 조작된 입력값을 제공할 경우 'runtime error: slice bounds out of range' 오류를 유발하여 프로그램이 비정상 종료(panic)될 수 있습니다.
💡 쉬운 설명
전화번호를 분석하는 프로그램에 특수하게 조작된 번호를 입력하면 프로그램이 갑자기 멈춰버리는 문제가 있습니다. 이는 서비스가 중단되는 원인이 될 수 있습니다.
🇺🇸 원문 (English)
Versions of the package github.com/nyaruka/phonenumbers before 1.2.2 are vulnerable to Improper Validation of Syntactic Correctness of Input in the phonenumbers.Parse() function. An attacker can cause a panic by providing crafted input causing a "runtime error: slice bounds out of range".
📍 영향받는 시스템
github.com/nyaruka/phonenumbers 1.2.2 미만 모든 버전
⚔️ 공격 벡터
조작된 전화번호 형식의 문자열을 phonenumbers.Parse() 함수에 입력하여 런타임 패닉 유도
🛡️ 대응 방법
github.com/nyaruka/phonenumbers 패키지를 1.2.2 버전 이상으로 업데이트
🔧 검증 코드
출력된 버전 번호가 1.2.2보다 낮은지 확인하십시오.
go list -m github.com/nyaruka/phonenumbers