Skip to content

Commit d6d45fa

Browse files
author
Kristofer Pettersson
committed
Bug#19695101 UPGRADE YASSL TO 2.3.5
1 parent 68ea0ea commit d6d45fa

3 files changed

Lines changed: 11 additions & 2 deletions

File tree

extra/yassl/README

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,15 @@ before calling SSL_new();
1212

1313
*** end Note ***
1414

15+
yaSSL Release notes, version 2.3.5 (9/29/2014)
16+
17+
This release of yaSSL fixes an RSA Padding check vulnerability reported by
18+
Intel Security Advanced Threat Research team
19+
20+
See normal build instructions below under 1.0.6.
21+
See libcurl build instructions below under 1.3.0 and note in 1.5.8.
22+
23+
1524
yaSSL Release notes, version 2.3.4 (8/15/2014)
1625

1726
This release of yaSSL adds checking to the input_buffer class itself.

extra/yassl/include/openssl/ssl.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
#include "rsa.h"
3636

3737

38-
#define YASSL_VERSION "2.3.4"
38+
#define YASSL_VERSION "2.3.5"
3939

4040

4141
#if defined(__cplusplus)

extra/yassl/taocrypt/src/rsa.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ word32 RSA_BlockType1::UnPad(const byte* pkcsBlock, word32 pkcsBlockLen,
177177

178178
// skip past the padding until we find the separator
179179
unsigned i=1;
180-
while (i<pkcsBlockLen && pkcsBlock[i++]) { // null body
180+
while (i<pkcsBlockLen && pkcsBlock[i++] == 0xFF) { // null body
181181
}
182182
if (!(i==pkcsBlockLen || pkcsBlock[i-1]==0))
183183
return 0;

0 commit comments

Comments
 (0)