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

Previous Next

Package: guix;

Reported by: Léo Le Bouter <lle-bout <at> zaclys.net>

Date: Tue, 16 Mar 2021 09:30:02 UTC

Severity: normal

Tags: security

Full log


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

From: zimoun <zimon.toutoune <at> gmail.com>
To: Léo Le Bouter <lle-bout <at> zaclys.net>
Cc: 47188 <at> debbugs.gnu.org
Subject: Re: bug#47188: "guix lint -c cve" does not account for language
 prefixes (rust-, python-, go-, ..)
Date: Tue, 16 Mar 2021 14:05:13 +0100
Hi,

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

> ./pre-inst-env guix lint -c cve python-urllib3 <at> 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




This bug report was last modified 4 years and 89 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.