GHSA-7f32-hm4h-w77q: Rlespinasse/github slug action Github-slug-action Use Of `set-env` Runner Vulnerability
MODERATEGHSA-7f32-hm4h-w77q is a MODERATE github-slug-action use of `set-env` runner vulnerability (General Security Weakness) affecting Rlespinasse/github slug action libraries in the GitHub Actions ecosystem. The issue involves github-slug-action use of `set-env` runner commands which are processed via stdout. Remediation is available by upgrading affected packages to version 1.1.1, 2.1.1.
GHSA-7f32-hm4h-w77q at a Glance
How to Fix GHSA-7f32-hm4h-w77q
To remediate this vulnerability, upgrade all affected Rlespinasse/github slug action dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade rlespinasse/github-slug-action to 1.1.1
Upgrade rlespinasse/github-slug-action to 2.1.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for rlespinasse/github-slug-action
How to Check if You Are Affected
To determine whether your application is affected by GHSA-7f32-hm4h-w77q, inspect your project dependencies for Rlespinasse/github slug action:
inspect dependencies for rlespinasse/github-slug-action
Analyze the terminal output to locate any version of Rlespinasse/github slug action in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.1.1), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under General Security Weakness. In Rlespinasse/github slug action, 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
GHSA-7f32-hm4h-w77q Affected Rlespinasse/github slug action Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
rlespinasse/github-slug-action
|
GitHub Actions |
< 1.1.1
|
1.1.1
|
|
rlespinasse/github-slug-action
|
GitHub Actions |
≥ 2.0.0
< 2.1.1
|
2.1.1
|
References
Frequently Asked Questions
What is GHSA-7f32-hm4h-w77q?
Which Rlespinasse/github slug action versions are affected?
What version fixes GHSA-7f32-hm4h-w77q?
Is rlespinasse/github-slug-action affected?
What CWE is associated with GHSA-7f32-hm4h-w77q?
How can I check GitHub Actions dependencies for GHSA-7f32-hm4h-w77q?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-7f32-hm4h-w77q",
"modified" : "2024-04-22T18:47:56Z",
"published" : "2024-02-03T00:22:22Z",
"aliases" : [ ],
"summary" : "github-slug-action use of `set-env` Runner commands which are processed via stdout",
"details" : "### Impact\nThis GitHub Action use `set-env` runner commands which are processed via stdout related to GHSA-mfwh-5m23-j46w\n\n### Patches\nThe following versions use the recommended [Environment File Syntax](https://github.com/actions/toolkit/blob/main/docs/commands.md#environment-files).\n\n- 2.1.1\n- 1.1.1\n\n### Workarounds\nNone, it is strongly suggested that you upgrade as soon as possible.\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [rlespinasse/github-slug-action](https://github.com/rlespinasse/github-slug-action)\n",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "GitHub Actions",
"name" : "rlespinasse/github-slug-action"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.1.1"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 1.1.0"
}
}, {
"package" : {
"ecosystem" : "GitHub Actions",
"name" : "rlespinasse/github-slug-action"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.0.0"
}, {
"fixed" : "2.1.1"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 2.1.0"
}
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/rlespinasse/github-slug-action/security/advisories/GHSA-7f32-hm4h-w77q"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/rlespinasse/github-slug-action"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-02-03T00:22:22Z",
"nvd_published_at" : null
}
}