forked from clearlinux-pkgs/tensorflow
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCVE-2019-5443.patch
51 lines (48 loc) · 1.97 KB
/
CVE-2019-5443.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
From e80fbd2fb1151b9fd5ffc6f2281c8325ce113879 Mon Sep 17 00:00:00 2001
From: Clayne Robison <[email protected]>
Date: Fri, 16 Aug 2019 00:07:21 -0700
Subject: [PATCH] [Intel MKL] Upgrading curl to 7.65.3 to fix CVE-2019-5443
---
tensorflow/workspace.bzl | 8 ++++----
third_party/curl.BUILD | 2 +-
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/tensorflow/workspace.bzl b/tensorflow/workspace.bzl
index d2c87a560c92..8d5e1fb1a46a 100755
--- a/tensorflow/workspace.bzl
+++ b/tensorflow/workspace.bzl
@@ -500,12 +500,12 @@ def tf_repositories(path_prefix = "", tf_repo_name = ""):
tf_http_archive(
name = "curl",
build_file = clean_dep("//third_party:curl.BUILD"),
- sha256 = "821aeb78421375f70e55381c9ad2474bf279fc454b791b7e95fc83562951c690",
- strip_prefix = "curl-7.65.1",
+ sha256 = "4376ac72b95572fb6c4fbffefb97c7ea0dd083e1974c0e44cd7e49396f454839",
+ strip_prefix = "curl-7.65.3",
system_build_file = clean_dep("//third_party/systemlibs:curl.BUILD"),
urls = [
- "http://mirror.tensorflow.org/curl.haxx.se/download/curl-7.65.1.tar.gz",
- "https://curl.haxx.se/download/curl-7.65.1.tar.gz",
+ "http://mirror.tensorflow.org/curl.haxx.se/download/curl-7.65.3.tar.gz",
+ "https://curl.haxx.se/download/curl-7.65.3.tar.gz",
],
)
diff --git a/third_party/curl.BUILD b/third_party/curl.BUILD
index 66880808ffdd..b99a35083339 100644
--- a/third_party/curl.BUILD
+++ b/third_party/curl.BUILD
@@ -216,7 +216,6 @@ cc_library(
"lib/vauth/vauth.c",
"lib/vauth/vauth.h",
"lib/version.c",
- "lib/vtls/cyassl.h",
"lib/vtls/gskit.h",
"lib/vtls/gtls.h",
"lib/vtls/mbedtls.h",
@@ -227,6 +226,7 @@ cc_library(
"lib/vtls/schannel.h",
"lib/vtls/vtls.c",
"lib/vtls/vtls.h",
+ "lib/vtls/wolfssl.h",
"lib/warnless.c",
"lib/warnless.h",
"lib/wildcard.c",