swh:1:snp:dc2a5002442a00b1c0eda7c65d04ea7455e166cd
Revision 208a6012be3077d83df4475f32dd1b1446f3a02e authored by Dr. Stephen Henson on 20 December 2014, 15:09:50 UTC, committed by Dr. Stephen Henson on 05 January 2015, 15:06:15 UTC
By using non-DER or invalid encodings outside the signed portion of a certificate the fingerprint can be changed without breaking the signature. Although no details of the signed portion of the certificate can be changed this can cause problems with some applications: e.g. those using the certificate fingerprint for blacklists. 1. Reject signatures with non zero unused bits. If the BIT STRING containing the signature has non zero unused bits reject the signature. All current signature algorithms require zero unused bits. 2. Check certificate algorithm consistency. Check the AlgorithmIdentifier inside TBS matches the one in the certificate signature. NB: this will result in signature failure errors for some broken certificates. 3. Check DSA/ECDSA signatures use DER. Reencode DSA/ECDSA signatures and compare with the original received signature. Return an error if there is a mismatch. This will reject various cases including garbage after signature (thanks to Antti Karjalainen and Tuomo Untinen from the Codenomicon CROSS program for discovering this case) and use of BER or invalid ASN.1 INTEGERs (negative or with leading zeroes). CVE-2014-8275 Reviewed-by: Emilia Käsper <emilia@openssl.org> (cherry picked from commit 684400ce192dac51df3d3e92b61830a6ef90be3e) Conflicts: CHANGES crypto/dsa/dsa_asn1.c
1 parent d7f8a7c
Tip revision: 0fdf965bf0b1f87d4a5d52c71994ffdda5235718 authored by Neil Horman on 11 September 2024, 13:53:49 UTC
review fixups for quic-hq-interop
review fixups for quic-hq-interop
Tip revision: 0fdf965
File | Mode | Size |
---|---|---|
MacOS | ||
Netware | ||
VMS | ||
apps | ||
bugs | ||
certs | ||
crypto | ||
demos | ||
doc | ||
engines | ||
include | ||
ms | ||
os2 | ||
perl | ||
shlib | ||
ssl | ||
test | ||
times | ||
tools | ||
util | ||
.cvsignore | -rw-r--r-- | 193 bytes |
.gitignore | -rw-r--r-- | 1.0 KB |
ACKNOWLEDGMENTS | -rw-r--r-- | 1.0 KB |
CHANGES | -rw-r--r-- | 422.5 KB |
CHANGES.SSLeay | -rw-r--r-- | 41.7 KB |
Configure | -rwxr-xr-x | 96.0 KB |
FAQ | -rw-r--r-- | 45.4 KB |
INSTALL | -rw-r--r-- | 14.3 KB |
INSTALL.DJGPP | -rw-r--r-- | 2.0 KB |
INSTALL.MacOS | -rw-r--r-- | 3.2 KB |
INSTALL.NW | -rw-r--r-- | 18.4 KB |
INSTALL.OS2 | -rw-r--r-- | 744 bytes |
INSTALL.VMS | -rw-r--r-- | 10.7 KB |
INSTALL.W32 | -rw-r--r-- | 11.6 KB |
INSTALL.W64 | -rw-r--r-- | 2.1 KB |
INSTALL.WCE | -rw-r--r-- | 3.2 KB |
LICENSE | -rw-r--r-- | 6.1 KB |
Makefile.org | -rw-r--r-- | 22.1 KB |
Makefile.shared | -rw-r--r-- | 21.4 KB |
NEWS | -rw-r--r-- | 28.9 KB |
PROBLEMS | -rw-r--r-- | 8.5 KB |
README | -rw-r--r-- | 8.9 KB |
README.ASN1 | -rw-r--r-- | 7.5 KB |
README.ENGINE | -rw-r--r-- | 15.7 KB |
TABLE | -rw-r--r-- | 133.2 KB |
config | -rwxr-xr-x | 26.6 KB |
e_os.h | -rw-r--r-- | 23.7 KB |
e_os2.h | -rw-r--r-- | 9.8 KB |
install.com | -rw-r--r-- | 3.6 KB |
makevms.com | -rwxr-xr-x | 38.6 KB |
openssl.doxy | -rw-r--r-- | 137 bytes |
openssl.spec | -rw-r--r-- | 7.7 KB |

Computing file changes ...