Upgrade RSKj to 9.0.5
VETIVER-9.0.5 is a security release that mitigates CVE-2026-114938 ("Java4Shell") in the OpenJDK Base64 decoder. The 9.0.5 JAR has no code changes: protection comes from the new systemd unit that disables the vulnerable intrinsic, together with the OpenJDK 17 update from USN-9155-1 (covered by unattended-upgrades).
The rskj package upgrade does not restart the node itself, so restart rsk explicitly when the pinned package version changes; otherwise the new unit and JAR are not picked up.
Bump the cookbook to 0.6.0 and update the InSpec assertion, adding a check that the unit carries -XX:-UseBASE64Intrinsics.
This commit is contained in:
5 files changed
+15
-3
No files matched your search
@@ -2,6 +2,11 @@
|
||||
|
||||
This file is used to list changes made in each version of the kosmos_rsk cookbook.
|
||||
|
||||
## 0.6.0
|
||||
|
||||
* Bump rskj to 9.0.5 (mitigates CVE-2026-114938)
|
||||
* Restart rsk after the package upgrade (the package itself does not)
|
||||
|
||||
## 0.3.0
|
||||
|
||||
* Bump rskj version
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
node.default['rskj']['version'] = "9.0.4~#{node['lsb']['codename']}"
|
||||
node.default['rskj']['version'] = "9.0.5~#{node['lsb']['codename']}"
|
||||
node.default['rskj']['network'] = 'testnet'
|
||||
|
||||
node.default['rskj']['nginx']['domain'] = nil
|
||||
@@ -3,7 +3,7 @@ maintainer 'Kosmos Developers'
|
||||
maintainer_email 'ops@kosmos.org'
|
||||
license 'MIT'
|
||||
description 'Installs/configures RSKj and related software'
|
||||
version '0.5.0'
|
||||
version '0.6.0'
|
||||
chef_version '>= 18.2'
|
||||
issues_url 'https://gitea.kosmos.org/kosmos/chef/issues'
|
||||
source_url 'https://gitea.kosmos.org/kosmos/chef'
|
||||
|
||||
@@ -35,6 +35,8 @@ end
|
||||
apt_package 'rskj' do
|
||||
options '--assume-yes'
|
||||
version node['rskj']['version']
|
||||
# The package upgrade does not restart the node itself, so do it for it.
|
||||
notifies :restart, 'service[rsk]', :delayed
|
||||
end
|
||||
|
||||
service "rsk" do
|
||||
|
||||
@@ -9,7 +9,7 @@ end
|
||||
|
||||
describe package('rskj') do
|
||||
it { should be_installed }
|
||||
its('version') { should eq '9.0.4~noble' }
|
||||
its('version') { should eq '9.0.5~noble' }
|
||||
end
|
||||
|
||||
describe service('rsk') do
|
||||
@@ -18,6 +18,11 @@ describe service('rsk') do
|
||||
it { should be_running }
|
||||
end
|
||||
|
||||
# 9.0.5 disables the vulnerable JDK Base64 intrinsic (CVE-2026-114938)
|
||||
describe file('/lib/systemd/system/rsk.service') do
|
||||
its('content') { should match(/-XX:-UseBASE64Intrinsics/) }
|
||||
end
|
||||
|
||||
describe port(4444) do
|
||||
it { should be_listening }
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user