NVD - CVE-2023-51664 (original) (raw)

Description

tj-actions/changed-files is a Github action to retrieve all files and directories. Prior to 41.0.0, the `tj-actions/changed-files` workflow allows for command injection in changed filenames, allowing an attacker to execute arbitrary code and potentially leak secrets. This issue may lead to arbitrary command execution in the GitHub Runner. This vulnerability has been addressed in version 41.0.0. Users are advised to upgrade.

Metrics

NVD enrichment efforts reference publicly available information to associate vector strings. CVSS information contributed by other sources is also displayed.

CVSS 4.0 Severity and Vector Strings:

NIST CVSS score

NIST: NVD

NVD assessment not yet provided.

CVSS 3.x Severity and Vector Strings:

NIST CVSS score

NIST: NVD

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Nist CVSS score does not match with CNA score

CNA: GitHub, Inc.

Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N

CVSS 2.0 Severity and Vector Strings:

National Institute of Standards and Technology

NIST: NVD

Base Score: N/A

NVD assessment not yet provided.

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to [email protected].

URL Source(s) Tag(s)
https://github.com/tj-actions/changed-files/commit/0102c07446a3cad972f4afcbd0ee4dbc4b6d2d1b CVE, GitHub, Inc. Patch
https://github.com/tj-actions/changed-files/commit/716b1e13042866565e00e85fd4ec490e186c4a2f CVE, GitHub, Inc. Patch
https://github.com/tj-actions/changed-files/commit/ff2f6e6b91913a7be42be1b5917330fe442f2ede CVE, GitHub, Inc. Patch
https://github.com/tj-actions/changed-files/security/advisories/GHSA-mcph-m25j-8j63 CVE, GitHub, Inc. Exploit Vendor Advisory

Weakness Enumeration

CWE-ID CWE Name Source
CWE-77 Improper Neutralization of Special Elements used in a Command ('Command Injection') cwe source acceptance level NIST GitHub, Inc.
CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') GitHub, Inc.

Known Affected Software Configurations Switch to CPE 2.2

Change History

4 change records found show changes

CVE Modified by CVE 11/21/2024 3:38:33 AM

Action Type Old Value New Value
Added Reference https://github.com/tj-actions/changed-files/commit/0102c07446a3cad972f4afcbd0ee4dbc4b6d2d1b
Added Reference https://github.com/tj-actions/changed-files/commit/716b1e13042866565e00e85fd4ec490e186c4a2f
Added Reference https://github.com/tj-actions/changed-files/commit/ff2f6e6b91913a7be42be1b5917330fe442f2ede
Added Reference https://github.com/tj-actions/changed-files/security/advisories/GHSA-mcph-m25j-8j63

CVE Modified by GitHub, Inc. 5/14/2024 10:19:57 AM

Action Type Old Value New Value

Initial Analysis by NIST 1/04/2024 11:57:12 AM

Action Type Old Value New Value
Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Added CWE NIST CWE-77
Added CPE Configuration OR *cpe:2.3:a:tj-actions:changed-files:*:*:*:*:*:*:*:* versions up to (excluding) 41.0.0
Changed Reference Type https://github.com/tj-actions/changed-files/commit/0102c07446a3cad972f4afcbd0ee4dbc4b6d2d1b No Types Assigned https://github.com/tj-actions/changed-files/commit/0102c07446a3cad972f4afcbd0ee4dbc4b6d2d1b Patch
Changed Reference Type https://github.com/tj-actions/changed-files/commit/716b1e13042866565e00e85fd4ec490e186c4a2f No Types Assigned https://github.com/tj-actions/changed-files/commit/716b1e13042866565e00e85fd4ec490e186c4a2f Patch
Changed Reference Type https://github.com/tj-actions/changed-files/commit/ff2f6e6b91913a7be42be1b5917330fe442f2ede No Types Assigned https://github.com/tj-actions/changed-files/commit/ff2f6e6b91913a7be42be1b5917330fe442f2ede Patch
Changed Reference Type https://github.com/tj-actions/changed-files/security/advisories/GHSA-mcph-m25j-8j63 No Types Assigned https://github.com/tj-actions/changed-files/security/advisories/GHSA-mcph-m25j-8j63 Exploit, Vendor Advisory

New CVE Received from GitHub, Inc. 12/27/2023 12:15:08 PM

Action Type Old Value New Value
Added Description tj-actions/changed-files is a Github action to retrieve all files and directories. Prior to 41.0.0, the `tj-actions/changed-files` workflow allows for command injection in changed filenames, allowing an attacker to execute arbitrary code and potentially leak secrets. This issue may lead to arbitrary command execution in the GitHub Runner. This vulnerability has been addressed in version 41.0.0. Users are advised to upgrade.
Added CVSS V3.1 GitHub, Inc. AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N
Added CWE GitHub, Inc. CWE-74
Added CWE GitHub, Inc. CWE-77
Added Reference GitHub, Inc. https://github.com/tj-actions/changed-files/commit/0102c07446a3cad972f4afcbd0ee4dbc4b6d2d1b [No types assigned]
Added Reference GitHub, Inc. https://github.com/tj-actions/changed-files/commit/716b1e13042866565e00e85fd4ec490e186c4a2f [No types assigned]
Added Reference GitHub, Inc. https://github.com/tj-actions/changed-files/commit/ff2f6e6b91913a7be42be1b5917330fe442f2ede [No types assigned]
Added Reference GitHub, Inc. https://github.com/tj-actions/changed-files/security/advisories/GHSA-mcph-m25j-8j63 [No types assigned]