CVE-2023-25164: @tinacms/cli Sensitive Information Leak Vulnerability
HIGHCVE-2023-25164 is a HIGH (CVSS 8.6) sensitive information leak vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) affecting @tinacms/cli libraries in the npm ecosystem. The issue involves sensitive information leak via script file in tinacms. Remediation is available by upgrading affected packages to version 1.0.9.
CVE-2023-25164 at a Glance
Security Impact
CVSS: 8.6
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N).
How to Fix CVE-2023-25164
To remediate this vulnerability, upgrade all affected @tinacms/cli dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install @tinacms/cli@1.0.9
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls @tinacms/cli
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2023-25164, inspect your project dependencies using npm:
npm ls @tinacms/cli
Analyze the terminal output to locate any version of @tinacms/cli in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.0.9), your application is affected.
Note: The npm ls @tinacms/cli command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor, where the product exposes sensitive information to an actor that is not explicitly authorized to have access to that information. In @tinacms/cli, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2023-25164 Affected @tinacms/cli Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
@tinacms/cli
|
npm |
≥ 1.0.0
< 1.0.9
|
1.0.9
|
References
Frequently Asked Questions
What is CVE-2023-25164?
Which @tinacms/cli versions are affected?
What version fixes CVE-2023-25164?
Is @tinacms/cli affected?
What is the CVSS score of CVE-2023-25164?
What CWE is associated with CVE-2023-25164?
How can I check npm dependencies for CVE-2023-25164?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-pc2q-jcxq-rjrr",
"modified" : "2023-02-08T22:40:18Z",
"published" : "2023-02-08T18:18:05Z",
"aliases" : [ "CVE-2023-25164" ],
"summary" : "Sensitive Information leak via Script File in TinaCMS",
"details" : "### Impact\n\nSensitive Information leaked via script File in TinaCMS. Sites building with @tinacms/cli >= 1.0.0 && < 1.0.9 that store sensitive values in process.env var are impacted. If you're on a version prior to 1.0.0 this vulnerability does not affect you.\n\nIf your Tina-enabled website has sensitive credentials stored as environment variables (eg. Algolia API keys) you should rotate those keys immediately.\n\n### Patches\n\nThis issue has been patched in @tinacms/cli@1.0.9\n\n### Workarounds\n\nUpgrading, and rotating secure & exposed keys is required for the proper fix.\n\n### References\n\nhttps://github.com/tinacms/tinacms/pull/3584",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "@tinacms/cli"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.0.0"
}, {
"fixed" : "1.0.9"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/tinacms/tinacms/security/advisories/GHSA-pc2q-jcxq-rjrr"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-25164"
}, {
"type" : "WEB",
"url" : "https://github.com/tinacms/tinacms/pull/3584"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/tinacms/tinacms"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-200" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2023-02-08T18:18:05Z",
"nvd_published_at" : "2023-02-08T20:15:00Z"
}
}