Fix security vulnerabilities of Pulsar (#7801)

### Motivation

Based on the scan results of `Black Duck`, we found that there are security vulnerabilities in the components currently used by pulsar, some are directly referenced by pulsar, and some are indirectly referenced by the pulsar.
1 file changed
tree: 67ac86073333603c7e9c65af52d9e8ab761366cb
  1. distribution/
  2. docker/
  3. tests/