CVE-2024-45391 Tina search token leak via lock file in TinaCMS

High 7.5 Published Updated

Attackers can read search tokens from lock files in TinaCMS CLI, potentially bypassing search security controls.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2024-45391?

CVE-2024-45391 is a high-severity vulnerability in tinacms, published on 3 Sep 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Tina is an open-source content management system (CMS). Sites building with Tina CMS's command line interface (CLI) prior to version 1.6.2 that use a search token may be vulnerable to the search token being leaked via lock file (tina-lock.json). Administrators of Tina-enabled websites with search setup should rotate their key immediately. This issue has been patched in @tinacms/cli version 1.6.2. Upgrading and rotating the search token is required for the proper fix.

Weakness: CWE-312, CWE-200

Which versions are affected by CVE-2024-45391?

2 open source packages ship an affected version, including @tinacms/cli. It affects 1 product.

PackageAffectedFixed in
@tinacms/cli npmAll versions1.6.2
@tinacms/cli npmAll versions1.6.2

Products include Ssw Tinacms\/Cli.

How do I fix CVE-2024-45391?

Upgrade @tinacms/cli to 1.6.2 or later.

Is CVE-2024-45391 being exploited?

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

Sources

Also known as GHSA-4qrm-9h4r-v2fx.

Is CVE-2024-45391 in your software?

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

Check your SBOMs for free