USB Testに悪意あるUSB機器で任意のコードを実行される脆弱性
概要
USB Testには、ヒープバッファオーバーフローの脆弱性が見つかりました。物理的に接続された悪意のあるUSBストレージ機器が報告するセクタサイズを悪用すると、ヒープ破壊によるアプリケーションのクラッシュや、任意のコードの実行につながるおそれがあります。影響を受けるのはバージョン1.1.5より前の版で、1.1.5で修正されています。修正版への更新を優先してください。
AI要約
外部の AI が作成した要約です。誤りを含むことがあります。重要な判断の前に、下の原文と参照URLを確認してください。
USB Testには、ヒープバッファオーバーフローの脆弱性が見つかりました。物理的に接続された悪意のあるUSBストレージ機器が報告するセクタサイズを悪用すると、ヒープ破壊によるアプリケーションのクラッシュや、任意のコードの実行につながるおそれがあります。影響を受けるのはバージョン1.1.5より前の版で、1.1.5で修正されています。修正版への更新を優先してください。
影響パッケージ
| 種類 | パッケージ | 影響を受ける版 | 直った版 |
|---|---|---|---|
| n-romanovich | usb-test | — | — |
原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。
USB Test is a lightweight Windows CLI utility for verifying sector integrity and detecting overreported capacity on USB flash drives. Prior to version 1.1.5, getSectorSize() in USB Test/src/driveinfo.cpp trusts DISK_GEOMETRY.BytesPerSector returned by IOCTL_DISK_GET_DRIVE_GEOMETRY without checking whether the call succeeded or enforcing size bounds. USB Test/src/drivetest.cpp uses the value for division and to size a heap buffer before memcpy(buffer.data(), §or, 8), so a physically connected malicious USB storage device can report a value below eight bytes and cause repeated out-of-bounds writes, or report zero and cause a divide-by-zero denial of service when a user starts a drive test. The heap corruption can crash the elevated application and may permit arbitrary code execution. This issue is fixed in version 1.1.5.
出典: CVE.org (CVE Program・cvelistV5) NVD