CVE-2023-3485 Insecure Default Authorization in Temporal Server

Low 3.0 Published Updated

Attackers can craft task tokens to interfere with pending tasks in other namespaces, potentially marking them failed or completed.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2023-3485?

CVE-2023-3485 is a low-severity missing authorization vulnerability in Temporal Server, published on 30 Jun 2023. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Insecure defaults in open-source Temporal Server before version 1.20 on all platforms allows an attacker to craft a task token with access to a namespace other than the one specified in the request. Creation of this task token must be done outside of the normal Temporal server flow. It requires the namespace UUID and information from the workflow history for the target namespace. Under these conditions, it is possible to interfere with pending tasks in other namespaces, such as marking a task failed or completed. If a task is targeted for completion by the attacker, the targeted namespace must also be using the same data converter configuration as the initial, valid, namespace for the task completion payload to be decoded by workers in the target namespace.

Weakness: CWE-863, CWE-1188

Which versions are affected by CVE-2023-3485?

4 open source packages ship an affected version, including go.temporal.io/server and temporal. It affects 1 product.

PackageAffectedFixed in
go.temporal.io/server GoAll versions1.20.0
go.temporal.io/server GoAll versions1.20.0
go.temporal.io/server GoAll versions1.20.0
temporal BitnamiAll versions1.20.0

Products include Temporal Temporal.

How do I fix CVE-2023-3485?

Upgrade go.temporal.io/server to 1.20.0 or later.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2023-3485 being exploited?

There is no known exploitation of CVE-2023-3485 in the wild and no public exploit code.

Sources

Also known as BIT-temporal-2023-3485, ECHO-0d64-2252-d1af, GHSA-gm2g-2xr9-pxxj, GO-2023-1879, MINI-2xxm-ppwm-fr8c, MINI-j9rf-3c8f-mwv3.

Is CVE-2023-3485 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free