Received: from mx1.mailbun.net (unknown [170.39.20.100]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id 812C2781A60 for <~alpine/devel@lists.alpinelinux.org>; Wed, 28 Apr 2021 19:56:16 +0000 (UTC) Received: from 192.168.8.162 (unknown [107.125.25.50]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: ariadne@dereferenced.org) by mx1.mailbun.net (Postfix) with ESMTPSA id A2AA51459CB; Wed, 28 Apr 2021 19:56:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=dereferenced.org; s=mailbun; t=1619639773; bh=arH1avX9ZZyI5JbdIuMPAicuMod5vOjc7/xlc4EcVgs=; h=Date:From:To:cc:Subject:In-Reply-To:References; b=I0rMhQqNuj7mvcq/3EPjNCKTFHTH+e4TqB1/roWGbgY8aNXrKqZhnefFHhw2eCRvW 8zIHByYW1EMuy6Rket7ZPbwnqa6KiH2MAtGPRW2QSJpIWx0V7z+zsCvdMM0MEPSk65 VMyMh1uJ77QwrCHXgMqL4A/3v261jbom0nQHeGh1hJxwTikZ5543Ra/3pAbF9vFvpG Isi4E5LP1d29xSlebB0R/XTypvmgCwQ1aeN7nZ7vJ+5u0HtBJBdwYzdziJgUrsFg9G iCS27LUUoZjODLuSPgncXkWr/cw2MUuiKu9Q5rmrF2b6zaymjKPIP1mxp4ui4dgu5c 6gvr98xu0RHxA== Date: Wed, 28 Apr 2021 13:56:11 -0600 (MDT) From: Ariadne Conill To: Nir Ben-Eliezer cc: "~alpine/devel@lists.alpinelinux.org" <~alpine/devel@lists.alpinelinux.org> Subject: Re: Security dispute over nodejs vulnerability in Alpine - Help! In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: multipart/mixed; BOUNDARY="0-1524531139-1619639690=:15938" Content-ID: This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --0-1524531139-1619639690=:15938 Content-Type: text/plain; charset="iso-8859-15"; format="flowed" Content-Transfer-Encoding: quoted-printable Content-ID: <93827e3-453c-364-93fa-12df10a492bf@dereferenced.org> Hello, On Wed, 28 Apr 2021, Nir Ben-Eliezer wrote: > Hello, >=20 > I've encountered a security dispute while working with nodejs and I'd app= reciate the opinions of the Alpine community and maintainers on this import= ant subject. I am presently in charge of the security team in Alpine, which maintains=20 the security database we publish. > I've recently upgraded my nodejs package version to v12.20.1 on my Alpine= image, through Alpine's package manager (release notes of node community:= =A0https://nodejs.org/en/blog/release/v12.20.1/). As you will see in the re= lease notes, > one of the vulnerabilities that is fixed in this version, is CVE-2020-826= 5. >=20 > =A0 >=20 > I've also upgraded my Alpine image to Alpine v3.13. However, looking into= Alpine's v3.13 release notes (here:=A0https://git.alpinelinux.org/aports/b= lame/main/nodejs/APKBUILD?h=3D3.13-stable) you'll see that this same vulner= ability > appears to be fixed only in nodejs v14.15.4-r0. >=20 > =A0 >=20 > I am running a vulnerability scanner on my Alpine 3.13 image, and it iden= tifies CVE-2020-8265, even though it was supposed to be fixed in as early a= s nodejs v12.20.1, according to the node community. Node has multiple maintenance branches, so it is important to=20 realize that something being fixed in 12.x is therefore unrelated to=20 whether it has been fixed in 14.x. Our internal security database lists CVE-2020-8265 as fixed in nodejs=20 12.20.1-r0 (Alpine 3.12 branch) and 14.15.4-r0 (Alpine 3.13 branch). I see no reason to disbelieve our security database. It lines up with CPE = data published by the US National Vulnerability Database, which says that=20 CVE-2020-8265 was fixed in upstream versions 12.20.1 and 14.15.4=20 respectively. > And therefore - the dispute. >=20 > =A0 >=20 > My question: Should I consider this vulnerability a false positive, and f= ollow the release notes of node? Or should I use Alpine's determination and= upgrade my nodejs version to v14.15.4-r0, where Alpine claim it to be fixe= d? Why > does Alpine state the fix for said vulnerability exists in v14.15.4-r0 of= nodejs, whereas the node maintainers indicate the fix is present in an ear= lier version? This is definitely a false positive. What security scanner are you using? = The vendor may be incorrectly using the security database we publish, this = has happened before. Ariadne --0-1524531139-1619639690=:15938--