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


View this message in rfc822 format

From: Léo Le Bouter <lle-bout <at> zaclys.net>
To: 47188 <at> debbugs.gnu.org
Subject: bug#47188: "guix lint -c cve" does not account for language prefixes (rust-,python-,go-,..)
Date: Tue, 16 Mar 2021 10:29:43 +0100
[Message part 1 (text/plain, inline)]
./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).

Annotating each and every python-, go-, and rust- package with cpe-name 
properties is going to be very annoying. I suggest we add some
heuristics that try both the full name and prefix-trimmed name. python-
urllib3's cpe name and vendor is python (vendor) urllib3 (name).

Same story for CVE-2021-28305 and rust-diesel, though it doesnt even
have a CPE entry yet.
[signature.asc (application/pgp-signature, inline)]

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

Previous Next


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