Detect symmetric crypto errors in PKCS7_decrypt.
[openssl.git] / NEWS
1
2   NEWS
3   ====
4
5   This file gives a brief overview of the major changes between each OpenSSL
6   release. For more details please read the CHANGES file.
7
8   Major changes between OpenSSL 0.9.8s and OpenSSL 0.9.8t:
9
10       o Fix for DTLS DoS issue CVE-2012-0050
11
12   Major changes between OpenSSL 0.9.8r and OpenSSL 0.9.8s:
13
14       o Fix for DTLS plaintext recovery attack CVE-2011-4108
15       o Fix policy check double free error CVE-2011-4109
16       o Clear block padding bytes of SSL 3.0 records CVE-2011-4576
17       o Only allow one SGC handshake restart for SSL/TLS CVE-2011-4619
18       o Check for malformed RFC3779 data CVE-2011-4577
19
20   Major changes between OpenSSL 0.9.8q and OpenSSL 0.9.8r:
21
22       o Fix for security issue CVE-2011-0014
23
24   Major changes between OpenSSL 0.9.8p and OpenSSL 0.9.8q:
25
26       o Fix for security issue CVE-2010-4180
27       o Fix for CVE-2010-4252
28
29   Major changes between OpenSSL 0.9.8o and OpenSSL 0.9.8p:
30
31       o Fix for security issue CVE-2010-3864.
32
33   Major changes between OpenSSL 0.9.8n and OpenSSL 0.9.8o:
34
35       o Fix for security issue CVE-2010-0742.
36       o Various DTLS fixes.
37       o Recognise SHA2 certificates if only SSL algorithms added.
38       o Fix for no-rc4 compilation.
39       o Chil ENGINE unload workaround.
40
41   Major changes between OpenSSL 0.9.8m and OpenSSL 0.9.8n:
42
43       o CFB cipher definition fixes.
44       o Fix security issues CVE-2010-0740 and CVE-2010-0433.
45
46   Major changes between OpenSSL 0.9.8l and OpenSSL 0.9.8m:
47
48       o Cipher definition fixes.
49       o Workaround for slow RAND_poll() on some WIN32 versions.
50       o Remove MD2 from algorithm tables.
51       o SPKAC handling fixes.
52       o Support for RFC5746 TLS renegotiation extension.
53       o Compression memory leak fixed.
54       o Compression session resumption fixed.
55       o Ticket and SNI coexistence fixes.
56       o Many fixes to DTLS handling. 
57
58   Major changes between OpenSSL 0.9.8k and OpenSSL 0.9.8l:
59
60       o Temporary work around for CVE-2009-3555: disable renegotiation.
61
62   Major changes between OpenSSL 0.9.8j and OpenSSL 0.9.8k:
63
64       o Fix various build issues.
65       o Fix security issues (CVE-2009-0590, CVE-2009-0591, CVE-2009-0789)
66
67   Major changes between OpenSSL 0.9.8i and OpenSSL 0.9.8j:
68
69       o Fix security issue (CVE-2008-5077)
70       o Merge FIPS 140-2 branch code.
71
72   Major changes between OpenSSL 0.9.8g and OpenSSL 0.9.8h:
73
74       o CryptoAPI ENGINE support.
75       o Various precautionary measures.
76       o Fix for bugs affecting certificate request creation.
77       o Support for local machine keyset attribute in PKCS#12 files.
78
79   Major changes between OpenSSL 0.9.8f and OpenSSL 0.9.8g:
80
81       o Backport of CMS functionality to 0.9.8.
82       o Fixes for bugs introduced with 0.9.8f.
83
84   Major changes between OpenSSL 0.9.8e and OpenSSL 0.9.8f:
85
86       o Add gcc 4.2 support.
87       o Add support for AES and SSE2 assembly lanugauge optimization
88         for VC++ build.
89       o Support for RFC4507bis and server name extensions if explicitly 
90         selected at compile time.
91       o DTLS improvements.
92       o RFC4507bis support.
93       o TLS Extensions support.
94
95   Major changes between OpenSSL 0.9.8d and OpenSSL 0.9.8e:
96
97       o Various ciphersuite selection fixes.
98       o RFC3779 support.
99
100   Major changes between OpenSSL 0.9.8c and OpenSSL 0.9.8d:
101
102       o Introduce limits to prevent malicious key DoS  (CVE-2006-2940)
103       o Fix security issues (CVE-2006-2937, CVE-2006-3737, CVE-2006-4343)
104       o Changes to ciphersuite selection algorithm
105
106   Major changes between OpenSSL 0.9.8b and OpenSSL 0.9.8c:
107
108       o Fix Daniel Bleichenbacher forged signature attack, CVE-2006-4339
109       o New cipher Camellia
110
111   Major changes between OpenSSL 0.9.8a and OpenSSL 0.9.8b:
112
113       o Cipher string fixes.
114       o Fixes for VC++ 2005.
115       o Updated ECC cipher suite support.
116       o New functions EVP_CIPHER_CTX_new() and EVP_CIPHER_CTX_free().
117       o Zlib compression usage fixes.
118       o Built in dynamic engine compilation support on Win32.
119       o Fixes auto dynamic engine loading in Win32.
120
121   Major changes between OpenSSL 0.9.8 and OpenSSL 0.9.8a:
122
123       o Fix potential SSL 2.0 rollback, CVE-2005-2969
124       o Extended Windows CE support
125
126   Major changes between OpenSSL 0.9.7g and OpenSSL 0.9.8:
127
128       o Major work on the BIGNUM library for higher efficiency and to
129         make operations more streamlined and less contradictory.  This
130         is the result of a major audit of the BIGNUM library.
131       o Addition of BIGNUM functions for fields GF(2^m) and NIST
132         curves, to support the Elliptic Crypto functions.
133       o Major work on Elliptic Crypto; ECDH and ECDSA added, including
134         the use through EVP, X509 and ENGINE.
135       o New ASN.1 mini-compiler that's usable through the OpenSSL
136         configuration file.
137       o Added support for ASN.1 indefinite length constructed encoding.
138       o New PKCS#12 'medium level' API to manipulate PKCS#12 files.
139       o Complete rework of shared library construction and linking
140         programs with shared or static libraries, through a separate
141         Makefile.shared.
142       o Rework of the passing of parameters from one Makefile to another.
143       o Changed ENGINE framework to load dynamic engine modules
144         automatically from specifically given directories.
145       o New structure and ASN.1 functions for CertificatePair.
146       o Changed the ZLIB compression method to be stateful.
147       o Changed the key-generation and primality testing "progress"
148         mechanism to take a structure that contains the ticker
149         function and an argument.
150       o New engine module: GMP (performs private key exponentiation).
151       o New engine module: VIA PadLOck ACE extension in VIA C3
152         Nehemiah processors.
153       o Added support for IPv6 addresses in certificate extensions.
154         See RFC 1884, section 2.2.
155       o Added support for certificate policy mappings, policy
156         constraints and name constraints.
157       o Added support for multi-valued AVAs in the OpenSSL
158         configuration file.
159       o Added support for multiple certificates with the same subject
160         in the 'openssl ca' index file.
161       o Make it possible to create self-signed certificates using
162         'openssl ca -selfsign'.
163       o Make it possible to generate a serial number file with
164         'openssl ca -create_serial'.
165       o New binary search functions with extended functionality.
166       o New BUF functions.
167       o New STORE structure and library to provide an interface to all
168         sorts of data repositories.  Supports storage of public and
169         private keys, certificates, CRLs, numbers and arbitrary blobs.
170         This library is unfortunately unfinished and unused withing
171         OpenSSL.
172       o New control functions for the error stack.
173       o Changed the PKCS#7 library to support one-pass S/MIME
174         processing.
175       o Added the possibility to compile without old deprecated
176         functionality with the OPENSSL_NO_DEPRECATED macro or the
177         'no-deprecated' argument to the config and Configure scripts.
178       o Constification of all ASN.1 conversion functions, and other
179         affected functions.
180       o Improved platform support for PowerPC.
181       o New FIPS 180-2 algorithms (SHA-224, -256, -384 and -512).
182       o New X509_VERIFY_PARAM structure to support parametrisation
183         of X.509 path validation.
184       o Major overhaul of RC4 performance on Intel P4, IA-64 and
185         AMD64.
186       o Changed the Configure script to have some algorithms disabled
187         by default.  Those can be explicitely enabled with the new
188         argument form 'enable-xxx'.
189       o Change the default digest in 'openssl' commands from MD5 to
190         SHA-1.
191       o Added support for DTLS.
192       o New BIGNUM blinding.
193       o Added support for the RSA-PSS encryption scheme
194       o Added support for the RSA X.931 padding.
195       o Added support for BSD sockets on NetWare.
196       o Added support for files larger than 2GB.
197       o Added initial support for Win64.
198       o Added alternate pkg-config files.
199
200   Major changes between OpenSSL 0.9.7l and OpenSSL 0.9.7m:
201
202       o FIPS 1.1.1 module linking.
203       o Various ciphersuite selection fixes.
204
205   Major changes between OpenSSL 0.9.7k and OpenSSL 0.9.7l:
206
207       o Introduce limits to prevent malicious key DoS  (CVE-2006-2940)
208       o Fix security issues (CVE-2006-2937, CVE-2006-3737, CVE-2006-4343)
209
210   Major changes between OpenSSL 0.9.7j and OpenSSL 0.9.7k:
211
212       o Fix Daniel Bleichenbacher forged signature attack, CVE-2006-4339
213
214   Major changes between OpenSSL 0.9.7i and OpenSSL 0.9.7j:
215
216       o Visual C++ 2005 fixes.
217       o Update Windows build system for FIPS.
218
219   Major changes between OpenSSL 0.9.7h and OpenSSL 0.9.7i:
220
221       o Give EVP_MAX_MD_SIZE it's old value, except for a FIPS build.
222
223   Major changes between OpenSSL 0.9.7g and OpenSSL 0.9.7h:
224
225       o Fix SSL 2.0 Rollback, CVE-2005-2969
226       o Allow use of fixed-length exponent on DSA signing
227       o Default fixed-window RSA, DSA, DH private-key operations
228
229   Major changes between OpenSSL 0.9.7f and OpenSSL 0.9.7g:
230
231       o More compilation issues fixed.
232       o Adaptation to more modern Kerberos API.
233       o Enhanced or corrected configuration for Solaris64, Mingw and Cygwin.
234       o Enhanced x86_64 assembler BIGNUM module.
235       o More constification.
236       o Added processing of proxy certificates (RFC 3820).
237
238   Major changes between OpenSSL 0.9.7e and OpenSSL 0.9.7f:
239
240       o Several compilation issues fixed.
241       o Many memory allocation failure checks added.
242       o Improved comparison of X509 Name type.
243       o Mandatory basic checks on certificates.
244       o Performance improvements.
245
246   Major changes between OpenSSL 0.9.7d and OpenSSL 0.9.7e:
247
248       o Fix race condition in CRL checking code.
249       o Fixes to PKCS#7 (S/MIME) code.
250
251   Major changes between OpenSSL 0.9.7c and OpenSSL 0.9.7d:
252
253       o Security: Fix Kerberos ciphersuite SSL/TLS handshaking bug
254       o Security: Fix null-pointer assignment in do_change_cipher_spec()
255       o Allow multiple active certificates with same subject in CA index
256       o Multiple X509 verification fixes
257       o Speed up HMAC and other operations
258
259   Major changes between OpenSSL 0.9.7b and OpenSSL 0.9.7c:
260
261       o Security: fix various ASN1 parsing bugs.
262       o New -ignore_err option to OCSP utility.
263       o Various interop and bug fixes in S/MIME code.
264       o SSL/TLS protocol fix for unrequested client certificates.
265
266   Major changes between OpenSSL 0.9.7a and OpenSSL 0.9.7b:
267
268       o Security: counter the Klima-Pokorny-Rosa extension of
269         Bleichbacher's attack 
270       o Security: make RSA blinding default.
271       o Configuration: Irix fixes, AIX fixes, better mingw support.
272       o Support for new platforms: linux-ia64-ecc.
273       o Build: shared library support fixes.
274       o ASN.1: treat domainComponent correctly.
275       o Documentation: fixes and additions.
276
277   Major changes between OpenSSL 0.9.7 and OpenSSL 0.9.7a:
278
279       o Security: Important security related bugfixes.
280       o Enhanced compatibility with MIT Kerberos.
281       o Can be built without the ENGINE framework.
282       o IA32 assembler enhancements.
283       o Support for new platforms: FreeBSD/IA64 and FreeBSD/Sparc64.
284       o Configuration: the no-err option now works properly.
285       o SSL/TLS: now handles manual certificate chain building.
286       o SSL/TLS: certain session ID malfunctions corrected.
287
288   Major changes between OpenSSL 0.9.6 and OpenSSL 0.9.7:
289
290       o New library section OCSP.
291       o Complete rewrite of ASN1 code.
292       o CRL checking in verify code and openssl utility.
293       o Extension copying in 'ca' utility.
294       o Flexible display options in 'ca' utility.
295       o Provisional support for international characters with UTF8.
296       o Support for external crypto devices ('engine') is no longer
297         a separate distribution.
298       o New elliptic curve library section.
299       o New AES (Rijndael) library section.
300       o Support for new platforms: Windows CE, Tandem OSS, A/UX, AIX 64-bit,
301         Linux x86_64, Linux 64-bit on Sparc v9
302       o Extended support for some platforms: VxWorks
303       o Enhanced support for shared libraries.
304       o Now only builds PIC code when shared library support is requested.
305       o Support for pkg-config.
306       o Lots of new manuals.
307       o Makes symbolic links to or copies of manuals to cover all described
308         functions.
309       o Change DES API to clean up the namespace (some applications link also
310         against libdes providing similar functions having the same name).
311         Provide macros for backward compatibility (will be removed in the
312         future).
313       o Unify handling of cryptographic algorithms (software and engine)
314         to be available via EVP routines for asymmetric and symmetric ciphers.
315       o NCONF: new configuration handling routines.
316       o Change API to use more 'const' modifiers to improve error checking
317         and help optimizers.
318       o Finally remove references to RSAref.
319       o Reworked parts of the BIGNUM code.
320       o Support for new engines: Broadcom ubsec, Accelerated Encryption
321         Processing, IBM 4758.
322       o A few new engines added in the demos area.
323       o Extended and corrected OID (object identifier) table.
324       o PRNG: query at more locations for a random device, automatic query for
325         EGD style random sources at several locations.
326       o SSL/TLS: allow optional cipher choice according to server's preference.
327       o SSL/TLS: allow server to explicitly set new session ids.
328       o SSL/TLS: support Kerberos cipher suites (RFC2712).
329         Only supports MIT Kerberos for now.
330       o SSL/TLS: allow more precise control of renegotiations and sessions.
331       o SSL/TLS: add callback to retrieve SSL/TLS messages.
332       o SSL/TLS: support AES cipher suites (RFC3268).
333
334   Major changes between OpenSSL 0.9.6j and OpenSSL 0.9.6k:
335
336       o Security: fix various ASN1 parsing bugs.
337       o SSL/TLS protocol fix for unrequested client certificates.
338
339   Major changes between OpenSSL 0.9.6i and OpenSSL 0.9.6j:
340
341       o Security: counter the Klima-Pokorny-Rosa extension of
342         Bleichbacher's attack 
343       o Security: make RSA blinding default.
344       o Build: shared library support fixes.
345
346   Major changes between OpenSSL 0.9.6h and OpenSSL 0.9.6i:
347
348       o Important security related bugfixes.
349
350   Major changes between OpenSSL 0.9.6g and OpenSSL 0.9.6h:
351
352       o New configuration targets for Tandem OSS and A/UX.
353       o New OIDs for Microsoft attributes.
354       o Better handling of SSL session caching.
355       o Better comparison of distinguished names.
356       o Better handling of shared libraries in a mixed GNU/non-GNU environment.
357       o Support assembler code with Borland C.
358       o Fixes for length problems.
359       o Fixes for uninitialised variables.
360       o Fixes for memory leaks, some unusual crashes and some race conditions.
361       o Fixes for smaller building problems.
362       o Updates of manuals, FAQ and other instructive documents.
363
364   Major changes between OpenSSL 0.9.6f and OpenSSL 0.9.6g:
365
366       o Important building fixes on Unix.
367
368   Major changes between OpenSSL 0.9.6e and OpenSSL 0.9.6f:
369
370       o Various important bugfixes.
371
372   Major changes between OpenSSL 0.9.6d and OpenSSL 0.9.6e:
373
374       o Important security related bugfixes.
375       o Various SSL/TLS library bugfixes.
376
377   Major changes between OpenSSL 0.9.6c and OpenSSL 0.9.6d:
378
379       o Various SSL/TLS library bugfixes.
380       o Fix DH parameter generation for 'non-standard' generators.
381
382   Major changes between OpenSSL 0.9.6b and OpenSSL 0.9.6c:
383
384       o Various SSL/TLS library bugfixes.
385       o BIGNUM library fixes.
386       o RSA OAEP and random number generation fixes.
387       o Object identifiers corrected and added.
388       o Add assembler BN routines for IA64.
389       o Add support for OS/390 Unix, UnixWare with gcc, OpenUNIX 8,
390         MIPS Linux; shared library support for Irix, HP-UX.
391       o Add crypto accelerator support for AEP, Baltimore SureWare,
392         Broadcom and Cryptographic Appliance's keyserver
393         [in 0.9.6c-engine release].
394
395   Major changes between OpenSSL 0.9.6a and OpenSSL 0.9.6b:
396
397       o Security fix: PRNG improvements.
398       o Security fix: RSA OAEP check.
399       o Security fix: Reinsert and fix countermeasure to Bleichbacher's
400         attack.
401       o MIPS bug fix in BIGNUM.
402       o Bug fix in "openssl enc".
403       o Bug fix in X.509 printing routine.
404       o Bug fix in DSA verification routine and DSA S/MIME verification.
405       o Bug fix to make PRNG thread-safe.
406       o Bug fix in RAND_file_name().
407       o Bug fix in compatibility mode trust settings.
408       o Bug fix in blowfish EVP.
409       o Increase default size for BIO buffering filter.
410       o Compatibility fixes in some scripts.
411
412   Major changes between OpenSSL 0.9.6 and OpenSSL 0.9.6a:
413
414       o Security fix: change behavior of OpenSSL to avoid using
415         environment variables when running as root.
416       o Security fix: check the result of RSA-CRT to reduce the
417         possibility of deducing the private key from an incorrectly
418         calculated signature.
419       o Security fix: prevent Bleichenbacher's DSA attack.
420       o Security fix: Zero the premaster secret after deriving the
421         master secret in DH ciphersuites.
422       o Reimplement SSL_peek(), which had various problems.
423       o Compatibility fix: the function des_encrypt() renamed to
424         des_encrypt1() to avoid clashes with some Unixen libc.
425       o Bug fixes for Win32, HP/UX and Irix.
426       o Bug fixes in BIGNUM, SSL, PKCS#7, PKCS#12, X.509, CONF and
427         memory checking routines.
428       o Bug fixes for RSA operations in threaded environments.
429       o Bug fixes in misc. openssl applications.
430       o Remove a few potential memory leaks.
431       o Add tighter checks of BIGNUM routines.
432       o Shared library support has been reworked for generality.
433       o More documentation.
434       o New function BN_rand_range().
435       o Add "-rand" option to openssl s_client and s_server.
436
437   Major changes between OpenSSL 0.9.5a and OpenSSL 0.9.6:
438
439       o Some documentation for BIO and SSL libraries.
440       o Enhanced chain verification using key identifiers.
441       o New sign and verify options to 'dgst' application.
442       o Support for DER and PEM encoded messages in 'smime' application.
443       o New 'rsautl' application, low level RSA utility.
444       o MD4 now included.
445       o Bugfix for SSL rollback padding check.
446       o Support for external crypto devices [1].
447       o Enhanced EVP interface.
448
449     [1] The support for external crypto devices is currently a separate
450         distribution.  See the file README.ENGINE.
451
452   Major changes between OpenSSL 0.9.5 and OpenSSL 0.9.5a:
453
454       o Bug fixes for Win32, SuSE Linux, NeXTSTEP and FreeBSD 2.2.8 
455       o Shared library support for HPUX and Solaris-gcc
456       o Support of Linux/IA64
457       o Assembler support for Mingw32
458       o New 'rand' application
459       o New way to check for existence of algorithms from scripts
460
461   Major changes between OpenSSL 0.9.4 and OpenSSL 0.9.5:
462
463       o S/MIME support in new 'smime' command
464       o Documentation for the OpenSSL command line application
465       o Automation of 'req' application
466       o Fixes to make s_client, s_server work under Windows
467       o Support for multiple fieldnames in SPKACs
468       o New SPKAC command line utilty and associated library functions
469       o Options to allow passwords to be obtained from various sources
470       o New public key PEM format and options to handle it
471       o Many other fixes and enhancements to command line utilities
472       o Usable certificate chain verification
473       o Certificate purpose checking
474       o Certificate trust settings
475       o Support of authority information access extension
476       o Extensions in certificate requests
477       o Simplified X509 name and attribute routines
478       o Initial (incomplete) support for international character sets
479       o New DH_METHOD, DSA_METHOD and enhanced RSA_METHOD
480       o Read only memory BIOs and simplified creation function
481       o TLS/SSL protocol bugfixes: Accept TLS 'client hello' in SSL 3.0
482         record; allow fragmentation and interleaving of handshake and other
483         data
484       o TLS/SSL code now "tolerates" MS SGC
485       o Work around for Netscape client certificate hang bug
486       o RSA_NULL option that removes RSA patent code but keeps other
487         RSA functionality
488       o Memory leak detection now allows applications to add extra information
489         via a per-thread stack
490       o PRNG robustness improved
491       o EGD support
492       o BIGNUM library bug fixes
493       o Faster DSA parameter generation
494       o Enhanced support for Alpha Linux
495       o Experimental MacOS support
496
497   Major changes between OpenSSL 0.9.3 and OpenSSL 0.9.4:
498
499       o Transparent support for PKCS#8 format private keys: these are used
500         by several software packages and are more secure than the standard
501         form
502       o PKCS#5 v2.0 implementation
503       o Password callbacks have a new void * argument for application data
504       o Avoid various memory leaks
505       o New pipe-like BIO that allows using the SSL library when actual I/O
506         must be handled by the application (BIO pair)
507
508   Major changes between OpenSSL 0.9.2b and OpenSSL 0.9.3:
509       o Lots of enhancements and cleanups to the Configuration mechanism
510       o RSA OEAP related fixes
511       o Added `openssl ca -revoke' option for revoking a certificate
512       o Source cleanups: const correctness, type-safe stacks and ASN.1 SETs
513       o Source tree cleanups: removed lots of obsolete files
514       o Thawte SXNet, certificate policies and CRL distribution points
515         extension support
516       o Preliminary (experimental) S/MIME support
517       o Support for ASN.1 UTF8String and VisibleString
518       o Full integration of PKCS#12 code
519       o Sparc assembler bignum implementation, optimized hash functions
520       o Option to disable selected ciphers
521
522   Major changes between OpenSSL 0.9.1c and OpenSSL 0.9.2b:
523       o Fixed a security hole related to session resumption
524       o Fixed RSA encryption routines for the p < q case
525       o "ALL" in cipher lists now means "everything except NULL ciphers"
526       o Support for Triple-DES CBCM cipher
527       o Support of Optimal Asymmetric Encryption Padding (OAEP) for RSA
528       o First support for new TLSv1 ciphers
529       o Added a few new BIOs (syslog BIO, reliable BIO)
530       o Extended support for DSA certificate/keys.
531       o Extended support for Certificate Signing Requests (CSR)
532       o Initial support for X.509v3 extensions
533       o Extended support for compression inside the SSL record layer
534       o Overhauled Win32 builds
535       o Cleanups and fixes to the Big Number (BN) library
536       o Support for ASN.1 GeneralizedTime
537       o Splitted ASN.1 SETs from SEQUENCEs
538       o ASN1 and PEM support for Netscape Certificate Sequences
539       o Overhauled Perl interface
540       o Lots of source tree cleanups.
541       o Lots of memory leak fixes.
542       o Lots of bug fixes.
543
544   Major changes between SSLeay 0.9.0b and OpenSSL 0.9.1c:
545       o Integration of the popular NO_RSA/NO_DSA patches
546       o Initial support for compression inside the SSL record layer
547       o Added BIO proxy and filtering functionality
548       o Extended Big Number (BN) library
549       o Added RIPE MD160 message digest
550       o Addeed support for RC2/64bit cipher
551       o Extended ASN.1 parser routines
552       o Adjustations of the source tree for CVS
553       o Support for various new platforms
554