← Back
Operating System
CVE-2023-29491 high CVSS 7.8

ncurses before 6.4 20230408, when used by a setuid application, allows local users to trigger security-relevant memory corruption via malformed data in a terminfo database file that is found in $HOME/...

Summary

ncurses before 6.4 20230408, when used by a setuid application, allows local users to trigger security-relevant memory corruption via malformed data in a terminfo database file that is found in $HOME/.terminfo or reached via the TERMINFO or TERM environment variable.

AI summary openai / gpt-4o

ncursesのバージョン6.4 20230408より前のバージョンは、セットユーザIDアプリケーションで使用されると、ローカルユーザーがホームディレクトリや環境変数を介してアクセスされる不正なterminfoデータベースファイルを使い、セキュリティ関連のメモリ破壊を引き起こすことができます。この脆弱性により、メモリ破壊が可能となり、システムへの不正アクセスが懸念されます。
❓ What is the problem
ncursesの脆弱性は、setuidアプリケーションで使用されると不正なterminfoデータベースファイルを通じてメモリ破壊を引き起こす。
📍 Affected scope
ncurses 6.4 20230408より前のバージョン。
🔥 Severity
悪用により、メモリ破壊を通じてシステムへの不正アクセスが可能になる。
🔧 How to fix
ncursesをバージョン6.4 20230408以降にアップデートしてください。
🛡️ Workaround
影響を受けるアプリケーションをsetuidにしない、または信用できるファイルのみを使用するように制限する。
🔍 Detection
ユーザーの$HOME/.terminfoやTERMINFO、TERM変数を検査し、異常なファイルがないか確認する。

References

🍪 About cookies

We use cookies to keep you logged in, remember your language, and improve the service.

Details →