Thread View: linux.debian.devel.release
1 messages
1 total messages
Started by Debian Bug Tracking System
Sat, 21 Nov 2026 09:40
Bug#1142976: marked as done (trixie-pu: package spice-vdagent/0.22.1-4.1+deb13u1)
Author: Debian Bug Tracking System
Date: Sat, 21 Nov 2026 09:40
Date: Sat, 21 Nov 2026 09:40
365 lines
16653 bytes
16653 bytes
This is a multi-part message in MIME format...
------------=_1795253344-3308268-0
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"
Your message dated Sat, 21 Nov 2026 09:28:03 +0000
with message-id <E1xUhO7-00000008t3X-3dHT@coccia.debian.org>
and subject line Released in 13.8
has caused the Debian Bug report #1142976,
regarding trixie-pu: package spice-vdagent/0.22.1-4.1+deb13u1
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)
--=20
1142976: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D1142976
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
------------=_1795253344-3308268-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
Received: (at submit) by bugs.debian.org; 29 Jul 2026 08:47:22 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
(2024-03-25) on buxtehude.debian.org
X-Spam-Level:
X-Spam-Status: No, score=-133.7 required=4.0 tests=ALL_TRUSTED,BAYES_00,
BODY_INCLUDES_CONTROL_AFFECTS,BODY_INCLUDES_PACKAGE,DKIMWL_WL_HIGH,
DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FOURLA,
FROMDEVELOPER,HAS_PACKAGE,MD5_SHA1_SUM,SPF_HELO_NONE,SPF_PASS,
USER_IN_DKIM_WELCOMELIST,WORD_WITHOUT_VOWELS,XMAILER_REPORTBUG
autolearn=ham autolearn_force=no
version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 85; hammy, 150; neutral, 325; spammy,
0. spammytokens:
hammytokens:0.000-+--Hx-spam-relays-external:sk:stravin,
0.000-+--H*RT:sk:stravin, 0.000-+--Hx-spam-relays-external:311,
0.000-+--H*RT:311, 0.000-+--H*RT:108
Return-path: <abhijith@debian.org>
Received: from stravinsky.debian.org ([2001:41b8:202:deb::311:108]:49812)
by buxtehude.debian.org with utf8esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
(Exim 4.96)
(envelope-from <abhijith@debian.org>)
id 1wozwg-00CepT-0m
for submit@bugs.debian.org;
Wed, 29 Jul 2026 08:47:22 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org;
s=smtpauto.stravinsky; h=X-Debian-User:Date:Message-ID:Subject:To:From:
MIME-Version:Content-Type:Reply-To:Cc:Content-Transfer-Encoding:Content-ID:
Content-Description:In-Reply-To:References;
bh=APjkVwo3XGTHdxn4t6ubCz2iAyJESWK49tpN1o5qR+0=; b=WpOUhEkh1Txg17Tjiap6LOy/A1
Z2hrGYkDwaiS6HteacsKhKVVee+6dlms1OekpWeJUsrHgxV/AJ9OWDPE50wBAIeS+HYP646V7b5bp
UTcwSug/h18nbRWRSrYjABZac1vNbThKYig5Qgb9QrrUmxH29BKqFHvlAg6afrzWOtdLhpbZqGbvG
J9riwvIymU00RHC4ejH2Y5Z9YkURJ8698LJyKF1qQwVTKn5htM0hyyqcNWYP4p4fuiSyWl5urb9Ma
EKy5leDSRDaQ+lyBTgJW9/ckLK6thEQwTK2JMZna54QH8E4P2ifIEIT3DUlp8Gf380hPK7Io9xHbG
Irnm/F7A==;
Received: from authenticated-user
by stravinsky.debian.org with utf8esmtpsa (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
(Exim 4.96)
(envelope-from <abhijith@debian.org>)
id 1wozwe-008KZT-19;
Wed, 29 Jul 2026 08:47:20 +0000
Content-Type: multipart/mixed; boundary="===============6314802961303793450=="
MIME-Version: 1.0
From: Abhijith PA <abhijith@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: trixie-pu: package spice-vdagent/0.22.1-4.1+deb13u1
Message-ID: <178531483724.9110.843882033478740483.reportbug@Adebian>
X-Mailer: reportbug 13.2.0
Date: Wed, 29 Jul 2026 14:17:17 +0530
X-Debian-User: abhijith
Delivered-To: submit@bugs.debian.org
This is a multi-part MIME message sent by reportbug.
--===============6314802961303793450==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Package: release.debian.org
Severity: normal
Tags: bookworm
X-Debbugs-Cc: spice-vdagent@packages.debian.org
Control: affects -1 + src:spice-vdagent
User: release.debian.org@packages.debian.org
Usertags: pu
Dear stable release managers, please consider spice-vdagent/0.22.1-4.1+deb13u1
for trixie
[ Reason ]
Two CVEs CVE-2026-57965 and CVE-2026-57966 reported against spice-vdagent
[ Impact ]
CVE-2026-57965 is a heap buffer overflow and CVE-2026-57966 is path
traversal vulnerability.
[ Tests ]
The package lack testsuite.
[ Risks ]
The security fix backported from upstream version 0.23.0 and the changes
compared to the version in stable is minimal and because of that patch fit
nicely
[ Checklist ]
[x] *all* changes are documented in the d/changelog
[x] I reviewed all changes and I approve them
[x] attach debdiff against the package in (old)stable
[x] the issue is verified as fixed in unstable
[ Changes ]
(Explain *all* the changes)
[ Other info ]
(Anything else the release team should know.)
--===============6314802961303793450==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="de.debdiff"
diff -Nru spice-vdagent-0.22.1/debian/changelog spice-vdagent-0.22.1/debian/changelog
--- spice-vdagent-0.22.1/debian/changelog 2024-07-17 22:22:52.000000000 +0530
+++ spice-vdagent-0.22.1/debian/changelog 2026-07-29 13:50:19.000000000 +0530
@@ -1,3 +1,11 @@
+spice-vdagent (0.22.1-4.1+deb13u1) trixie; urgency=medium
+
+ * Fix CVE-2026-57965: Heap buffer overflow (Closes: #1141318)
+ * Fix CVE-2026-57966: Path traversal vulnerability.
+ (Closes: #1141317)
+
+ -- Abhijith PA <abhijith@debian.org> Wed, 29 Jul 2026 13:50:19 +0530
+
spice-vdagent (0.22.1-4.1) unstable; urgency=medium
* Non-maintainer upload.
diff -Nru spice-vdagent-0.22.1/debian/patches/CVE-2026-57965.patch spice-vdagent-0.22.1/debian/patches/CVE-2026-57965.patch
--- spice-vdagent-0.22.1/debian/patches/CVE-2026-57965.patch 1970-01-01 05:30:00.000000000 +0530
+++ spice-vdagent-0.22.1/debian/patches/CVE-2026-57965.patch 2026-07-29 13:49:23.000000000 +0530
@@ -0,0 +1,37 @@
+From e379398607671764b23e92cb81b7fa729ba64a3c Mon Sep 17 00:00:00 2001
+From: Vinz Spring <vinzs@amazon.de>
+Date: Fri, 17 Jul 2026 13:55:32 +0000
+Subject: [PATCH] fix(udscs): Prevent integer overflow in udscs_write()
+ buf_size calculation
+
+Add a bounds check rejecting messages where size > UINT32_MAX - sizeof(header)
+before computing buf_size = sizeof(header) + size. This prevents the 32-bit
+unsigned integer wraparound that leads to a tiny allocation followed by a
+massive heap-buffer-overflow memcpy, crashing the daemon (DoS).
+
+CVE: CVE-2026-57965
+---
+ src/udscs.c | 7 +++++++
+ 1 file changed, 7 insertions(+)
+
+diff --git a/src/udscs.c b/src/udscs.c
+index 6c50f76..4b121ff 100644
+--- a/src/udscs.c
++++ b/src/udscs.c
+@@ -141,6 +141,13 @@ void udscs_write(UdscsConnection *conn, uint32_t type, uint32_t arg1,
+ guint buf_size;
+ struct udscs_message_header header;
+
++ /* CVE-2026-57965: Prevent integer overflow in buf_size calculation.
++ * sizeof(header) + size must not wrap a 32-bit unsigned integer. */
++ if (size > UINT32_MAX - sizeof(header)) {
++ syslog(LOG_ERR, "udscs_write: message size %u too large, dropping", size);
++ return;
++ }
++
+ buf_size = sizeof(header) + size;
+ buf = g_malloc(buf_size);
+
+--
+GitLab
+
diff -Nru spice-vdagent-0.22.1/debian/patches/CVE-2026-57966.patch spice-vdagent-0.22.1/debian/patches/CVE-2026-57966.patch
--- spice-vdagent-0.22.1/debian/patches/CVE-2026-57966.patch 1970-01-01 05:30:00.000000000 +0530
+++ spice-vdagent-0.22.1/debian/patches/CVE-2026-57966.patch 2026-07-29 13:49:33.000000000 +0530
@@ -0,0 +1,95 @@
+From c2eaec460acb555d4c0ceb244a0782b50745b278 Mon Sep 17 00:00:00 2001
+From: Vinz Spring <vinzs@amazon.de>
+Date: Fri, 17 Jul 2026 13:55:37 +0000
+Subject: [PATCH] fix(file-xfers): Reject path traversal in file transfer
+ filenames
+
+Add is_safe_filename() validation in vdagent_file_xfers_create_file() that
+rejects filenames containing '..' path components or absolute paths. This
+prevents a malicious SPICE host from writing arbitrary files outside the
+intended save directory via crafted file transfer names.
+
+CVE: CVE-2026-57966
+---
+ src/vdagent/file-xfers.c | 29 +++++++++++++++++++++++++++++
+ tests/test-file-xfers.c | 10 ++++++++++
+ 2 files changed, 39 insertions(+)
+
+diff --git a/src/vdagent/file-xfers.c b/src/vdagent/file-xfers.c
+index 4898fc0..2c3fac7 100644
+--- a/src/vdagent/file-xfers.c
++++ b/src/vdagent/file-xfers.c
+@@ -22,6 +22,7 @@
+
+ #include <stdio.h>
+ #include <stdlib.h>
++#include <stdbool.h>
+ #include <inttypes.h>
+ #include <string.h>
+ #include <syslog.h>
+@@ -178,6 +179,29 @@ static uint64_t get_free_space_available(const char *path)
+ return stat.f_bsize * stat.f_bavail;
+ }
+
++/* File transfers may contain relative subdirectories, but must remain below
++ * the configured save directory. */
++static bool
++is_safe_relative_path(const char *filename)
++{
++ const char *component = filename;
++
++ if (filename[0] == '\0' || g_path_is_absolute(filename))
++ return false;
++
++ while (component != NULL) {
++ const char *separator = strchr(component, G_DIR_SEPARATOR);
++ size_t length = separator != NULL ? separator - component : strlen(component);
++
++ if (length == 2 && component[0] == '.' && component[1] == '.')
++ return false;
++
++ component = separator != NULL ? separator + 1 : NULL;
++ }
++
++ return true;
++}
++
+ int
+ vdagent_file_xfers_create_file(const char *save_dir, char **file_name_p)
+ {
+@@ -187,6 +211,11 @@ vdagent_file_xfers_create_file(const char *save_dir, char **file_name_p)
+ int file_fd = -1;
+ int i;
+
++ if (!is_safe_relative_path(*file_name_p)) {
++ syslog(LOG_ERR, "file-xfer: rejecting unsafe filename: %s", *file_name_p);
++ return -1;
++ }
++
+ file_path = g_build_filename(save_dir, *file_name_p, NULL);
+ dir = g_path_get_dirname(file_path);
+ if (g_mkdir_with_parents(dir, S_IRWXU) == -1) {
+diff --git a/tests/test-file-xfers.c b/tests/test-file-xfers.c
+index 9995336..b734f91 100644
+--- a/tests/test-file-xfers.c
++++ b/tests/test-file-xfers.c
+@@ -64,6 +64,16 @@ int main(int argc, char *argv[])
+ // create a file in a subdirectory not existing
+ test_file("subdir/test.txt", "./test-dir/subdir/test.txt");
+
++ // reject paths that can escape the destination directory
++ test_file("../escape.txt", NULL);
++ test_file("subdir/../../escape.txt", NULL);
++ test_file("/tmp/escape.txt", NULL);
++ test_file("", NULL);
++
++ // allow dots that are not parent-directory components
++ test_file(".hidden", "./test-dir/.hidden");
++ test_file("subdir/file..txt", "./test-dir/subdir/file..txt");
++
+ // create a file in a directory with no permissions
+ assert(system("ln -s /proc/1 test-dir/baddir") == 0);
+ test_file("baddir/test2.txt", NULL);
+--
+GitLab
+
diff -Nru spice-vdagent-0.22.1/debian/patches/series spice-vdagent-0.22.1/debian/patches/series
--- spice-vdagent-0.22.1/debian/patches/series 2023-11-21 12:23:12.000000000 +0530
+++ spice-vdagent-0.22.1/debian/patches/series 2026-07-29 13:49:33.000000000 +0530
@@ -1,2 +1,4 @@
systemd_service_default_file.patch
disable_test_session_info.patch
+CVE-2026-57965.patch
+CVE-2026-57966.patch
--===============6314802961303793450==--
------------=_1795253344-3308268-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
Received: (at 1142976-done) by bugs.debian.org; 21 Nov 2026 09:28:06 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
(2024-03-25) on buxtehude.debian.org
X-Spam-Level:
X-Spam-Status: No, score=-106.2 required=4.0 tests=ALL_TRUSTED,BAYES_00,
DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,
SPF_PASS,USER_IN_DKIM_WELCOMELIST,VERSION autolearn=ham
autolearn_force=no version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 6; hammy, 74; neutral, 16; spammy, 0.
spammytokens: hammytokens:0.000-+--H*r:sk:coccia., 0.000-+--H*m:coccia,
0.000-+--H*MI:coccia, 0.000-+--H*r:submission, 0.000-+--H*F:U*jmw
Return-path: <jmw@coccia.debian.org>
Received: from mailly.debian.org ([2001:41b8:202:deb:6564:a62:52c3:4b72]:41414)
by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
(Exim 4.96)
(envelope-from <jmw@coccia.debian.org>)
id 1xUhOB-00Dru8-0w
for 1142976-done@bugs.debian.org;
Sat, 21 Nov 2026 09:28:06 +0000
Received: via submission
from C=NA,ST=NA,L=Ankh Morpork,O=Debian SMTP,OU=Debian SMTP CA,CN=coccia.debian.org,EMAIL=hostmaster@coccia.debian.org (verified)
by mailly.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
(Exim 4.96)
(envelope-from <jmw@coccia.debian.org>)
id 1xUhO9-004hwx-0V
for 1142976-done@bugs.debian.org;
Sat, 21 Nov 2026 09:28:05 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
d=coccia.debian.org; s=smtpauto.coccia; h=Date:From:Message-Id:
Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:To:Reply-To:Cc:
Content-ID:Content-Description:In-Reply-To:References;
bh=j3C+QfqZhEAyGCz+F5Nny7uVPSJTnuL2JF6zBnHyDlM=; b=yreZARjsemMfGcudujGrjmZ8WF
HUmZlQ9WO4zQXm3GDWpzy2rB6AQG48upvUTHAXVy5k8Rb1MkDde9ciwxtWvGU2mMznlMYzc41Shdv
47mUJEP1v/xOcM3kCl5uvViNHbCU2JEPol61/wnnTbrWUEKtBmEhigiecjWjfZTXnpNe3kAVKH12c
W1vJPCHRVTGl5/zG4bjOuxfDBGmnfl7fZ0PYEM0/2Vq4o3ufMnhqTXkuaakeVhdPG6xh4R0P9IKmC
UqTd9Jnp1C02yqfJTFR+C89iOLn7noLp+y/4Ep5xQ+80Zz6Psqt1RsUKdbgIEyUa70+2nThGnID2D
YTf4F5AQ==;
Received: from jmw by coccia.debian.org with local (Exim 4.98.2)
(envelope-from <jmw@coccia.debian.org>)
id 1xUhO7-00000008t3X-3dHT
for 1142976-done@bugs.debian.org;
Sat, 21 Nov 2026 09:28:03 +0000
To: 1142976-done@bugs.debian.org
Subject: Released in 13.8
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 8bit
Message-Id: <E1xUhO7-00000008t3X-3dHT@coccia.debian.org>
From: Jonathan Wiltshire <jmw@coccia.debian.org>
Date: Sat, 21 Nov 2026 09:28:03 +0000
X-CrossAssassin-Score: 72
Version: 13.8
This update was released as part of 13.8.
------------=_1795253344-3308268-0--
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads