21 Commits (4b66bcf85bd4450575b4286aab9e9c58f7cebc5e)

Author SHA1 Message Date
Nicolas Favre-Felix 5251109517
Update alpine base image, OpenSSL version
This addresses multiple vulnerabilities found in OpenSSL, which is
bundled in the Docker image to allow Webdis to connect to Redis over a
secure TLS connection. Full list of CVEs to be published in the
upcoming release notes for Webdis 0.1.22.
1 year ago
Nicolas Favre-Felix 1b63174d5d
Dependency updates: alpine, redis, ssl
Alpine: 3.14.3 -> 3.17.1
Redis: 6.2.6 -> 7.0.8
2 years ago
Nicolas Favre-Felix 545c56c4cb
Reduce Docker image size
* Remove apk cache after installing packages
* Remove unused Redis binaries: -benchmark and -cli

Those have to be done on the same line as `apk add` in order to be part
of the same image layer, since running them in a separate layer would
not affect the layer they were added to.
3 years ago
Nicolas Favre-Felix 93e96565a6
Update Dockerfile for Webdis 0.1.18.1 3 years ago
Nicolas Favre-Felix 277e6fc303
Update Dockerfile to build webdis with SSL support
Two binaries are built and packaged:
* /usr/local/bin/webdis -- still without SSL and does not depend on
  OpenSSL
* /usr/local/bin/webdis-ssl -- supports SSL, depends on OpenSSL but has
  to be used with the webdis image as a base image or in a container
  injecting the webdis config and certs.
3 years ago
Nicolas Favre-Felix 942be1fd54
Release 0.1.17.1 (Fixes Redis vulnerabilities)
Security update: upgrading the version of Redis bundled in
the Webdis image to fix a number of severe vulnerabilities.

* Low severity vulnerability found in redis/redis
  Description: Integer Overflow or Wraparound
  Info: https://snyk.io/vuln/SNYK-ALPINE314-REDIS-1727801
  Introduced through: redis/redis@6.2.5-r0
  From: redis/redis@6.2.5-r0
  Fixed in: 6.2.6-r0

* Medium severity vulnerability found in redis/redis
  Description: Out-of-bounds Read
  Info: https://snyk.io/vuln/SNYK-ALPINE314-REDIS-1727803
  Introduced through: redis/redis@6.2.5-r0
  From: redis/redis@6.2.5-r0
  Fixed in: 6.2.6-r0

* High severity vulnerability found in redis/redis
  Description: Allocation of Resources Without Limits or Throttling
  Info: https://snyk.io/vuln/SNYK-ALPINE314-REDIS-1727783
  Introduced through: redis/redis@6.2.5-r0
  From: redis/redis@6.2.5-r0
  Fixed in: 6.2.6-r0

* High severity vulnerability found in redis/redis
  Description: CVE-2021-32626
  Info: https://snyk.io/vuln/SNYK-ALPINE314-REDIS-1727820
  Introduced through: redis/redis@6.2.5-r0
  From: redis/redis@6.2.5-r0
  Fixed in: 6.2.6-r0

* High severity vulnerability found in redis/redis
  Description: Integer Overflow or Wraparound
  Info: https://snyk.io/vuln/SNYK-ALPINE314-REDIS-1727822
  Introduced through: redis/redis@6.2.5-r0
  From: redis/redis@6.2.5-r0
  Fixed in: 6.2.6-r0

* High severity vulnerability found in redis/redis
  Description: Integer Overflow or Wraparound
  Info: https://snyk.io/vuln/SNYK-ALPINE314-REDIS-1727823
  Introduced through: redis/redis@6.2.5-r0
  From: redis/redis@6.2.5-r0
  Fixed in: 6.2.6-r0

* High severity vulnerability found in redis/redis
  Description: Integer Overflow or Wraparound
  Info: https://snyk.io/vuln/SNYK-ALPINE314-REDIS-1727825
  Introduced through: redis/redis@6.2.5-r0
  From: redis/redis@6.2.5-r0
  Fixed in: 6.2.6-r0

* High severity vulnerability found in redis/redis
  Description: Integer Overflow or Wraparound
  Info: https://snyk.io/vuln/SNYK-ALPINE314-REDIS-1727826
  Introduced through: redis/redis@6.2.5-r0
  From: redis/redis@6.2.5-r0
  Fixed in: 6.2.6-r0
3 years ago
Nicolas Favre-Felix 871992d4aa
Update base image from alpine 3.12.7 to 3.14.2 3 years ago
Nicolas Favre-Felix e6379ada2b
Upgrade base image from alpine:3.12.6 to 3.12.7 3 years ago
Nicolas Favre-Felix 0dd8325bbf
Update base image to alpine:3.12.6
Alpine 3.12.5 has a known vulnerability:
  High severity vulnerability found in busybox/busybox
  Description: Improper Handling of Exceptional Conditions
  Info: https://snyk.io/vuln/SNYK-ALPINE312-BUSYBOX-1089799
  Introduced through: busybox/busybox@1.31.1-r19, alpine-baselayout/alpine-baselayout@3.2.0-r7, busybox/ssl_client@1.31.1-r19
  From: busybox/busybox@1.31.1-r19
  From: alpine-baselayout/alpine-baselayout@3.2.0-r7 > busybox/busybox@1.31.1-r19
  From: busybox/ssl_client@1.31.1-r19
  Fixed in: 1.31.1-r20
4 years ago
Nicolas Favre-Felix 6cfab3e563
Update base image to Alpine 3.12.5
Alpine 3.12.4 uses a vulnerable version of libssl1.1
(CVE-2021-3449 and CVE-2021-3450), issues that are fixed in Alpine
3.12.5. This is not really a problem for Webdis since it doesn't use
SSL, but the vulnerability shows up on image scans and users who build
images with Webdis as the base image could be at risk if their own
changes depend on this library.
4 years ago
Nicolas Favre-Felix 726c96fb89
Update alpine base image for OpenSSL fix
Resolves:
* https://snyk.io/vuln/SNYK-ALPINE312-OPENSSL-1075734
* https://snyk.io/vuln/SNYK-ALPINE312-OPENSSL-1075735
* https://snyk.io/vuln/SNYK-ALPINE312-OPENSSL-1075736
4 years ago
Nicolas Favre-Felix 9c1f900332
Update libcrypto, as recommended by snyk
Fixes https://snyk.io/vuln/SNYK-ALPINE311-OPENSSL-587980
Even though webdis doesn't use TLS, some images could be built from the
webdis image and therefore use a vulnerable version of openssl. The fix
is in version 1.1.1g and Alpine currently has 1.1.1i.
After this change, snyk no longer report any know vulnerabilities in the
Docker image.
4 years ago
Nicolas Favre-Felix 9f4a2093a6
Dockerfile updates
* Bump alpine version from 3.11.3 to 3.12.3
* Use `LABEL` instead of `MAINTAINER` which is deprecated
4 years ago
Nicolas Favre-Felix a41bd55105 Update Dockerfile to no longer require the latest tag
The Dockerfile used to refer to the latest published tag for Webdis.
This meant updating the file every time a new release was published.
This change uses the GitHub API to find the latest tag before
downloading and building the corresponding release.
4 years ago
Nicolas Favre-Felix 77776e0eaa Release 0.1.10 4 years ago
Nicolas Favre-Felix bb64f3bba7 Version bump after release 5 years ago
Nicolas Favre-Felix 556aa75d75 Remove obsolete `sed` replace from Dockerfile 5 years ago
Nicolas Favre-Felix 7add4cc30b Release 0.1.8 5 years ago
Jessie Murray a077c98fc2
Update Dockerfile to use Alpine Linux (#169)
* Change base image to Alpine 3.11.3
* Use multi-stage build (reducing size from 276 MB to 9.5 MB)
* Change Makefile to build with -O3 instead of -O0 -ggdb
5 years ago
Nicolas Favre-Felix b91f10ce73 Update Dockerfile to Debian Jessie, enable MessagePack, fix RUN command + add Docker example to README 5 years ago
Nicolas Favre-Felix b6202150f7 Add Dockerfile 11 years ago