You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pulsar.apache.org by GitBox <gi...@apache.org> on 2022/12/06 09:31:37 UTC

[GitHub] [pulsar] hpvd created a discussion: Arguments for "why pulsar is secure?"

GitHub user hpvd created a discussion: Arguments for "why pulsar is secure?"

### Search before asking

- [X] I searched in the [issues](https://github.com/apache/pulsar/issues) and found nothing similar.


### Motivation

When people/companies evaluate open source software to rely and build on
they more and more
do not only look on its functional value alone
but also on topics like
 - trust giving name/membership (e.g. part of Apache family)
 - existing community size and growth
 - development progress and
 - especially security.

One thing often done, is a quick automated analysis
- of used dependencies
- their updated state
- number of contained unfixed CVEs (total)
- risk of these CVEs
- number of contained CVEs with available fix (unfixed)

This quick analysis gives a first taste/impression
on two things:
1) the potential of having a meaningful security problem when using the software
2) the awareness of the community for the topic security


Often you do not even have to do the analysis on your own,
but you can directly find analysis results using web search.

When doing this for pulsar,
you easily find e.g. on artifacthub.io
an analysis of the latest official helm chart for Apache Pulsar
https://github.com/apache/pulsar-helm-chart

the summarized result of security analysis shows:
> **992 vulnerabilities (623 fixable) have been detected in this package's
> images.**

In detail:
- there are dependencies with well known security issues (with official CVE numbers)
- there is a pretty huge number of known and documented vulnerabilities: 992
- including important ones (critical, high rating)
- not only in the accompanying software in helm (prometheus, grafana) but in core directly (pulsar)
- some were known for 9 years (CVE numbers from 2013)
- there are possible fixes for most of them (for 623) 

see source https://artifacthub.io/packages/helm/apache/pulsar?modal=security-report

Of course, this is only a first rough impression given by this analysis.
And the chart does not contain the very latest version of pulsar (even so, it's the latetst official helm chart)
When looking into every detail of the reported numbers, you can of course argue why not every counted vulnerabilities is a disaster...

=> But how can you easily argue to anyone having seen this fast result
> **In general, this software (pulsar) is secure, you can use it without any concerns.**
?



### Solution

1.  finding/giving some good arguments e.g. in doc 

or

2.  if this is really not possible today,
a way/plan to find a solution to make it possible to say in the near future:
> Pulsar is secure, you can use it without any concerns.


### Alternatives

_No response_

### Anything else?

_No response_

### Are you willing to submit a PR?

- [ ] I'm willing to submit a PR!

GitHub link: https://github.com/apache/pulsar/discussions/18754

----
This is an automatically sent email for dev@pulsar.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@pulsar.apache.org


[GitHub] [pulsar] github-actions[bot] added a comment to the discussion: Arguments for "why pulsar is secure?"

Posted by GitBox <gi...@apache.org>.
GitHub user github-actions[bot] added a comment to the discussion: Arguments for "why pulsar is secure?"

The issue had no activity for 30 days, mark with Stale label.

GitHub link: https://github.com/apache/pulsar/discussions/18754#discussioncomment-4321248

----
This is an automatically sent email for dev@pulsar.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@pulsar.apache.org


[GitHub] [pulsar] eolivelli added a comment to the discussion: Arguments for "why pulsar is secure?"

Posted by GitBox <gi...@apache.org>.
GitHub user eolivelli added a comment to the discussion: Arguments for "why pulsar is secure?"

@hpvd  thanks for opening this issue. I think that your point is really valid.

I think that it is appropriate to start this discussion on the mailing lists (dev@pulsar.apache.org), as that's the place we run broad discussions.


Regarding this issue:
this issue is more about the "Apache Pulsar Helm Chart", that is on https://github.com/apache/pulsar-helm-chart 
**maybe** it is better to post your findings there.

Regarding the core Pulsar package we try to keep all the dependencies as up-to-date as possible and to cut releases as soon as problems are discovered and reported to the PMC.
Unfortunately the Pulsar Helm Chart is not very active and this is way the default versions, even for the Pulsar docker image are pretty out-dated and we should upgrade



GitHub link: https://github.com/apache/pulsar/discussions/18754#discussioncomment-4321238

----
This is an automatically sent email for dev@pulsar.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@pulsar.apache.org


[GitHub] [pulsar] hpvd added a comment to the discussion: Arguments for "why pulsar is secure?"

Posted by GitBox <gi...@apache.org>.
GitHub user hpvd added a comment to the discussion: Arguments for "why pulsar is secure?"

new Helm chart v 3.0 on the base of Pulsar 2.10.2 was just released:
https://github.com/apache/pulsar-helm-chart/releases/tag/pulsar-3.0.0


GitHub link: https://github.com/apache/pulsar/discussions/18754#discussioncomment-4321244

----
This is an automatically sent email for dev@pulsar.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@pulsar.apache.org


[GitHub] [pulsar] hpvd added a comment to the discussion: Arguments for "why pulsar is secure?"

Posted by GitBox <gi...@apache.org>.
GitHub user hpvd added a comment to the discussion: Arguments for "why pulsar is secure?"

before writing this issue, I had a conversation with Apache Security team,
that it is no problem to contribute this as normal issue:

> we'd warmly welcome ....  if you'd contribute this finding as a normal bug
> report and/or patch to the project. Since outdated dependencies
> without further analysis are quite public, there is no need to use this
> private reporting mechanism in that case.

GitHub link: https://github.com/apache/pulsar/discussions/18754#discussioncomment-4321237

----
This is an automatically sent email for dev@pulsar.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@pulsar.apache.org


[GitHub] [pulsar] hpvd added a comment to the discussion: Arguments for "why pulsar is secure?"

Posted by GitBox <gi...@apache.org>.
GitHub user hpvd added a comment to the discussion: Arguments for "why pulsar is secure?"

- on the other hand
  - the number of fixable vulnerabilities with a severity of CRITICAL has risen from 1 to 4 (plus 300%!)
 
![2022-11-04_10h05_52](https://user-images.githubusercontent.com/5681880/199942132-2574e544-bf50-4355-89a7-e8e7a2b32a9c.png)

![2022-11-04_10h07_06](https://user-images.githubusercontent.com/5681880/199942169-ad0a3b71-e77f-4035-b2d2-8743e14b64ee.png)





GitHub link: https://github.com/apache/pulsar/discussions/18754#discussioncomment-4321246

----
This is an automatically sent email for dev@pulsar.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@pulsar.apache.org


[GitHub] [pulsar] hpvd added a comment to the discussion: Arguments for "why pulsar is secure?"

Posted by GitBox <gi...@apache.org>.
GitHub user hpvd added a comment to the discussion: Arguments for "why pulsar is secure?"

Latest security analysis show
- a stunning step in reducing the number of included vulnerabilities (minus 85%!)
  - v2.9.4 with pulsar 2.9.3 **1024 vulnerabilities (698 fixable) have been detected in this package's images.**
https://artifacthub.io/packages/helm/apache/pulsar/2.9.4?modal=security-report
  - v3.0.0 with pulsar 2.10.2 **136 vulnerabilities (79 fixable) have been detected in this package's images.**
https://artifacthub.io/packages/helm/apache/pulsar?modal=security-report

GitHub link: https://github.com/apache/pulsar/discussions/18754#discussioncomment-4321245

----
This is an automatically sent email for dev@pulsar.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@pulsar.apache.org


[GitHub] [pulsar] hpvd added a comment to the discussion: Arguments for "why pulsar is secure?"

Posted by GitBox <gi...@apache.org>.
GitHub user hpvd added a comment to the discussion: Arguments for "why pulsar is secure?"

@eolivelli thanks for your comment.

Just opened an issue also in the repository of pulsars helm chart:
https://github.com/apache/pulsar-helm-chart/issues/294

GitHub link: https://github.com/apache/pulsar/discussions/18754#discussioncomment-4321239

----
This is an automatically sent email for dev@pulsar.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@pulsar.apache.org


[GitHub] [pulsar] hpvd added a comment to the discussion: Arguments for "why pulsar is secure?"

Posted by GitBox <gi...@apache.org>.
GitHub user hpvd added a comment to the discussion: Arguments for "why pulsar is secure?"

-
   - very old fixable and already reported vulnerabilities (up to 9 years old) are still included in pulsar image:
   
![2022-11-04_09h21_54](https://user-images.githubusercontent.com/5681880/199937604-17826ab6-0d4d-469d-a1cd-7df6019138bb.png)


edit: just opened a separate issue for this: https://github.com/apache/pulsar/issues/18338

GitHub link: https://github.com/apache/pulsar/discussions/18754#discussioncomment-4321247

----
This is an automatically sent email for dev@pulsar.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@pulsar.apache.org


[GitHub] [pulsar] hpvd added a comment to the discussion: Arguments for "why pulsar is secure?"

Posted by GitBox <gi...@apache.org>.
GitHub user hpvd added a comment to the discussion: Arguments for "why pulsar is secure?"

some details:
![2022-10-13_14h18_45](https://user-images.githubusercontent.com/5681880/195594313-518801c3-1fbd-42b5-bb7e-b1b4a9f62af6.png)


GitHub link: https://github.com/apache/pulsar/discussions/18754#discussioncomment-4321236

----
This is an automatically sent email for dev@pulsar.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@pulsar.apache.org


[GitHub] [pulsar] hpvd added a comment to the discussion: Arguments for "why pulsar is secure?"

Posted by GitBox <gi...@apache.org>.
GitHub user hpvd added a comment to the discussion: Arguments for "why pulsar is secure?"

number of vulnerabilities is still growing:

Today images in Pulsars helm chart crosses the 1k:
**1005 vulnerabilities (683 fixable) have been detected in this package's images**.
see https://artifacthub.io/packages/helm/apache/pulsar?modal=security-report

Good to know there was hard work done during last week and there will be soon a major update
with updated pulsar (2.10.2) and a new monitoring stack
https://github.com/apache/pulsar-helm-chart/issues/326

Details and voting: https://lists.apache.org/thread/b02r3605jvmom23p1ccjbzsfwrq5tkjv

GitHub link: https://github.com/apache/pulsar/discussions/18754#discussioncomment-4321243

----
This is an automatically sent email for dev@pulsar.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@pulsar.apache.org


[GitHub] [pulsar] hpvd added a comment to the discussion: Arguments for "why pulsar is secure?"

Posted by GitBox <gi...@apache.org>.
GitHub user hpvd added a comment to the discussion: Arguments for "why pulsar is secure?"

this is how the summary from link above looks like:
![2022-10-13_14h16_24](https://user-images.githubusercontent.com/5681880/195593724-b137ecc2-dc7f-43e6-a3ed-cfa348692b2c.png)



GitHub link: https://github.com/apache/pulsar/discussions/18754#discussioncomment-4321235

----
This is an automatically sent email for dev@pulsar.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@pulsar.apache.org


[GitHub] [pulsar] hpvd added a comment to the discussion: Arguments for "why pulsar is secure?"

Posted by GitBox <gi...@apache.org>.
GitHub user hpvd added a comment to the discussion: Arguments for "why pulsar is secure?"

would be very interesting to see, how an updated helm chart with
- latest pulsar image (2.9.3 -> 2.10.1 or even 2.11)
  https://github.com/apache/pulsar
- latest prometheus image (2.17.2 -> 2.39.1)
  https://github.com/prometheus/prometheus
- latest streamnative/pulsar grafana image (0.0.16 -> no new release but in repository are some commits with updates)
  https://github.com/streamnative/apache-pulsar-grafana-dashboard
 
would/will perform **in the same scan.**
=> is the update already the big part of the solution?

GitHub link: https://github.com/apache/pulsar/discussions/18754#discussioncomment-4321240

----
This is an automatically sent email for dev@pulsar.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@pulsar.apache.org


[GitHub] [pulsar] hpvd added a comment to the discussion: Arguments for "why pulsar is secure?"

Posted by GitBox <gi...@apache.org>.
GitHub user hpvd added a comment to the discussion: Arguments for "why pulsar is secure?"

there is also an easy to use **github action for scanning with trivy**
-  the complete repository,
-  pull requests,
- docker container
- IaC
- etc.
 
=> Maybe this is interesting to integrate this directly into the CI pipeline...
See Readme of https://github.com/aquasecurity/trivy-action

GitHub link: https://github.com/apache/pulsar/discussions/18754#discussioncomment-4321242

----
This is an automatically sent email for dev@pulsar.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@pulsar.apache.org


[GitHub] [pulsar] hpvd added a comment to the discussion: Arguments for "why pulsar is secure?"

Posted by GitBox <gi...@apache.org>.
GitHub user hpvd added a comment to the discussion: Arguments for "why pulsar is secure?"

just as background info, the security scanner used by artifacthub, providing results shown above
is trivy, **so all the finding should be pretty valid**.

For details, see:
https://artifacthub.io/docs/topics/security_report/

and trivy
https://github.com/aquasecurity/trivy

GitHub link: https://github.com/apache/pulsar/discussions/18754#discussioncomment-4321241

----
This is an automatically sent email for dev@pulsar.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@pulsar.apache.org