Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] ncurses: Mitigate CVE-2023-29491
@ 2023-10-09 16:31 Marek Vasut
  2023-10-09 16:44 ` Richard Purdie
  0 siblings, 1 reply; 8+ messages in thread
From: Marek Vasut @ 2023-10-09 16:31 UTC (permalink / raw)
  To: steve, openembedded-core; +Cc: Marek Vasut, Alexandre Belloni, Richard Purdie

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

Signed-off-by: Marek Vasut <marex@denx.de>
---
Cc: Alexandre Belloni <alexandre.belloni@bootlin.com>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
---
 meta/recipes-core/ncurses/ncurses.inc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-core/ncurses/ncurses.inc b/meta/recipes-core/ncurses/ncurses.inc
index 367f3b19f4..1bc07ec2d4 100644
--- a/meta/recipes-core/ncurses/ncurses.inc
+++ b/meta/recipes-core/ncurses/ncurses.inc
@@ -87,6 +87,7 @@ ncurses_configure() {
 	        --enable-sigwinch \
 	        --enable-pc-files \
 	        --disable-rpath-hack \
+	        --disable-root-environ \
 		${EXCONFIG_ARGS} \
 	        --with-manpage-format=normal \
 	        --without-manpage-renames \
-- 
2.40.1



^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2023-10-09 20:56 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-09 16:31 [PATCH] ncurses: Mitigate CVE-2023-29491 Marek Vasut
2023-10-09 16:44 ` Richard Purdie
2023-10-09 16:51   ` [OE-core] " Marko, Peter
2023-10-09 16:56     ` Marek Vasut
2023-10-09 17:27       ` Marko, Peter
2023-10-09 19:27         ` Marek Vasut
2023-10-09 20:56           ` Marko, Peter
2023-10-09 19:30   ` Marek Vasut

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox