Hi everyone,
We’ve just released ServiceControl 6.21.2. This release fixes two security vulnerabilities. For details, read the security advisory.
Fixed bugs
- #5986 API accepts requests without a valid token when authentication is enabled and role-based authorization is disabled
- #5987 Email notification settings API returns the stored SMTP password
How to know if you are affected
You are affected by #5986 if:
- you use ServiceControl 6.18.0 to 6.21.1, and
- authentication is enabled, and
- role-based authorization is disabled, which is the default
You are affected by #5987 if:
- you use ServiceControl 4.17.0 to 6.21.1, and
- email notifications are configured with an SMTP account and password
Turning email notifications off does not remove a stored password.
Symptoms
For #5986, the error, audit, and monitoring instances accept API requests without a token, with an invalid token, or with an expired token. Every caller that can reach an instance can use the API as though they were a signed-in user. For example, the caller can read message bodies, and retry or delete failed messages.
After the upgrade, requests without a valid token get 401 Unauthorized. Container health checks that call /connection on a monitoring instance must call / instead.
For #5987, the API that returns the email notification settings also returns the stored SMTP password. Every caller that can read these settings can read the password and send email through the SMTP account.
After the upgrade, the API does not return the password. It is suggested that the SMTP password be changed after upgrading, since any previous access to the ServiceControl API could have revealed the password. See securing the SMTP account.
When to upgrade
You should upgrade immediately if you are affected. Otherwise, you should upgrade during your next maintenance window.
If you cannot upgrade immediately, follow the risk mitigation steps in the security advisory.
Where to get it
You can download the new version of ServiceControl from our website or Docker Hub.
Please read our support policy for more details.
With thanks,
The team in Particular