Robin Johnson reported that the docert() function provided by
ssl-cert.eclass can be called by source building stages of an ebuild,
such as src_compile() or src_install(), which will result in the
generated SSL keys being included inside binary packages (binpkgs).

Impact

A local attacker could recover the SSL keys from publicly readable
binary packages when " emerge " is called with the " --buildpkg
(-b) " or " --buildpkgonly (-B) " option. Remote attackers can
recover these keys if the packages are served to a network. Binary
packages built using " quickpkg " are not affected.

Workaround

Do not use pre-generated SSL keys, but use keys that were generated
using a different Certificate Authority.

Resolution

Upgrading to newer versions of the above packages will neither remove
possibly compromised SSL certificates, nor old binary packages. Please
remove the certificates installed by Portage, and then emerge an
upgrade to the package.