VeraCrypt、特権サービスへの入力処理に脆弱性 権限昇格のおそれ
Summary
VeraCrypt 1.26.30より前のバージョンには、Unix・macOS・FreeBSD版の逆直列化処理に脆弱性があります。一般ユーザー権限のGUIやCLIから渡されたデータによってメモリの範囲外を読み書きされるおそれがあり、CVSS v4.0のスコアは8.8です。修正版の1.26.30で対応できます。攻撃が遠隔から行われる性質のものではなく、ローカルでの防御の強化にあたる問題なので、早めに修正版へ更新してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
VeraCrypt 1.26.30より前のバージョンには、Unix・macOS・FreeBSD版の逆直列化処理に脆弱性があります。一般ユーザー権限のGUIやCLIから渡されたデータによってメモリの範囲外を読み書きされるおそれがあり、CVSS v4.0のスコアは8.8です。修正版の1.26.30で対応できます。攻撃が遠隔から行われる性質のものではなく、ローカルでの防御の強化にあたる問題なので、早めに修正版へ更新してください。
Original description The description as published by the source.
VeraCrypt provides disk encryption with strong security based on TrueCrypt. Prior to 1.26.30, the Unix, macOS, and FreeBSD serialization paths in src/Platform/Serializer.cpp and src/Volume/VolumePassword.cpp accept untrusted length and count values when deserializing data that can cross from the unprivileged GUI or CLI to the root CoreService helper. Serializer::DeserializeWString allocates floor(size / sizeof(wchar_t)) elements but reads size bytes, so a non-aligned size can overflow the heap allocation. VolumePassword::Deserialize accepts PasswordSize values larger than the fixed 128-byte PasswordBuffer, allowing downstream DataPtr() and Size() consumers such as the KDF to read beyond the buffer. DeserializeString, DeserializeWString, and the string and wide-string list readers also lack allocation and collection bounds, which can exhaust memory, and a zero-length DeserializeString can access an empty vector. Windows uses a different path, and the immediate CoreService pipe writer is the same-user parent process, so the documented exposure is a local defense-in-depth boundary rather than a remote attack. This issue is fixed in 1.26.30.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- patch github.com
- REDHAT Red Hat
- web github.com