From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id mCc1ENU8U2BAJwAA0tVLHw (envelope-from ) for ; Thu, 18 Mar 2021 11:43:17 +0000 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id qBLaC9U8U2CEPwAAbx9fmQ (envelope-from ) for ; Thu, 18 Mar 2021 11:43:17 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 7B61A161ED for ; Thu, 18 Mar 2021 12:43:16 +0100 (CET) Received: from localhost ([::1]:33852 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lMr3b-0000hl-2j for larch@yhetil.org; Thu, 18 Mar 2021 07:43:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47448) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lMr3O-0000he-HP for bug-guix@gnu.org; Thu, 18 Mar 2021 07:43:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33740) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lMr3O-0000mu-9o for bug-guix@gnu.org; Thu, 18 Mar 2021 07:43:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lMr3O-0005Lf-7y for bug-guix@gnu.org; Thu, 18 Mar 2021 07:43:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#47231: sqlite package is vulnerable to CVE-2020-11655, CVE-2020-11656, CVE-2020-13434, CVE-2020-13435, CVE-2020-13630, CVE-2020-13631, CVE-2020-13632, CVE-2020-15358 and CVE-2020-9327 Resent-From: =?UTF-8?Q?L=C3=A9o?= Le Bouter Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 18 Mar 2021 11:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 47231 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 47231@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.161606777220540 (code B ref -1); Thu, 18 Mar 2021 11:43:02 +0000 Received: (at submit) by debbugs.gnu.org; 18 Mar 2021 11:42:52 +0000 Received: from localhost ([127.0.0.1]:45286 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lMr3B-0005LB-4y for submit@debbugs.gnu.org; Thu, 18 Mar 2021 07:42:52 -0400 Received: from lists.gnu.org ([209.51.188.17]:35464) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lMr39-0005L3-Nq for submit@debbugs.gnu.org; Thu, 18 Mar 2021 07:42:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47436) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lMr39-0000hP-Ei for bug-guix@gnu.org; Thu, 18 Mar 2021 07:42:47 -0400 Received: from mail.zaclys.net ([178.33.93.72]:34563) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lMr37-0000bz-7e for bug-guix@gnu.org; Thu, 18 Mar 2021 07:42:47 -0400 Received: from [192.168.0.27] (82-64-145-38.subs.proxad.net [82.64.145.38]) (authenticated bits=0) by mail.zaclys.net (8.14.7/8.14.7) with ESMTP id 12IBghcH007322 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Thu, 18 Mar 2021 12:42:43 +0100 DMARC-Filter: OpenDMARC Filter v1.3.2 mail.zaclys.net 12IBghcH007322 Authentication-Results: mail.zaclys.net; spf=fail smtp.mailfrom=lle-bout@zaclys.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zaclys.net; s=default; t=1616067763; bh=v53UTA74v4t9/UGf9YFhRUhgzKeHklPt7S9rkUmXqSE=; h=Subject:From:To:Date:From; b=MqBWWuOWs7ksZSD3bueF77bxPyT0Mw+TAtP47fnJ+t7pWGbQ5CkyY3deMAQt6Py4g QR+bRYZ/aZeUrZAMRxExYYiJYwJC/8pr0ozjSrs2vKHh1M4bfAjm2GnPMOl+nC2a7t 1ouwfLiBUu6zkCzSmnO/vauwWtg+Tj98T5AdKsE0= Message-ID: <0381641839f5d0e71cbb496b95b9947a2a2c2799.camel@zaclys.net> Date: Thu, 18 Mar 2021 12:42:43 +0100 Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-sO1O21U/DX32CHq1Rl+N" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 Received-SPF: pass client-ip=178.33.93.72; envelope-from=lle-bout@zaclys.net; helo=mail.zaclys.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" Reply-to: =?UTF-8?Q?L=C3=A9o?= Le Bouter From: =?UTF-8?Q?L=C3=A9o?= Le Bouter via Bug reports for GNU Guix X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1616067796; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=v53UTA74v4t9/UGf9YFhRUhgzKeHklPt7S9rkUmXqSE=; b=MCMKylefG3MlPaRcVsAXzR7ZnHiQaRRSlkZN/2YHYqdDdrj85VGQl0TsEvNKrEmzs2B/Up IJyGnvcLWd1USE31rpAG1fJ6XRa3mHx+Au0AnTBU/fPiRqPcH/mO4PTjXr2wW1InbXAAII 05dwC9kMxhvV4l1+sF7XY4WXq0MJp1eJGDhKh3BdYSUb9GWifTFH9KvMa2Jc45OZ0Nk/Hq OKhlwiktYcVlWBwC9U6HrAeVab6C0EN2osM9DbJSOui2nvCAdfrgfqrjisJQbEj7wDsd5l fc6J9QxlIhcJv0fVV1bsFC7cKofzd2Mg8Kvj5IBWq13aGzX18ZjXfOdL2e4cPw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1616067796; a=rsa-sha256; cv=none; b=dP6IQxMV1QFFRkTcYVTb1FhF5FwS6g6KQRtOOgtwnT/Ejbnapdv+4udvU4qkpfROOZ1E3p ZUbBgWmGYSsUIxqFdx4U9mI+ZIkwTp9UtYYtfWz5MeMqoOC5DKx1bbljed7KItg+ug0wXE tVixC1+BCPJ5QyCduy2LxrhnwIM34mo2ZK0nLHtwO8eWienoMj3ZqxnXWReZiIUPjnG98E +3uYeuKwwY5sph3w5HRs7UiBX/hup3gONNBmzFHHMt2aMxXgPFgh+wT6nMOg5OE6cCtF6I fl3/0o99nRo95em2Qh63XOzTD5Kv+rdDJlmeRr76mKaV/pKCyn9/6xarJos+qw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=zaclys.net header.s=default header.b=MqBWWuOW; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: -4.44 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=zaclys.net header.s=default header.b=MqBWWuOW; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 7B61A161ED X-Spam-Score: -4.44 X-Migadu-Scanner: scn0.migadu.com X-TUID: 3zfKT7ETwNSm --=-sO1O21U/DX32CHq1Rl+N Content-Type: multipart/mixed; boundary="=-5cpjFKBTzS7jBpJccBHa" --=-5cpjFKBTzS7jBpJccBHa Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable According to https://www.sqlite.org/versionnumbers.html major versions of sqlite remain = ABI and file format backwards compatible. It means we could graft without trouble, 3.32.3 fixes all CVEs, however 3.32 introduces a test failure in Python 3.8.2 which is an errorneous test testing internal sqlite implementation detail (but grafting wont actually re-run this test suite). See: https://bugs.python.org/issue40784 Otherwise I am still trying to run GNU Guix's own test suite on this but it turns out unnecessarily complicated, see=20 https://issues.guix.gnu.org/47230 for suggestions on improving that process. Attached WIP patch. Thank you! L=C3=A9o --=-5cpjFKBTzS7jBpJccBHa Content-Disposition: attachment; filename="0001-gnu-sqlite-Update-to-3.32.3-security-fixes.patch" Content-Type: text/x-patch; name="0001-gnu-sqlite-Update-to-3.32.3-security-fixes.patch"; charset="UTF-8" Content-Transfer-Encoding: base64 RnJvbSBiMGY5NTY2ZTlmZjlhNWY0MDlhM2ZkNDI5M2MwNDhlYzU4YmM3NzBkIE1vbiBTZXAgMTcg MDA6M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DI2IEBAIHdpZGVseSBkZXBsb3llZCBTUUwgZGF0YWJhc2UgZW5naW5lIGlu IHRoZSB3b3JsZC4gIFRoZSBzb3VyY2UgY29kZSBmb3IgU1FMaXRlCiBpcyBpbiB0aGUgcHVibGlj IGRvbWFpbi4iKQogICAgKGxpY2Vuc2UgbGljZW5zZTpwdWJsaWMtZG9tYWluKSkpCiAKKyhkZWZp bmUtcHVibGljIHNxbGl0ZS9maXhlZAorICAocGFja2FnZS9pbmhlcml0IHNxbGl0ZQorICAgICh2 ZXJzaW9uICIzLjMyLjMiKQorICAgIChzb3VyY2UgKG9yaWdpbgorICAgICAgICAgICAgICAobWV0 aG9kIHVybC1mZXRjaCkKKyAgICAgICAgICAgICAgKHVyaSAobGV0ICgobnVtZXJpYy12ZXJzaW9u CisgICAgICAgICAgICAgICAgICAgICAgICAgIChtYXRjaCAoc3RyaW5nLXNwbGl0IHZlcnNpb24g I1wuKQorICAgICAgICAgICAgICAgICAgICAgICAgICAgICgoZmlyc3QtZGlnaXQgb3RoZXItZGln aXRzIC4uLikKKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKHN0cmluZy1hcHBlbmQgZmly c3QtZGlnaXQKKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKHN0 cmluZy1wYWQtcmlnaHQKKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgIChzdHJpbmctY29uY2F0ZW5hdGUKKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAobWFwIChjdXQgc3RyaW5nLXBhZCA8PiAyICNcMCkKKyAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIG90aGVyLWRpZ2l0cykpCisg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA2ICNcMCkpKSkpKQor ICAgICAgICAgICAgICAgICAgICAgKHN0cmluZy1hcHBlbmQgImh0dHBzOi8vc3FsaXRlLm9yZy8y MDIwL3NxbGl0ZS1hdXRvY29uZi0iCisgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICBudW1lcmljLXZlcnNpb24gIi50YXIuZ3oiKSkpCisgICAgICAgICAgICAgIChzaGEyNTYKKyAg ICAgICAgICAgICAgIChiYXNlMzIKKyAgICAgICAgICAgICAgICAiMHJsYmFxMTc3Z2NnazVkc3dk M2FrYmh2Mm52dnpsanJiaGd5MThoa2xiaHc3aDkwZjVkMyIpKSkpKSkKKwogOzsgQ29sdW1uIG1l dGFkYXRhIHN1cHBvcnQgd2FzIGFkZGVkIHRvIHRoZSByZWd1bGFyICdzcWxpdGUnIHBhY2thZ2Ug d2l0aAogOzsgY29tbWl0IGZhZDViMWE2ZDhkOWMzNmJlYTU3ODVhZTRmYmMxYmViMzdlNjQ0ZDcu CiAoZGVmaW5lLXB1YmxpYyBzcWxpdGUtd2l0aC1jb2x1bW4tbWV0YWRhdGEKLS0gCjIuMzEuMAoK --=-5cpjFKBTzS7jBpJccBHa-- --=-sO1O21U/DX32CHq1Rl+N Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEFIvLi9gL+xax3g6RRaix6GvNEKYFAmBTPLMACgkQRaix6GvN EKZJUBAApTFFerO/WLrwpI8WEmTwZT80tKqvjkE/SYquptjGLFtEkIP9Wk3B8P9L Z9Culm0rU6KaRJuCIwVOHH3v7fS+dsedcVK/KRtNjmrnTy5Y7t7Y8WKFqULszpIo wkE2RANFyne7QzplhlzJ1JElxFgP5iE/0zc9KaGV+RCrXwLOCZyG+r0BykoTNze6 /cNdM4ri/XqfQNGAJyFroS8pDNQoeQuRsRgIQ3NlFOWVqPdEZGtnO8IVnMaVzb1I 4m+YHWr55/FjtzJKqqG+QlKi+FeH0qeUHgj26lHuINqZ2HnSQ47QyoD7qcFGcFNP 4FaRWiL6vY7oYKyeqoRYZoBp8aOHiIJT7KfC1o+G5fTTwMPzYF7Ri7M0EeINM6i+ vjZ292QnBRcBUuUfAB0EXCtcWXKJY5UEUrO8A4fYHbBAXxWRwsTfEvrAnbjoosGH YBfsWWhQ64fR56yqJF/AKHYwGz9sF+agr+FNzsuUwn5hE1LFUurUbMrTDVQr0/U7 U5kUlX6zuJLiTKHGZd/C2iDagLLgBL6H11twW0fHNKlZ3NGkInWO7vJpwyXerJKE yLy9THvETa/6/FBvdwOgt7gS7kxsTUHJva0YNNhgA6g+pp0eJsn8VXTMelHRIC8P PDc+WFdxAJu/cCEedraRPvDeP9CoWpm33NPl+i9OE14u2w3Tz84= =qiPe -----END PGP SIGNATURE----- --=-sO1O21U/DX32CHq1Rl+N--