Skip to contentSkip to conversation

ncurses: Mitigate CVE-2023-29491

PATCH New Marek Vasut 1 participant 1 message Oct 9, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ncurses: Mitigate CVE-2023-29491

Configure with "--disable-root-environ" to disallow loading of custom terminfo entries in setuid/setgid programs, mitigating the impact of CVE-2023-29491.

This is taken from debian:
https://salsa.debian.org/debian/ncurses/-/commit/1c530aad772f7aeef039b8780d51cd09bd5a08ac

---
 meta/recipes-core/ncurses/ncurses.inc | 1 +
 1 file changed, 1 insertion(+)
meta/recipes-core/ncurses/ncurses.inc +1 -0
index ee0b15ecf0..38826a6231 100644
@@ -86,6 +86,7 @@ ncurses_configure() {
 	        --enable-sigwinch \
 	        --enable-pc-files \
 	        --disable-rpath-hack \
+	        --disable-root-environ \
 		${EXCONFIG_ARGS} \
 	        --with-manpage-format=normal \
 	        --without-manpage-renames \
Signature · 1 line
2.40.1