You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Several of these have been fixed, and others are brought in by presto. @nicoloboschi does security scanning of the pulsar code base and frequently contributes updates to dependencies, when possible.
yes and there is also an automated OWASP Dependency Check running since June 2021 #10855
doing all this,
our current procedure/routine seems to miss these 35 fixable vulnerabilities (CVE) when releasing latest version 2.10.2
okay a (very) few less... see #8815 (comment)
-> but that's the state of our latest, only 8 days old release.
not sooo bad, but not so good either.
-> but that's the state of our latest, only 8 days old release.
not sooo bad, but not so good either.
The final release candidate of 2.10.2 is 23 days ago. And most of fixes comes in the early September.
I think the problem is that the current release process have too many work and not automated. It took too long for a version to be released. And I don't see any check process of CVEs before we cut the release. I am pretty sure "OWASP Dependency Check" passed before the first release candidate is cut.
Looks like there are several points helping to produce this non-perfect state:
I absolutely agree with @Jason918 that's probably part of the problem, that the time from last fixes to final release may be too long, so very new findings and fixes were not included (but there are also very old ones in the list..)
Maybe the tool we use today and its reports are not as user-friendly and useful as it could be.
If so, one option would be to move to trivy which is e.g. used for the great security overviews at artifacthub.io (see above), to
easily distinct between general and fixable vulnerabilities and
I think the problem is that the current release process have too many work and not automated. It took too long for a version to be released.
I agree. I think we're moving in the right direction by breaking out the C++ and Python clients, but it will take time to see those benefits. Maybe it is worth a mailing list discussion of how to share the load on the release manager?
I think the problem is that the current release process have too many work and not automated. It took too long for a version to be released.
I agree. I think we're moving in the right direction by breaking out the C++ and Python clients, but it will take time to see those benefits. Maybe it is worth a mailing list discussion of how to share the load on the release manager?
the question:
Can it also be another (small) part of the problem, that we only upgrade "some points of use" in the code when there is a notification about a security issue (and think everything solved)?
I was wondering why there is netty version 3.10.6 listet with 3 named vulnerabilities.
This is from presto-sql/pulsar-presto-distribution. presto-sql contains a lot of legacy dependencies and not easily updated. Previously, I saw @tisonkun working on some updates to Trino in PulsarSQL. Not sure if it's related.
@hpvd I think you can start a discuss thread on the mail-list to get more attention on this matter.
when stale label is added automatically,
it should also be removed automatically if an issue is newly commented or maybe even if it's mentioned some else.
Thanks @hpvd for the report. This was reported on a Pulsar release before 3.0, which is no longer supported; the supported releases are 4.0.x, 4.2.x and 5.0.x. Much of the code involved has changed since, and the problem hasn't been confirmed on a current release, so I'm closing it as part of cleaning up old reports. If you still see it on a supported release, please open a new issue with the version and steps to reproduce, and link this one.
Activity
michaeljmarshall commentedon Nov 4, 2022
Several of these have been fixed, and others are brought in by presto. @nicoloboschi does security scanning of the pulsar code base and frequently contributes updates to dependencies, when possible.
hpvd commentedon Nov 4, 2022
yes and there is also an automated OWASP Dependency Check running since June 2021 #10855
doing all this,
our current procedure/routine seems to miss these 35 fixable vulnerabilities (CVE) when releasing latest version 2.10.2
okay a (very) few less... see #8815 (comment)
-> but that's the state of our latest, only 8 days old release.
not sooo bad, but not so good either.
Jason918 commentedon Nov 5, 2022
The final release candidate of 2.10.2 is 23 days ago. And most of fixes comes in the early September.
I think the problem is that the current release process have too many work and not automated. It took too long for a version to be released. And I don't see any check process of CVEs before we cut the release. I am pretty sure "OWASP Dependency Check" passed before the first release candidate is cut.
hpvd commentedon Nov 5, 2022
Looks like there are several points helping to produce this non-perfect state:
named pointin the release check list, that applying all (as many as possible) available fixes before any release is a real must?(=quality gate, similar to Automated security and update routine before every release #8815)
like named here [Security] Owasp dependency check: check if suppressing of vulnerabilities is still reasonable #17068
We use 7.1 from April 2022, latest is 7.3 see https://github.com/jeremylong/DependencyCheck/releases
If so, one option would be to move to trivy which is e.g. used for the great security overviews at artifacthub.io (see above), to
a githubaction for trivy is available https://github.com/aquasecurity/trivy-action
michaeljmarshall commentedon Nov 8, 2022
I agree. I think we're moving in the right direction by breaking out the C++ and Python clients, but it will take time to see those benefits. Maybe it is worth a mailing list discussion of how to share the load on the release manager?
Jason918 commentedon Nov 9, 2022
Yes, this is one of the motivations of PIP-175: Extend time based release process
hpvd commentedon Nov 11, 2022
when looking through the security report again,
I was wondering why there is netty version 3.10.6 listet with 3 named vulnerabilities.
This is a version from the year 2016 (https://mvnrepository.com/artifact/io.netty/netty/3.10.6.Final)
and as far I have seen, we have upgraded to >netty 4.1
e.g. in #15212
the question:

Can it also be another (small) part of the problem, that we only upgrade "some points of use" in the code when there is a notification about a security issue (and think everything solved)?
hpvd commentedon Nov 11, 2022
to get the whole picture, just added some release dates of the versions with fixes:
hpvd commentedon Nov 14, 2022
hmm just another number: the ubuntu 20.04 included, added 77 vulnerabilities with CVE...
Jason918 commentedon Nov 18, 2022
This is from
presto-sql/pulsar-presto-distribution.presto-sqlcontains a lot of legacy dependencies and not easily updated. Previously, I saw @tisonkun working on some updates to Trino in PulsarSQL. Not sure if it's related.@hpvd I think you can start a discuss thread on the mail-list to get more attention on this matter.
tisonkun commentedon Nov 18, 2022
@Jason918 No. The upgrade of Trino (PrestoSQL) dependency happened only for the unreleased master (2.12.0).
tisonkun commentedon Nov 18, 2022
And yes, if we don't update Trino dependency for 2.10 (I think so), these reports should be suppressed.
github-actions commentedon Dec 19, 2022
The issue had no activity for 30 days, mark with Stale label.
compuguy commentedon Sep 27, 2023
This issue is still relevant with release 3.1.0. Plenty of vulnerabilities in the latest release, especially with the connectors and offloaders...
Edit: this also applies to 3.1.1 and upcoming release 3.0.2. See #21457 for more information.
hpvd commentedon Oct 28, 2023
when stale label is added automatically,
it should also be removed automatically if an issue is newly commented or maybe even if it's mentioned some else.
edit: added an issue for this:
#21458
merlimat commentedon Oct 24, 2026
Thanks @hpvd for the report. This was reported on a Pulsar release before 3.0, which is no longer supported; the supported releases are 4.0.x, 4.2.x and 5.0.x. Much of the code involved has changed since, and the problem hasn't been confirmed on a current release, so I'm closing it as part of cleaning up old reports. If you still see it on a supported release, please open a new issue with the version and steps to reproduce, and link this one.