Skip to content

Commit e089c89

Browse files
[CVE-2022-37434] Bump zlib and zlibc versions to 1.12.13 addressing latest vulnerability (#101)
1 parent 221cb2c commit e089c89

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ jobs:
133133
nmake install
134134
- name: Install zlib
135135
run: |
136-
git clone -b v1.2.8 https://github.com/madler/zlib.git
136+
git clone -b v1.2.13 https://github.com/madler/zlib.git
137137
cd zlib
138138
mkdir build
139139
cd build

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ RUN yum check-update; yum upgrade -y && \
1414
RUN mkdir /home/dependencies
1515
WORKDIR /home/dependencies
1616

17-
RUN wget https://www.zlib.net/zlib-1.2.12.tar.gz -O /tmp/zlib-1.2.12.tar.gz && \
18-
tar xzvf /tmp/zlib-1.2.12.tar.gz && \
19-
cd zlib-1.2.12 && \
17+
RUN wget https://www.zlib.net/zlib-1.2.13.tar.gz -O /tmp/zlib-1.2.13.tar.gz && \
18+
tar xzvf /tmp/zlib-1.2.13.tar.gz && \
19+
cd zlib-1.2.13 && \
2020
./configure && \
2121
make && \
2222
make install && \

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ previous step, or you can run `./docker-run.sh -p <port_number>` to expose a por
3636
* Development libraries required:
3737
* Boost 1.76
3838
* Protobuf 3.17.x
39-
* zlib
39+
* zlib 1.12.13+
4040
* OpenSSL 1.0+
4141
* Catch2 test framework
4242
* Stage a dependency build directory and change directory into it:
@@ -54,9 +54,9 @@ Ubuntu example:
5454
Fedora example:
5555
`dnf install zlib`
5656

57-
wget https://www.zlib.net/zlib-1.2.12.tar.gz -O /tmp/zlib-1.2.12.tar.gz
58-
tar xzvf /tmp/zlib-1.2.12.tar.gz
59-
cd zlib-1.2.12
57+
wget https://www.zlib.net/zlib-1.2.13.tar.gz -O /tmp/zlib-1.2.13.tar.gz
58+
tar xzvf /tmp/zlib-1.2.13.tar.gz
59+
cd zlib-1.2.13
6060
./configure
6161
make
6262
sudo make install

windows-localproxy-build.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Install the following dependencies (Choose visual studio command prompt based on architecture):
88
* Download and install zlib:
99
* Use Visual Studio native tool command prompt in admin mode.
10-
* `git clone -b v1.2.8 https://github.com/madler/zlib.git`
10+
* `git clone -b v1.2.13 https://github.com/madler/zlib.git`
1111
* `cd zlib`
1212
* `mkdir build`
1313
* `cd build`

0 commit comments

Comments
 (0)