CVEfocus › CVE database › CVE-2023-3485

CVE-2023-3485Insecure Default Authorization in Temporal Server

CVSS 3.0 LowEPSS 0.2% (higher than 6% of CVEs)Published 2023-06-30Updated 2024-10-28Assigner: Temporal

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.

CWE-1188CWE-863

What to do

Fixed builds are available from Go: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

1Fixed

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Go librarygo.temporal.io/serverFixed1.20.0GHSA-gm2g-2xr9-pxxj

What the vendor says

As published in the CVE record by Temporal, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Solution: * Set frontend.enableTokenNamespaceEnforcement https://github.com/temporalio/temporal/pull/3798 to true * Upgrade to version 1.20 or above, where this is the default

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.