Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Perale via buildroot <buildroot@buildroot.org>
To: Fiona Klute <fiona.klute@gmx.de>
Cc: Thomas Perale <thomas.perale@mind.be>,
	buildroot@buildroot.org,
	Ricardo Martincoski <ricardo.martincoski@datacom.com.br>
Subject: Re: [Buildroot] [RFC PATCH 08/14] package/python-pip: add detail to vulnerability
Date: Fri, 26 Jun 2026 09:25:37 +0200	[thread overview]
Message-ID: <20260626072537.8009-1-thomas.perale@mind.be> (raw)
In-Reply-To: <8665ae8f-2f4b-4eb7-bc84-ba684bfa403e@gmx.de>

Hi Fiona,

Thanks for already taking the time to look at this series.

In reply of:
> Hi Thomas!
> 
> Am 24.06.26 um 16:06 schrieb Thomas Perale via buildroot:
> > The vulnerability is marked as fixed as it work as expected according to
> > the upstream project.
> > > Signed-off-by: Thomas Perale <thomas.perale@mind.be>
> > ---
> >   package/python-pip/python-pip.mk | 5 +++--
> >   1 file changed, 3 insertions(+), 2 deletions(-)
> > > diff --git a/package/python-pip/python-pip.mk b/package/python-pip/python-pip.mk
> > index d12bea3225..ae9a4225eb 100644
> > --- a/package/python-pip/python-pip.mk
> > +++ b/package/python-pip/python-pip.mk
> > @@ -12,9 +12,10 @@ PYTHON_PIP_LICENSE = MIT
> >   PYTHON_PIP_LICENSE_FILES = LICENSE.txt
> >   PYTHON_PIP_CPE_ID_VENDOR = pypa
> >   PYTHON_PIP_CPE_ID_PRODUCT = pip
> > -# Disputed CVE: things work as designed, and only affects the
> > -# --extra-index-url option. This CVE will never be fixed.
> > +
> >   PYTHON_PIP_IGNORE_CVES += CVE-2018-20225
> > +PYTHON_PIP_CVE-2018-20225_STATUS = fixed
> > +PYTHON_PIP_CVE-2018-20225_DETAIL = Disputed CVE: things work as designed, and only affects the --extra-index-url option. This CVE will never be fixed.
> 
> I don't like using "fixed" for "upstream maintainers don't see this as a problem". Nothing was fixed, the dispute is whether anything needs fixing.
> 

I definitely agree and I don't like it either but I feel that the options
OpenVex and CycloneDX provides are limited for that specific case.

If I understand correctly it's because you need to actually put the upstream
project justification in a category.

For example for the flex example the project disputed the vulnerability by
claiming it doesn't produce a vulnerable code so I used the
"not-affected-vulnerable-code-not-present" category.

Here my logic was that since it's the expected behavior it's not a
vulnerability at all and then could mark it as fixed. But indeed I
over-interpret the "fixed" category.

> Looking at the OpenVEX status labels "not_affected" or "under_investigation" seem to fit better (depending on whether we agree with upstream or not, I guess if we don't adding to IGNORE_CVES would be questionable), but I don't see any way to clearly express "disputed" among those options.

For the "under_investigation", it means this would map to "in_triage" for
CycloneDX and that's what I'm trying to remove with this series to be able to
filter any vulnerabilities that don't provide a "status".

For "not_affected" the spec specify that we need to provide a justification
with it [1]. But I don't see a justification that really suits this specific
case.

To be honest, the more I look at the categories and the one I already assigned
to the packages the more I think other categories could be used as a
justification. It's really confusing.

Best regards,
PERALE Thomas

[1] https://cyclonedx.org/docs/1.7/json/#vulnerabilities_items_analysis_justification
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  reply	other threads:[~2026-06-26  7:25 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-24 14:06 [Buildroot] [RFC PATCH 00/14] Add exportable vulnerability informations Thomas Perale via buildroot
2026-06-24 14:06 ` [Buildroot] [RFC PATCH 01/14] docs/manual: add vulnerability status and justification Thomas Perale via buildroot
2026-06-24 14:06 ` [Buildroot] [RFC PATCH 02/14] utils/checkpackagelib/lib_mk.py: check _STATUS value is supported Thomas Perale via buildroot
2026-06-24 14:06 ` [Buildroot] [RFC PATCH 03/14] package/pkg-utils: show-info expose vuln details Thomas Perale via buildroot
2026-06-24 14:06 ` [Buildroot] [RFC PATCH 04/14] utils/generate-cyclonedx: support vulnerability details Thomas Perale via buildroot
2026-06-25 18:01   ` Fiona Klute via buildroot
2026-06-24 14:06 ` [Buildroot] [RFC PATCH 05/14] package/sox: add vulnerabilities details Thomas Perale via buildroot
2026-06-24 14:06 ` [Buildroot] [RFC PATCH 06/14] package/php: add vulnerability details Thomas Perale via buildroot
2026-06-24 14:06 ` [Buildroot] [RFC PATCH 07/14] package/mupdf: add vulnerabilities details Thomas Perale via buildroot
2026-06-24 14:06 ` [Buildroot] [RFC PATCH 08/14] package/python-pip: add detail to vulnerability Thomas Perale via buildroot
2026-06-25 17:57   ` Fiona Klute via buildroot
2026-06-26  7:25     ` Thomas Perale via buildroot [this message]
2026-06-24 14:06 ` [Buildroot] [RFC PATCH 09/14] package/luajit: add details to vulnerabilities Thomas Perale via buildroot
2026-06-24 14:06 ` [Buildroot] [RFC PATCH 10/14] package/libuci: add vulnerability details Thomas Perale via buildroot
2026-06-24 14:06 ` [Buildroot] [RFC PATCH 11/14] package/glibc: " Thomas Perale via buildroot
2026-06-24 14:45   ` Romain Naour via buildroot
2026-06-24 15:06     ` Thomas Perale via buildroot
2026-06-24 14:06 ` [Buildroot] [RFC PATCH 12/14] package/freeradius-server: add vulnerabilities details Thomas Perale via buildroot
2026-06-24 14:06 ` [Buildroot] [RFC PATCH 13/14] package/flex: add vulnerability details Thomas Perale via buildroot
2026-06-24 14:06 ` [Buildroot] [RFC PATCH 14/14] package/clamav: " Thomas Perale via buildroot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260626072537.8009-1-thomas.perale@mind.be \
    --to=buildroot@buildroot.org \
    --cc=fiona.klute@gmx.de \
    --cc=ricardo.martincoski@datacom.com.br \
    --cc=thomas.perale@mind.be \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox