Pulp before 2.8.5 uses bash's $RANDOM in an unsafe way to generate passwords.
Sander Bos reports:
It was found that pulp-qpid-ssl-cfg script creates certificate files and NSS database files in world-readable unsafe temporary directory $DIR, from which is than the content copied to permanent installation directory $INSTDIR with wrongly assigned permissions, which are corrected only after the copying process is done. This bug gives attacker a time frame for stealing sensitive data.