Skip to content

Commit 402787a

Browse files
authored
Merge pull request #109 from cyberark/CONJSE-1683-fix-CVES
Update ruby to version 3.0.6
2 parents d9b0d4c + a8757ca commit 402787a

File tree

16 files changed

+17
-15
lines changed

16 files changed

+17
-15
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
1010
### Security
1111
- Update OpenSSL to 1.0.2zg to remove CVE-2023-0286
1212
[cyberark/conjur-base-image#106](https://github.com/cyberark/conjur-base-image/pull/106)
13+
- Upgrade Ruby to 3.0.6 to resolve CVE-2021-33621
14+
[cyberark/conjur-base-image#107](https://github.com/cyberark/conjur-base-image/pull/107)
1315

1416
## [2.0.5] - 2022-12-9
1517

phusion-ruby-builder/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ FROM openssl-builder:$OPENSSL_BUILDER_TAG as OpenSSL-builder
1111
FROM phusion/baseimage:$PHUSION_VERSION
1212
ARG RUBY_MAJOR_VERSION
1313
ARG RUBY_FULL_VERSION
14-
ARG RUBY_SHA256=9afc6380a027a4fe1ae1a3e2eccb6b497b9c5ac0631c12ca56f9b7beb4848776
14+
ARG RUBY_SHA256=6e6cbd490030d7910c0ff20edefab4294dfcd1046f0f8f47f78b597987ac683e
1515

1616
ENV LD_LIBRARY_PATH="/usr/local/ssl/lib"
1717

phusion-ruby-builder/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ cd "$(dirname "$0")"
55
REPO_ROOT="$(git rev-parse --show-toplevel)"
66
PHUSION_VERSION=0.11
77
RUBY_MAJOR_VERSION=3.0
8-
RUBY_FULL_VERSION=3.0.5
8+
RUBY_FULL_VERSION=3.0.6
99

1010
docker build -t phusion-ruby-builder:"$RUBY_FULL_VERSION-fips" \
1111
--build-arg PHUSION_VERSION="$PHUSION_VERSION" \

phusion-ruby-fips/Description.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
This image includes the following packages:
55

66
* OpenSSL version `1.0.ze`: built with FIPS 140-2 compliant OpenSSL module version `2.0.16`.
7-
* Ruby version `3.0.5`: compiled against the FIPS 140-2 compliant OpenSSL module.
7+
* Ruby version `3.0.6`: compiled against the FIPS 140-2 compliant OpenSSL module.
88
* Postgres client version `10-10.16`: compiled against the FIPS 140-2 compliant OpenSSL module.
99
* OpenLDAP version `2.4.46`: built using OpenSSL rather than gnutls and compiled against the FIPS 140-2 compliant OpenSSL module.
1010
* Bundler version `2.2.33`.

phusion-ruby-fips/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
This container image includes Phusion version `0.11` which contains the following packages:
33

44
* OpenSSL version `1.0.2zg`: built by SafeLogic to be FIPS-compliant
5-
* Ruby version `3.0.5`: compiled against the FIPS 140-2 compliant OpenSSL module.
5+
* Ruby version `3.0.6`: compiled against the FIPS 140-2 compliant OpenSSL module.
66
* Postgres client version `10-10.16`: compiled against the FIPS 140-2 compliant OpenSSL module.
77
* OpenLDAP version `2.4.46`: built using openssl rather than gnutls and compiled against the FIPS 140-2 compliant OpenSSL module.
88
* Bundler version `2.2.33`.

phusion-ruby-fips/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ cd "$(dirname "$0")"
44

55
REPO_ROOT="$(git rev-parse --show-toplevel)"
66
PHUSION_VERSION=0.11
7-
RUBY_BUILDER_TAG=3.0.5-fips
7+
RUBY_BUILDER_TAG=3.0.6-fips
88
PG_BUILDER_TAG=10-10.16-fips
99
OPENLDAP_BUILDER_TAG=2.4.46-fips
1010

ubi-ruby-builder/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ARG RUBY_FULL_VERSION
77
FROM registry.access.redhat.com/$UBI_VERSION/ubi
88
ARG RUBY_MAJOR_VERSION
99
ARG RUBY_FULL_VERSION
10-
ARG RUBY_SHA256=9afc6380a027a4fe1ae1a3e2eccb6b497b9c5ac0631c12ca56f9b7beb4848776
10+
ARG RUBY_SHA256=6e6cbd490030d7910c0ff20edefab4294dfcd1046f0f8f47f78b597987ac683e
1111

1212
RUN yum -y clean all && yum -y makecache && yum -y update
1313

ubi-ruby-builder/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ cd "$(dirname "$0")"
44

55
UBI_VERSION=ubi8
66
RUBY_MAJOR_VERSION=3.0
7-
RUBY_FULL_VERSION=3.0.5
7+
RUBY_FULL_VERSION=3.0.6
88

99
docker build -t ubi-ruby-builder:"$RUBY_FULL_VERSION-fips" \
1010
--build-arg UBI_VERSION="$UBI_VERSION" \

ubi-ruby-fips/Description.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
This image includes the following packages:
55

66
* OpenSSL version `1.1.1k`: with FIPS 140-2 compliant OpenSSL module from RedHat UBI 8.
7-
* Ruby version `3.0.5`: compiled against the FIPS 140-2 compliant OpenSSL module.
7+
* Ruby version `3.0.6`: compiled against the FIPS 140-2 compliant OpenSSL module.
88
* Postgres client version `10-10.16`: compiled against the FIPS 140-2 compliant OpenSSL module.
99
* Bundler version `2.2.33`.
1010

ubi-ruby-fips/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
This container image includes UBI version `8` which contains the following packages:
33

44
* OpenSSL version `1.1.1k`: with FIPS 140-2 compliant OpenSSL module from RedHat UBI 8.
5-
* Ruby version `3.0.5`: compiled against the FIPS 140-2 compliant OpenSSL module.
5+
* Ruby version `3.0.6`: compiled against the FIPS 140-2 compliant OpenSSL module.
66
* Postgres client version `10-10.16`: compiled against the FIPS 140-2 compliant OpenSSL module.
77
* Bundler version `2.2.33`.
88

0 commit comments

Comments
 (0)