From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 16 09:05:32 2021 Received: (at 47188) by debbugs.gnu.org; 16 Mar 2021 13:05:32 +0000 Received: from localhost ([127.0.0.1]:38472 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) 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 ) 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 Date: Tue, 16 Mar 2021 14:05:13 +0100 Message-ID: Subject: Re: bug#47188: "guix lint -c cve" does not account for language prefixes (rust-, python-, go-, ..) To: =?UTF-8?Q?L=C3=A9o_Le_Bouter?= 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: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi, On Tue, 16 Mar 2021 at 10:30, L=C3=A9o Le Bouter via Bug reports for GNU Guix 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