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...

Summary

ncurses before 6.4 20230408, when used by a setuid application, allows local users to trigger...

Original description

The description as published by the source.

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.

Source: NIST National Vulnerability Database NVD GitHub Advisory

AI summary

Written by an external AI model and may contain mistakes. Check the original description and references below before acting on it.

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変数を検査し、異常なファイルがないか確認する。

Fix status by distribution

Fixed packages published by each distribution for this CVE

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details