GNU bug report logs

#47188 "guix lint -c cve" does not account for language prefixes (rust-,python-,go-,..)

PackageSource(s)Maintainer(s)
guix PTS Buildd Popcon
Full log

Message #8 received at 47188@debbugs.gnu.org (full text, mbox, reply):

Received: (at 47188) by debbugs.gnu.org; 16 Mar 2021 13:05:32 +0000
From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 16 09:05:32 2021
Received: from localhost ([127.0.0.1]:38472 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
	id 1lM9O8-00061U-2C
	for submit@debbugs.gnu.org; Tue, 16 Mar 2021 09:05:32 -0400
Received: from mail-qt1-f174.google.com ([209.85.160.174]:40505)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <zimon.toutoune@gmail.com>) id 1lM9O6-00061I-59
 for 47188@debbugs.gnu.org; Tue, 16 Mar 2021 09:05:30 -0400
Received: by mail-qt1-f174.google.com with SMTP id r14so11521023qtt.7
 for <47188@debbugs.gnu.org>; Tue, 16 Mar 2021 06:05:30 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:references:in-reply-to:from:date:message-id:subject:to
 :cc:content-transfer-encoding;
 bh=Wm2CYO4ry7Xzo7QIo7u4shq5OY7E34c8DVGRqm2uMks=;
 b=MpSJ4mmeZ7zMZjhJvCxs1ew1v+I7womPLxg6o7tLfxCXCjY7j5MY8AFna+0DKKFNXy
 VOKwYzlDHY20KhcCuSG06F3OU/1lNseB35Nw5BxELh6n14Uj8My74b4PF6y3+G4vltwO
 g7LnE3J49IrE1YlhyeGnGa46gZyt6MmVjLUot9F1sHyh8JQ2V+dweuHPLZCTVhBqe8+n
 d08mMg85g4RIPvXDhXrMmhBDG458jxwZg/azaT6zF/pNDSuS4yXxKNpZV2vP0iyLXWw0
 LYEeGy5UznfY+6Q8OUd2/4uj244P612SxkZtYGrgy9BajZBmiFRPvFHzA5xeTgKLgEPk
 s4qg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to:cc:content-transfer-encoding;
 bh=Wm2CYO4ry7Xzo7QIo7u4shq5OY7E34c8DVGRqm2uMks=;
 b=Xqlo0RyiU+qM31t4CdHLii7h6NYaBj9O97iL1+ZAp4j8Is6PenfadXkOUdKFS8MI7L
 HyfOlQbywte4D1Ne6IZv9VjyeCR+DrUNvoXkLn8Hwfp2dffVVILQDjhDkOtaQ+sTAgH5
 QmRnAZlHtSac7vx+47IdTE9Zfvbz1vYzL23fhnEKl9lH+3B3uOHQ8kTCvHZeVkvHbm3/
 d2wTnjPPL0Xlmao98/2TdYsQw0Kyi5/MyG+3suCEJB/bwne+HJLnFedj31OtCbkOI3gU
 XGOLMXzO9AkUUjanW4rC9NbN5u2VrMclXGW2FDRL9EZ8ZRmDFCAIfB7eOUTdF0I3OvIs
 2Q0g==
X-Gm-Message-State: AOAM530bUS84rKklR6KJeu2C4YUwqBEj5F7xHOckSCyoBbQhitvRe/Q8
 TyS6f9BAJiOxWFJPY3ecRcYiOGIqcBjfjexYM7o=
X-Google-Smtp-Source: ABdhPJyPGgQSwV5VGH6URtHcpsYm/HOsZKqIZXNsfFptUOfcxtk/6q0mGhUEbwMdncYX84MeEYv8uI5VCuS021e+wAg=
X-Received: by 2002:ac8:6c3b:: with SMTP id k27mr18698134qtu.354.1615899924595; 
 Tue, 16 Mar 2021 06:05:24 -0700 (PDT)
MIME-Version: 1.0
References: <706d51950b7545eefd43a54f738bc82df0d7f36c.camel@zaclys.net>
In-Reply-To: <706d51950b7545eefd43a54f738bc82df0d7f36c.camel@zaclys.net>
From: zimoun <zimon.toutoune@gmail.com>
Date: Tue, 16 Mar 2021 14:05:13 +0100
Message-ID: <CAJ3okZ2yHtxtbi0vhskAJCCWT_NkQuOUnLof9cm7MRDwpeAkug@mail.gmail.com>
Subject: Re: bug#47188: "guix lint -c cve" does not account for language
 prefixes (rust-, python-, go-, ..)
To: Léo Le Bouter <lle-bout@zaclys.net>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 47188
Cc: 47188@debbugs.gnu.org
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request@debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit@debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request@debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request@debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces@debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
X-Spam-Score: -1.0 (-)
Hi,

On Tue, 16 Mar 2021 at 10:30, Léo Le Bouter via Bug reports for GNU
Guix <bug-guix@gnu.org> wrote:

> ./pre-inst-env guix lint -c cve python-urllib3@1.26.2
> Here this should return at least CVE-2021-28363 but it does not because
> the CVE database contains urllib3 and not python-urllib3 (which AFAICT
> the cve linter searches for).

Does the CVE use the upstream name?  Or a normalized name?

I mean, in the R world, packages can have names as 'org.EcK12.eg.db'
which becomes "r-org-eck12-eg-db".  To easy the mapping for updating
and co, the package definition contains:

    (properties
     `((upstream-name . "org.EcK12.eg.db")))

Maybe, it could be worth to have similar things.  WDYT?


All the best,
simon




Send a report that this bug log contains spam.


debbugs.gnu.org maintainers <help-debbugs@gnu.org>. Last modified: Tue Mar 11 07:00:10 2025; Machine Name: wallace-server

GNU bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.