If your PGP key was generated non-interactively using any version of
PGP v5.0 on a system with a /dev/random device, you may wish to
revoke it.
Documents encrypted with a predictable key may need to be
re-encrypted with a non-vulnerable key, if your particular
circumstances warrant it; that is, if the information still needs to
be encrypted.
You may need to resign documents signed with a vulnerable key if
your circumstances warrant it.
PGP 5.0 for Linux, Source code book (basis for PGP 5.0i for Linux)
The following PGP products are NOT affected by this issue:
- PGP 1.x products
- PGP 2.x products
- PGP 4.x products
- All other PGP 5.x products
- PGP 6.x products
- PGP 7.x products
Synopsis:
During a recent review of our published PGP 5.0 for Linux source
code, researchers discovered that under specific, rare circumstances
PGP 5.0 for Linux will generate weak, predictable public/private
keypairs. These keys can only be created under the following
circumstances:
- Keys are generated using PGP's command line option for unattended
batch key generation, with no user interaction for entropy
(random data) collection
- No keys were generated interactively on this system previously
(e.g., a PGP random seed file is not present on this system
prior to unattended batch key generation)
- PGP is able to access the UNIX /dev/random service to gather
entropy during unattended batch key generation
PGP 5.0 for Linux does not process the data read from /dev/random
appropriately, and therefore does not gather enough entropy required
to generate strong public/private keypairs. This issue affects
both RSA and Diffie-Hellman public/private keypairs, regardless of
keysize. Network Associates has verified that this issue does not
exist in any other version of PGP.
Solution:
Users who generated keys in the manner described above are strongly
urged to do the following:
- Revoke and no longer use keys suspected to have this problem
- Generate new public/private keypairs with entropy collected
from users' typing and/or mouse movements
- Re-encrypt any data with the newly generated keypairs that is
currently encrypted with keys suspected to have this problem
- Re-sign any data with the newly generated keypairs, if required
Users are also urged to upgrade to the latest releases of PGP,
as PGP 5.0 products have not been officially supported by Network
Associates since early 1999, or distributed by Network Associates
since June 1998.
Additional Information:
US commercial and freeware versions of PGP 5.0 for Linux were
released in September 1997 by PGP, Inc., a company founded by
Phil Zimmermann. Source code for the PGP 5.0 product family was
published in September 1997. PGP, Inc. was acquired by Network
Associates in December 1997.
Acknowledgements:
PGP appreciates the efforts of Germano Caronni, Thomas Roessler and
Marcel Waldvogel in identifying this issue and bringing it to our
attention.
A pgp signed version of this
statement is also available at
-
http://www.cert.org/advisories/CA-2000-09/pgp.asc
The CERT Coordination Center thanks Germano Caronni, Thomas
Roessler, and Marcel Waldvogel for initially discovering and reporting
this vulnerability, and for their help in developing this
advisory. Additionally we thank Brett Thomas for his insights.
Shawn Hernan was the primary author of this document.
This document is available from:
http://www.cert.org/advisories/CA-2000-09.html
CERT/CC Contact Information
Email: cert@cert.org
Phone: +1 412-268-7090 (24-hour hotline)
Fax: +1 412-268-6989
Postal address:
-
CERT Coordination Center
Software Engineering Institute
Carnegie Mellon University
Pittsburgh PA 15213-3890
U.S.A.
CERT/CC personnel answer the hotline 08:00-17:00 EST(GMT-5) / EDT(GMT-4)
Monday through Friday; they are on call for emergencies during other
hours, on U.S. holidays, and on weekends.
Using encryption
We strongly urge you to encrypt sensitive information sent by
email. Our public PGP key is available from
If you prefer to use DES, please call the CERT hotline for more
information.
Getting security information
CERT publications and other security information are available from
our web site
* "CERT" and "CERT Coordination Center" are registered in the U.S. Patent and Trademark Office.
NO WARRANTY
Any material furnished by Carnegie Mellon University and the
Software Engineering Institute is furnished on an "as is"
basis. Carnegie Mellon University makes no warranties of any kind,
either expressed or implied as to any matter including, but not
limited to, warranty of fitness for a particular purpose or
merchantability, exclusivity or results obtained from use of the
material. Carnegie Mellon University does not make any warranty of any
kind with respect to freedom from patent, trademark, or copyright
infringement.
Conditions for use, disclaimers, and sponsorship information
Copyright 2000 Carnegie Mellon University.
Revision History
May 30, 2000: initial release