Skip to content

Commit

Permalink
[CVE-2022-37434] Bump zlib and zlibc versions to 1.12.13 addressing l…
Browse files Browse the repository at this point in the history
…atest vulnerability (#101)
  • Loading branch information
BolongZhang-AWS authored Oct 17, 2022
1 parent 221cb2c commit e089c89
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ jobs:
nmake install
- name: Install zlib
run: |
git clone -b v1.2.8 https://github.com/madler/zlib.git
git clone -b v1.2.13 https://github.com/madler/zlib.git
cd zlib
mkdir build
cd build
Expand Down
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ RUN yum check-update; yum upgrade -y && \
RUN mkdir /home/dependencies
WORKDIR /home/dependencies

RUN wget https://www.zlib.net/zlib-1.2.12.tar.gz -O /tmp/zlib-1.2.12.tar.gz && \
tar xzvf /tmp/zlib-1.2.12.tar.gz && \
cd zlib-1.2.12 && \
RUN wget https://www.zlib.net/zlib-1.2.13.tar.gz -O /tmp/zlib-1.2.13.tar.gz && \
tar xzvf /tmp/zlib-1.2.13.tar.gz && \
cd zlib-1.2.13 && \
./configure && \
make && \
make install && \
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ previous step, or you can run `./docker-run.sh -p <port_number>` to expose a por
* Development libraries required:
* Boost 1.76
* Protobuf 3.17.x
* zlib
* zlib 1.12.13+
* OpenSSL 1.0+
* Catch2 test framework
* Stage a dependency build directory and change directory into it:
Expand All @@ -54,9 +54,9 @@ Ubuntu example:
Fedora example:
`dnf install zlib`

wget https://www.zlib.net/zlib-1.2.12.tar.gz -O /tmp/zlib-1.2.12.tar.gz
tar xzvf /tmp/zlib-1.2.12.tar.gz
cd zlib-1.2.12
wget https://www.zlib.net/zlib-1.2.13.tar.gz -O /tmp/zlib-1.2.13.tar.gz
tar xzvf /tmp/zlib-1.2.13.tar.gz
cd zlib-1.2.13
./configure
make
sudo make install
Expand Down
2 changes: 1 addition & 1 deletion windows-localproxy-build.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* Install the following dependencies (Choose visual studio command prompt based on architecture):
* Download and install zlib:
* Use Visual Studio native tool command prompt in admin mode.
* `git clone -b v1.2.8 https://github.com/madler/zlib.git`
* `git clone -b v1.2.13 https://github.com/madler/zlib.git`
* `cd zlib`
* `mkdir build`
* `cd build`
Expand Down

0 comments on commit e089c89

Please sign in to comment.