public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python3-rpm] epel8: CVE-2026-84837: Prevent command injection via rpmbuild -t filename
@ 2026-11-23 17:23 Michal Domonkos
  0 siblings, 0 replies; only message in thread
From: Michal Domonkos @ 2026-11-23 17:23 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/python3-rpm
            Branch : epel8
            Commit : 2ebc1289297c66e6e25326670fac856457e9d347
            Author : Michal Domonkos <mdomonko@redhat.com>
            Date   : 2026-11-10T09:28:26+01:00
            Stats  : +577/-1 in 5 file(s)
            URL    : https://src.fedoraproject.org/rpms/python3-rpm/c/2ebc1289297c66e6e25326670fac856457e9d347?branch=epel8

            Log:
            CVE-2026-84837: Prevent command injection via rpmbuild -t filename

Resolves: RHEL-253135

---
diff --git a/0001-Extract-archiver-detection-out-of-doUncompress.patch b/0001-Extract-archiver-detection-out-of-doUncompress.patch
new file mode 100644
index 0000000..36ede18
--- /dev/null
+++ b/0001-Extract-archiver-detection-out-of-doUncompress.patch
@@ -0,0 +1,153 @@
+From e231b5bc8a8cb73d509f1a681ab70072a494d3c6 Mon Sep 17 00:00:00 2001
+From: Michal Domonkos <mdomonko@redhat.com>
+Date: Fri, 23 Oct 2026 14:01:04 +0200
+Subject: [PATCH 1/3] Extract archiver detection out of doUncompress()
+
+Move the logic to determine the command line string to an internal macro
+API function called rpmGetArchiver(). This will be needed in the
+subsequent commit.
+
+No functional change.
+
+Backported from commit 7aabd4c44b5cf015ac3854cc16fc23e23a87f224:
+
+- There's no doUncompress() yet and the logic is in doFoo(), so adjust
+  that instead.
+
+- There's also no rpmio/rpmmacro_internal.h so declare rpmGetArchive()
+  in rpmio/rpmio_internal.h instead (not ideal, but this is not a beauty
+  contest).
+---
+ rpmio/macro.c          | 80 +++++++++++++++++++++++++-----------------
+ rpmio/rpmio_internal.h |  8 +++++
+ 2 files changed, 55 insertions(+), 33 deletions(-)
+
+diff --git a/rpmio/macro.c b/rpmio/macro.c
+index ed10d93d8..067152064 100644
+--- a/rpmio/macro.c
++++ b/rpmio/macro.c
+@@ -34,6 +34,7 @@ extern int optind;
+ #include "rpmio/rpmlua.h"
+ #endif
+ 
++#include "rpmio/rpmio_internal.h"
+ #include "debug.h"
+ 
+ enum macroFlags_e {
+@@ -931,44 +932,14 @@ doFoo(MacroBuf mb, int negate, const char * f, size_t fn,
+ 	(void)urlPath(buf, (const char **)&b);
+ 	if (*b == '\0') b = "/";
+     } else if (STREQ("uncompress", f, fn)) {
+-	rpmCompressedMagic compressed = COMPRESSED_OTHER;
++	const char *cmd = NULL;
+ 	for (b = buf; (c = *b) && isblank(c);)
+ 	    b++;
+ 	for (be = b; (c = *be) && !isblank(c);)
+ 	    be++;
+ 	*be++ = '\0';
+-	(void) rpmFileIsCompressed(b, &compressed);
+-	switch (compressed) {
+-	default:
+-	case COMPRESSED_NOT:
+-	    sprintf(be, "%%__cat %s", b);
+-	    break;
+-	case COMPRESSED_OTHER:
+-	    sprintf(be, "%%__gzip -dc %s", b);
+-	    break;
+-	case COMPRESSED_BZIP2:
+-	    sprintf(be, "%%__bzip2 -dc %s", b);
+-	    break;
+-	case COMPRESSED_ZIP:
+-	    sprintf(be, "%%__unzip %s", b);
+-	    break;
+-        case COMPRESSED_LZMA:
+-        case COMPRESSED_XZ:
+-            sprintf(be, "%%__xz -dc %s", b);
+-            break;
+-	case COMPRESSED_LZIP:
+-	    sprintf(be, "%%__lzip -dc %s", b);
+-	    break;
+-	case COMPRESSED_LRZIP:
+-	    sprintf(be, "%%__lrzip -dqo- %s", b);
+-	    break;
+-	case COMPRESSED_7ZIP:
+-	    sprintf(be, "%%__7zip x %s", b);
+-	    break;
+-	case COMPRESSED_ZSTD:
+-	    sprintf(be, "%%__zstd -dc %s", b);
+-	    break;
+-	}
++	cmd = rpmGetArchiver(b);
++	sprintf(be, "%s%s", cmd, b);
+ 	b = be;
+     } else if (STREQ("getenv", f, fn)) {
+ 	b = getenv(buf);
+@@ -1751,3 +1722,46 @@ rpmExpandNumeric(const char *arg)
+ 
+     return rc;
+ }
++
++const char *
++rpmGetArchiver(const char *fn)
++{
++    rpmCompressedMagic compressed = COMPRESSED_OTHER;
++    const char *s = NULL;
++
++    rpmFileIsCompressed(fn, &compressed);
++
++    switch (compressed) {
++    default:
++    case COMPRESSED_NOT:
++	s = "%__cat ";
++	break;
++    case COMPRESSED_OTHER:
++	s = "%__gzip -dc ";
++	break;
++    case COMPRESSED_BZIP2:
++	s = "%__bzip2 -dc ";
++	break;
++    case COMPRESSED_ZIP:
++	s = "%__unzip ";
++	break;
++    case COMPRESSED_LZMA:
++    case COMPRESSED_XZ:
++	s = "%__xz -dc ";
++	break;
++    case COMPRESSED_LZIP:
++	s = "%__lzip -dc ";
++	break;
++    case COMPRESSED_LRZIP:
++	s = "%__lrzip -dqo- ";
++	break;
++    case COMPRESSED_7ZIP:
++	s = "%__7zip x ";
++	break;
++    case COMPRESSED_ZSTD:
++	s = "%__zstd -dc ";
++	break;
++    }
++
++    return s;
++}
+diff --git a/rpmio/rpmio_internal.h b/rpmio/rpmio_internal.h
+index 370cbdc75..5e9fb789f 100644
+--- a/rpmio/rpmio_internal.h
++++ b/rpmio/rpmio_internal.h
+@@ -47,6 +47,14 @@ int rpmioSlurp(const char * fn,
+  */
+ void rpmSetCloseOnExec(void);
+ 
++/** \ingroup rpmmacro
++ * Return a command line (without fn) for extracting the archive fn.
++ * Always returns a command line, even on failure.
++ * @param fn		filename of the archive
++ * @return		command line (with a trailing space)
++ */
++const char *rpmGetArchiver(const char *fn);
++
+ #ifdef __cplusplus
+ }
+ #endif
+-- 
+2.56.0
+

diff --git a/0001-Fix-rpopen-rpclose-and-make-them-more-POSIXy.patch b/0001-Fix-rpopen-rpclose-and-make-them-more-POSIXy.patch
new file mode 100644
index 0000000..00630db
--- /dev/null
+++ b/0001-Fix-rpopen-rpclose-and-make-them-more-POSIXy.patch
@@ -0,0 +1,153 @@
+From b06abe93021671c34b74bf7fd0804bd3ff694cd4 Mon Sep 17 00:00:00 2001
+From: Michal Domonkos <mdomonko@redhat.com>
+Date: Tue, 3 Nov 2026 08:48:11 +0100
+Subject: [PATCH] Fix rpopen()/rpclose() and make them more POSIXy
+
+Commit 7a4111bc5db4053e5381b65306903837763e7f11 introduced this new pair
+of drop-in replacements for popen()/pclose() but did so somewhat poorly.
+Apart from obvious bugs, there are various less obvious issues that make
+the functions ever so slightly not POSIX conforming. We are not shipping
+them in a generic library, obviously, but the internal callers that used
+to call the original functions could, at least in theory, be affected in
+some unexpected ways and cause regressions.
+
+Namely, the following issues were found:
+
+- rpclose() returned the extracted exit status from the child instead of
+  the original status from waitpid(2), which caused a child exit status
+  of 128 to be considered a "success" in rpmuncompress, oops
+- rpclose() waited on any child, not just the one spawned with rpopen()
+- EINTR wasn't ignored while busy waiting in rpclose()
+- pipe ends weren't always closed in case of failures
+- rpclose() only closed the stream after waiting on the child
+- the child didn't return 127 if the shell couldn't be invoked
+- the shell command didn't use -- to signal the end of options
+
+Fix the issues, and while at it, name the FILE pointer "fp" rather than
+"stream" and use do-while rather than while, for better consistency with
+the existing code as well as readability. Also do some refactoring there
+and add a couple of comments.
+
+Related: CVE-2026-84837, CVE-2026-84838
+Fixes: #4385
+(cherry picked from commit b9127abde15ec1a5d936891f7d5f78ddc5b689ff)
+---
+ cliutils.c | 58 ++++++++++++++++++++++++++++++++----------------------
+ cliutils.h |  2 +-
+ 2 files changed, 36 insertions(+), 24 deletions(-)
+
+diff --git a/cliutils.c b/cliutils.c
+index 6547e7bdb..5edb9fea7 100644
+--- a/cliutils.c
++++ b/cliutils.c
+@@ -14,6 +14,7 @@
+ #include "debug.h"
+ 
+ static pid_t pipeChild = 0;
++static pid_t rpopenChild = 0;
+ 
+ RPM_GNUC_NORETURN
+ void argerror(const char * desc)
+@@ -89,53 +90,64 @@ int finishPipe(void)
+ 
+ FILE* rpopen(const char *cmd, const char *arg, ...)
+ {
+-    FILE *stream = NULL;
++    FILE *fp = NULL;
++    int pipefd[2];
+     ARGV_t argv = NULL;
+     va_list ap;
+-    int pipefd[2];
+-    pid_t pid;
+ 
+     if (pipe(pipefd) < 0)
+-	goto exit;
++	return NULL;
++
++    if ((fp = fdopen(pipefd[0], "r")) == NULL) {
++	close(pipefd[0]);
++	close(pipefd[1]);
++	return NULL;
++    }
+ 
+     argvAdd(&argv, "/bin/sh");
+     argvAdd(&argv, "-c");
+-    argvAdd(&argv, cmd);
+-    argvAdd(&argv, "sh");
++    argvAdd(&argv, "--");
++    argvAdd(&argv, cmd);    /* User command */
++    argvAdd(&argv, "sh");   /* Shell name ($0) */
+ 
++    /* User positional parameters ($1, $2, ...) */
+     va_start(ap, arg);
+     for (const char *s = arg; s != NULL; s = va_arg(ap, const char *))
+ 	argvAdd(&argv, s);
+     va_end(ap);
+ 
+-    if ((pid = fork()) == 0) {
++    if ((rpopenChild = fork()) == 0) {
+ 	dup2(pipefd[1], STDOUT_FILENO);
++	close(pipefd[1]);
+ 	close(pipefd[0]);
+ 	execv(argv[0], argv);
+-	_exit(EXIT_FAILURE);
+-    } else if (pid == -1) {
+-	goto exit;
++	_exit(127);
++    } else if (rpopenChild == -1) {
++	fclose(fp);
++	fp = NULL;
+     }
+ 
+     close(pipefd[1]);
+-    stream = fdopen(pipefd[0], "r");
+-
+-exit:
+     argvFree(argv);
+-    return stream;
++
++    return fp;
+ }
+ 
+-int rpclose(FILE *stream)
++int rpclose(FILE *fp)
+ {
+-    int rc = -1;
+-    int status;
++    int status = -1;
++    pid_t reaped;
+ 
+-    if ((waitpid(-1, &status, 0) == -1) || !WIFEXITED(status))
+-	goto exit;
++    if (rpopenChild <= 0)
++	return -1;
+ 
+-    rc = WEXITSTATUS(status);
++    fclose(fp);
++    do {
++	reaped = waitpid(rpopenChild, &status, 0);
++    } while (reaped == -1 && errno == EINTR);
+ 
+-exit:
+-    fclose(stream);
+-    return rc;
++    if (reaped == -1)
++	return -1;
++
++    return status;
+ }
+diff --git a/cliutils.h b/cliutils.h
+index 4aee1ae72..600ccfa95 100644
+--- a/cliutils.h
++++ b/cliutils.h
+@@ -28,6 +28,6 @@ int finishPipe(void);
+  * $2, and so on.
+  */
+ FILE *rpopen(const char *cmd, const char *arg, ...) RPM_GNUC_NULL_TERMINATED;
+-int rpclose(FILE *stream);
++int rpclose(FILE *fp);
+ 
+ #endif /* _CLIUTIL_H */
+-- 
+2.56.0
+

diff --git a/0002-Prevent-command-injection-via-rpmbuild-t-filename.patch b/0002-Prevent-command-injection-via-rpmbuild-t-filename.patch
new file mode 100644
index 0000000..4375a06
--- /dev/null
+++ b/0002-Prevent-command-injection-via-rpmbuild-t-filename.patch
@@ -0,0 +1,180 @@
+From 0dd84e76096aae8fa434fe7e1684c0dc431c8ca4 Mon Sep 17 00:00:00 2001
+From: Michal Domonkos <mdomonko@redhat.com>
+Date: Mon, 7 Sep 2026 14:41:39 +0200
+Subject: [PATCH 2/3] Prevent command injection via rpmbuild -t filename
+
+Commit 2a11eb3e4e51094082e0123aebd797ec051dc094 fixed command injection
+via spec file entries, but there's another case where we pass some data
+controlled by the tarball through macro or shell expansion: the filename
+argument itself.
+
+This happens in three places during tarball decompression: the first two
+are in getTarSpec() where we construct and execute the shell command for
+spec file extraction using rpmExpand() and popen(3), respectively, which
+leads to the third one where we execute the actual decompression utility
+using popen(3) in rpmuncompress. The filename gets passed through all of
+these steps, and can cause arbitrary shell code execution in each one.
+
+Fix that by passing the filename as a positional argument when invoking
+the shell so that the command can reference it through the hardcoded $1
+parameter instead of the filename directly. Add our own popen(3) version
+for this purpose that takes an additional argument to be passed as $1 to
+the shell, to preserve the surrounding logic and keep the patch minimal.
+Hardcode /bin/sh as the shell since that's what popen(3) claims to do.
+
+Don't bother with write mode support like the original function, though,
+it can always be added later if this new version turns out to be useful
+elsewhere. Add also a pclose(3) equivalent, just for consistency, since
+the original call would probably work fine when passed the FILE stream
+created by us.
+
+Adjust the rpmuncompress output when in verbose/dry mode so that it is
+preserved exactly. That means, generate the shell command again but this
+time with the actual filename (enclosed in single quotes), and use that
+for printing. Note that this has to happen in *addition* to the default
+command that uses $1 since we need both variants when in verbose mode.
+
+Enable the tests added in the previous commit as they are now expected
+to pass.
+
+Long-term, a better solution would be to split the shell commands such
+that the simple program invocations that need the filename can be done
+with a plain fork-exec instead of popen(3), or better yet, to just port
+the internals to libarchive. But either is much more complex and would
+make the patch more difficult to backport, so let's just stick with the
+uglier fix for now.
+
+Fixes: CVE-2026-84837, CVE-2026-84838
+
+Backported from commit 7a4111bc5db4053e5381b65306903837763e7f11:
+
+- This codebase is only affected by CVE-2026-84837 (rpmbuild -ts), that
+  is, in the getTarSpec() function, since the rpmuncompress utility
+  isn't present yet.
+
+- Obtain the uncompress command line separately by using the newly added
+  rpmGetArchiver() function. This is needed in order to prevent the
+  macro injection flaw since the %{uncompress} macro also does the
+  detection (and thus requires an actual filename on disk to open),
+  unlike in the later versions where it merely expands to the
+  rpmuncompress path.
+---
+ cliutils.c | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
+ cliutils.h |  7 +++++++
+ rpmbuild.c |  9 ++++++---
+ 3 files changed, 61 insertions(+), 3 deletions(-)
+
+diff --git a/cliutils.c b/cliutils.c
+index 772a105ec..2231ed1f1 100644
+--- a/cliutils.c
++++ b/cliutils.c
+@@ -86,3 +86,51 @@ int finishPipe(void)
+     }
+     return rc;
+ }
++
++FILE* rpopen(const char *cmd, const char *arg)
++{
++    FILE *stream = NULL;
++    ARGV_t argv = NULL;
++    int pipefd[2];
++    pid_t pid;
++
++    if (pipe(pipefd) < 0)
++	goto exit;
++
++    argvAdd(&argv, "/bin/sh");
++    argvAdd(&argv, "-c");
++    argvAdd(&argv, cmd);
++    argvAdd(&argv, "sh");
++    argvAdd(&argv, arg);
++
++    if ((pid = fork()) == 0) {
++	dup2(pipefd[1], STDOUT_FILENO);
++	close(pipefd[0]);
++	execv(argv[0], argv);
++	_exit(EXIT_FAILURE);
++    } else if (pid == -1) {
++	goto exit;
++    }
++
++    close(pipefd[1]);
++    stream = fdopen(pipefd[0], "r");
++
++exit:
++    argvFree(argv);
++    return stream;
++}
++
++int rpclose(FILE *stream)
++{
++    int rc = -1;
++    int status;
++
++    if ((waitpid(-1, &status, 0) == -1) || !WIFEXITED(status))
++	goto exit;
++
++    rc = WEXITSTATUS(status);
++
++exit:
++    fclose(stream);
++    return rc;
++}
+diff --git a/cliutils.h b/cliutils.h
+index b5deee1ba..cda4bebdf 100644
+--- a/cliutils.h
++++ b/cliutils.h
+@@ -22,4 +22,11 @@ int initPipe(void);
+ 
+ int finishPipe(void);
+ 
++/*
++ * A safe, read-only variant of popen(3) that passes untrusted input (arg) as a
++ * positional argument to sh(1) where the command (cmd) can read it via $1.
++ */
++FILE *rpopen(const char *cmd, const char *arg);
++int rpclose(FILE *stream);
++
+ #endif /* _CLIUTIL_H */
+diff --git a/rpmbuild.c b/rpmbuild.c
+index ffb61fc80..cf0e1d244 100644
+--- a/rpmbuild.c
++++ b/rpmbuild.c
+@@ -15,6 +15,7 @@
+ #include "lib/signature.h"
+ #include "cliutils.h"
+ 
++#include "rpmio/rpmio_internal.h"
+ #include "debug.h"
+ 
+ static struct rpmBuildArguments_s rpmBTArgs;
+@@ -353,13 +354,15 @@ static char * getTarSpec(const char *arg)
+     for (spec = tryspec; *spec != NULL; spec++) {
+ 	FILE *fp;
+ 	char *cmd;
++	const char *uncmd = NULL;
+ 	int specfiles = 0;
+ 
+-	cmd = rpmExpand("%{uncompress: ", arg, "} | ",
++	uncmd = rpmGetArchiver(arg);
++	cmd = rpmExpand(uncmd, "\"$1\" | ",
+ 			"%{__tar} xOvof - --wildcards ", *spec,
+ 			" 2>&1 > ", tmpSpecFile, NULL);
+ 
+-	if (!(fp = popen(cmd, "r"))) {
++	if (!(fp = rpopen(cmd, arg))) {
+ 	    rpmlog(RPMLOG_ERR, _("Failed to open tar pipe: %m\n"));
+ 	} else {
+ 	    char *fok;
+@@ -372,7 +375,7 @@ static char * getTarSpec(const char *arg)
+ 		}
+ 		specfiles++;
+ 	    }
+-	    pclose(fp);
++	    rpclose(fp);
+ 	    gotspec = (specfiles == 1) && isSpecFile(tmpSpecFile);
+ 	    if (specfiles > 1) {
+ 		rpmlog(RPMLOG_ERR, _("Found more than one spec file in %s\n"), arg);
+-- 
+2.56.0
+

diff --git a/0003-Add-a-variable-argument-list-to-rpopen.patch b/0003-Add-a-variable-argument-list-to-rpopen.patch
new file mode 100644
index 0000000..e801944
--- /dev/null
+++ b/0003-Add-a-variable-argument-list-to-rpopen.patch
@@ -0,0 +1,82 @@
+From 5d440821598ebeca758c5c5f4f2dda88f04b9038 Mon Sep 17 00:00:00 2001
+From: Michal Domonkos <mdomonko@redhat.com>
+Date: Thu, 22 Oct 2026 09:11:51 +0200
+Subject: [PATCH 3/3] Add a variable argument list to rpopen()
+
+Accept multiple positional arguments for the shell instead of just one.
+This will be needed in the next commits.
+
+No functional change.
+
+Backported from commit e7a086a8e203f123fbd37ead9b52188d1302ce0e.
+---
+ cliutils.c | 9 +++++++--
+ cliutils.h | 7 ++++---
+ rpmbuild.c | 2 +-
+ 3 files changed, 12 insertions(+), 6 deletions(-)
+
+diff --git a/cliutils.c b/cliutils.c
+index 2231ed1f1..6547e7bdb 100644
+--- a/cliutils.c
++++ b/cliutils.c
+@@ -87,10 +87,11 @@ int finishPipe(void)
+     return rc;
+ }
+ 
+-FILE* rpopen(const char *cmd, const char *arg)
++FILE* rpopen(const char *cmd, const char *arg, ...)
+ {
+     FILE *stream = NULL;
+     ARGV_t argv = NULL;
++    va_list ap;
+     int pipefd[2];
+     pid_t pid;
+ 
+@@ -101,7 +102,11 @@ FILE* rpopen(const char *cmd, const char *arg)
+     argvAdd(&argv, "-c");
+     argvAdd(&argv, cmd);
+     argvAdd(&argv, "sh");
+-    argvAdd(&argv, arg);
++
++    va_start(ap, arg);
++    for (const char *s = arg; s != NULL; s = va_arg(ap, const char *))
++	argvAdd(&argv, s);
++    va_end(ap);
+ 
+     if ((pid = fork()) == 0) {
+ 	dup2(pipefd[1], STDOUT_FILENO);
+diff --git a/cliutils.h b/cliutils.h
+index cda4bebdf..4aee1ae72 100644
+--- a/cliutils.h
++++ b/cliutils.h
+@@ -23,10 +23,11 @@ int initPipe(void);
+ int finishPipe(void);
+ 
+ /*
+- * A safe, read-only variant of popen(3) that passes untrusted input (arg) as a
+- * positional argument to sh(1) where the command (cmd) can read it via $1.
++ * A safe, read-only variant of popen(3) that passes untrusted input (args) as
++ * positional arguments to sh(1) where the command (cmd) can read them via $1,
++ * $2, and so on.
+  */
+-FILE *rpopen(const char *cmd, const char *arg);
++FILE *rpopen(const char *cmd, const char *arg, ...) RPM_GNUC_NULL_TERMINATED;
+ int rpclose(FILE *stream);
+ 
+ #endif /* _CLIUTIL_H */
+diff --git a/rpmbuild.c b/rpmbuild.c
+index cf0e1d244..eaba37b85 100644
+--- a/rpmbuild.c
++++ b/rpmbuild.c
+@@ -362,7 +362,7 @@ static char * getTarSpec(const char *arg)
+ 			"%{__tar} xOvof - --wildcards ", *spec,
+ 			" 2>&1 > ", tmpSpecFile, NULL);
+ 
+-	if (!(fp = rpopen(cmd, arg))) {
++	if (!(fp = rpopen(cmd, arg, NULL))) {
+ 	    rpmlog(RPMLOG_ERR, _("Failed to open tar pipe: %m\n"));
+ 	} else {
+ 	    char *fok;
+-- 
+2.56.0
+

diff --git a/rpm.spec b/rpm.spec
index 5066d5c..e215259 100644
--- a/rpm.spec
+++ b/rpm.spec
@@ -32,7 +32,7 @@
 
 %global rpmver 4.14.3
 #global snapver rc2
-%global rel 33
+%global rel 34
 
 %global srcver %{version}%{?snapver:-%{snapver}}
 %global srcdir %{?snapver:testing}%{!?snapver:%{name}-%(echo %{version} | cut -d'.' -f1-2).x}
@@ -147,6 +147,10 @@ Patch512: 0003-Fix-root-relocation-regression.patch
 Patch513: 0004-Report-unsafe-symlinks-during-installation-as-a-spec.patch
 Patch514: 0005-Fix-FA_TOUCH-ed-files-getting-removed-on-failed-upda.patch
 Patch515: 0001-Prevent-command-injection-via-rpmbuild-t.patch
+Patch516: 0001-Extract-archiver-detection-out-of-doUncompress.patch
+Patch517: 0002-Prevent-command-injection-via-rpmbuild-t-filename.patch
+Patch518: 0003-Add-a-variable-argument-list-to-rpopen.patch
+Patch519: 0001-Fix-rpopen-rpclose-and-make-them-more-POSIXy.patch
 
 # These are not yet upstream
 # Audit support
@@ -717,6 +721,10 @@ make check || cat tests/rpmtests.log
 %doc doc/librpm/html/*
 
 %changelog
+* Mon Nov 09 2026 Michal Domonkos <mdomonko@redhat.com> - 4.14.3-34
+- CVE-2026-84837: Prevent command injection via rpmbuild -t filename (RHEL-253135)
+- Fix rpopen()/rpclose() and make them more POSIXy (RHEL-253135)
+
 * Thu Oct 15 2026 Michal Domonkos <mdomonko@redhat.com> - 4.14.3-33
 - CVE-2026-78367: Prevent command injection via rpmbuild -t (RHEL-247307)
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-23 17:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-23 17:23 [rpms/python3-rpm] epel8: CVE-2026-84837: Prevent command injection via rpmbuild -t filename Michal Domonkos

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