:warning: We identified several vulnerabilities in Rudder's web application, affecting all maintained branches. If not already done, you should upgrade your server to the latest patch releases, 7.1.3 or 7.0.5 (or 6.2.16 for extended support with subscriptions) which contain fixes.
Note: These vulnerabilities only affect the Rudder root server, and simple nodes and relays are not affected, so only the server needs to be upgraded to remediate them.
This can be fixed temporarily by installing the "packaging" pip package and changing
"from distutils.version import StrictVersion"
to this :
"from packaging.version import Version as StrictVersion"
in the jinja2-templating.py files (which one to modify, I do not know, I've changed them all on the root server, and it seems to distribute them to the nodes)
You can also change the 2 references to StrictVersion to Version to not import Version as StrickVersion.
Heyo, I'm having an issue with setting up OpenSSH Server
I can apply a policy but the rudder service seems to be unable to restart the OpenSSH Server causing this issue
[Unexpected] Could not restart the OpenSSH server
[Unexpected] The OpenSSH server service is running
error OpenSSH server SSH process Could not restart the OpenSSH server
Any idea how to solve this issue ?
/usr/share/ncf/tree/10_ncf_internals/modules/templates/jinja2-templating.py
) on your Rudder server, this should completely remove the need for the dependency.
or this :
>>> jinja2.__version__ > "2.7"
True
>>> jinja2.__version__ > "3.7"
False
>>> jinja2.__version__ > "2.7"
True
(I have jinja3.1)