🇰🇷 한글 설명
Apache NimBLE의 BASS 서비스에서 "Add Source" 및 "Modify Source" 작업 PDU를 파싱할 때 적절한 검증이 이루어지지 않아, 정수 언더플로우로 인한 범위 외 쓰기(Out-of-bounds Write)가 발생합니다. 이로 인해 스택 버퍼 오버플로우 또는 임의의 범위 외 읽기가 가능해집니다. 1.9.0 이하 버전이 영향을 받습니다.
💡 쉬운 설명
블루투스 기기의 메모리를 잘못 건드려 프로그램이 비정상 동작하거나 임의의 코드가 실행될 수 있는 취약점입니다. 공격자는 근처에서 블루투스 연결을 통해 이 문제를 유발할 수 있습니다.
🇺🇸 원문 (English)
Out-of-bounds Write, Integer Underflow (Wrap or Wraparound) vulnerability in Apache NimBLE BASS service.
Improper validation when parsing BASS service "Add Source" and "Modify Source" operation PDU could results in stack buffer overflow or arbitrary out-of-bound read.
This can be triggered by nearby devices over Bluetooth connection, however pairing is required prior to accessing BASS service, which depending on device configuration may or may not require user action.
This issue affects Apache NimBLE: through 1.9.0.
Users are recommended to upgrade to version 1.10.0, which fixes the issue.
📍 영향받는 시스템
Apache NimBLE 1.9.0 이하 버전을 사용하는 임베디드/IoT 기기 및 펌웨어
⚔️ 공격 벡터
근거리의 공격자가 블루투스로 페어링된 상태에서 조작된 BASS Add/Modify Source PDU를 전송
🛡️ 대응 방법
Apache NimBLE을 1.10.0 이상으로 업데이트
🔧 검증 코드
출력된 NimBLE 버전이 1.10.0 미만이면 취약하며, 1.10.0 이상이면 패치된 것입니다. 버전 정보가 없으면 펌웨어 빌드 설정을 직접 확인해야 합니다.
grep -rn -i 'nimble' --include='*.h' --include='*.c' --include='*.mk' --include='*.txt' . 2>/dev/null | grep -i -E 'version|1\.[0-9]+\.[0-9]+'
📊 CVSS Vector String
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
💻 영향받는 소프트웨어
Windows Bluetooth Service