Commit d6d45fa3 authored by Kristofer Pettersson's avatar Kristofer Pettersson

Bug#19695101 UPGRADE YASSL TO 2.3.5

parent 68ea0ea1
...@@ -12,6 +12,15 @@ before calling SSL_new(); ...@@ -12,6 +12,15 @@ before calling SSL_new();
*** end Note *** *** end Note ***
yaSSL Release notes, version 2.3.5 (9/29/2014)
This release of yaSSL fixes an RSA Padding check vulnerability reported by
Intel Security Advanced Threat Research team
See normal build instructions below under 1.0.6.
See libcurl build instructions below under 1.3.0 and note in 1.5.8.
yaSSL Release notes, version 2.3.4 (8/15/2014) yaSSL Release notes, version 2.3.4 (8/15/2014)
This release of yaSSL adds checking to the input_buffer class itself. This release of yaSSL adds checking to the input_buffer class itself.
......
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
#include "rsa.h" #include "rsa.h"
#define YASSL_VERSION "2.3.4" #define YASSL_VERSION "2.3.5"
#if defined(__cplusplus) #if defined(__cplusplus)
......
...@@ -177,7 +177,7 @@ word32 RSA_BlockType1::UnPad(const byte* pkcsBlock, word32 pkcsBlockLen, ...@@ -177,7 +177,7 @@ word32 RSA_BlockType1::UnPad(const byte* pkcsBlock, word32 pkcsBlockLen,
// skip past the padding until we find the separator // skip past the padding until we find the separator
unsigned i=1; unsigned i=1;
while (i<pkcsBlockLen && pkcsBlock[i++]) { // null body while (i<pkcsBlockLen && pkcsBlock[i++] == 0xFF) { // null body
} }
if (!(i==pkcsBlockLen || pkcsBlock[i-1]==0)) if (!(i==pkcsBlockLen || pkcsBlock[i-1]==0))
return 0; return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment