Skip to main content
  • Home
  • login
  • Browse the archive

    swh mirror partner logo
swh logo
SoftwareHeritage
Software
Heritage
Mirror
Features
  • Search

  • Downloads

  • Save code now

  • Add forge now

  • Help

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
Fix various certificate fingerprint issues.
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
  • Files
  • Changes
  • ad5b74d
  • /
History
Cook and download a directory from the Software Heritage Vault

You have requested the cooking of the directory with identifier swh:1:dir:ad5b74df4e8537f73aaef90768c46d703fe25e43 into a standard tar.gz archive.

Are you sure you want to continue ?

Download a directory from the Software Heritage Vault

You have requested the download of the directory with identifier swh:1:dir:ad5b74df4e8537f73aaef90768c46d703fe25e43 as a standard tar.gz archive.

Are you sure you want to continue ?

Cook and download a revision from the Software Heritage Vault

You have requested the cooking of the history heading to revision with identifier swh:1:rev:208a6012be3077d83df4475f32dd1b1446f3a02e into a bare git archive.

Are you sure you want to continue ?

Download a revision from the Software Heritage Vault

You have requested the download of the history heading to revision with identifier swh:1:rev:208a6012be3077d83df4475f32dd1b1446f3a02e as a bare git archive.

Are you sure you want to continue ?

Invalid Email !

The provided email is not well-formed.

Download link has expired

The requested archive is no longer available for download from the Software Heritage Vault.

Do you want to cook it again ?

Permalinks

To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
Select below a type of object currently browsed in order to display its associated SWHID and permalink.

  • revision
  • directory
revision badge
swh:1:rev:208a6012be3077d83df4475f32dd1b1446f3a02e
directory badge Iframe embedding
swh:1:dir:ad5b74df4e8537f73aaef90768c46d703fe25e43
FileModeSize
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-x96.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-x26.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-x38.6 KB
openssl.doxy -rw-r--r--137 bytes
openssl.spec -rw-r--r--7.7 KB

The diff you're trying to view is too large. Only the first 1000 changed files have been loaded.
Showing with 0 additions and 0 deletions (0 / 0 diffs computed)
swh spinner

Computing file changes ...

README

ENEA — Copyright (C), ENEA. License: GNU AGPLv3+.
Legal notes  ::  JavaScript license information ::  Web API

back to top