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データベースファイルを使い、セキュリティ関連のメモリ破壊を引き起こすことができます。この脆弱性により、メモリ破壊が可能となり、システムへの不正アクセスが懸念されます。
ncursesの脆弱性は、setuidアプリケーションで使用されると不正なterminfoデータベースファイルを通じてメモリ破壊を引き起こす。
ncurses 6.4 20230408より前のバージョン。
悪用により、メモリ破壊を通じてシステムへの不正アクセスが可能になる。
ncursesをバージョン6.4 20230408以降にアップデートしてください。
影響を受けるアプリケーションをsetuidにしない、または信用できるファイルのみを使用するように制限する。
ユーザーの$HOME/.terminfoやTERMINFO、TERM変数を検査し、異常なファイルがないか確認する。
Fix status by distribution
Fixed packages published by each distribution for this CVE
- Alpine Linux ALPINE-CVE-2023-29491 ncurses Fixed in: 6.3_p20211120-r2
- Debian DEBIAN-CVE-2023-29491 ncurses Fixed in: 6.2+20201114-2+deb11u2
References
- advisory github.com
- exploit openwall.com
- mailing openwall.com
- patch openwall.com
- patch openwall.com
- web ncurses.scripts.mit.edu
- web lists.debian.org
- web lists.fedoraproject.org
- web security.netapp.com
- web support.apple.com
- web support.apple.com
- web support.apple.com
- web lists.fedoraproject.org
- web nvd.nist.gov
- web ncurses.scripts.mit.edu
- web lists.fedoraproject.org
- web lists.fedoraproject.org
- web security.netapp.com
- web cert-portal.siemens.com
- web cert-portal.siemens.com
- web github.com