GHSA-7f32-hm4h-w77q: Rlespinasse/github slug action Github-slug-action Use Of `set-env` Runner Vulnerability

MODERATE
Published
Advisory Summary

GHSA-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

CVE Identifier N/A
GHSA Identifier GHSA-7f32-hm4h-w77q
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification General Security Weakness
Affected Product Rlespinasse/github slug action
Package Ecosystem GitHub Actions
Published Date
Last Updated

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.

rlespinasse/github-slug-action fixed: 1.1.1
Upgrade rlespinasse/github-slug-action to 1.1.1
rlespinasse/github-slug-action fixed: 2.1.1
Upgrade rlespinasse/github-slug-action to 2.1.1
Verify Direct and Transitive Dependencies

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

### Impact This GitHub Action use `set-env` runner commands which are processed via stdout related to GHSA-mfwh-5m23-j46w ### Patches The following versions use the recommended [Environment File Syntax](https://github.com/actions/toolkit/blob/main/docs/commands.md#environment-files). - 2.1.1 - 1.1.1 ### Workarounds None, it is strongly suggested that you upgrade as soon as possible. ### For more information If you have any questions or comments about this advisory: * Open an issue in [rlespinasse/github-slug-action](https://github.com/rlespinasse/github-slug-action)

GHSA-7f32-hm4h-w77q Affected Rlespinasse/github slug action Versions

2 component(s)
Fixed Versions:
1.1.12.1.1
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?
GHSA-7f32-hm4h-w77q is a security vulnerability in Rlespinasse/github slug action involving github-slug-action use of `set-env` Runner commands which are processed via stdout under General Security Weakness.
Which Rlespinasse/github slug action versions are affected?
Affected versions include releases prior to 1.1.1, 2.1.1 across affected packages: rlespinasse/github-slug-action.
What version fixes GHSA-7f32-hm4h-w77q?
Upgrading to 1.1.1, 2.1.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is rlespinasse/github-slug-action affected?
Yes, rlespinasse/github-slug-action is affected in releases prior to 1.1.1, 2.1.1. Upgrade your dependency to 1.1.1, 2.1.1 or later.
What CWE is associated with GHSA-7f32-hm4h-w77q?
GHSA-7f32-hm4h-w77q is classified under General Security Weakness.
How can I check GitHub Actions dependencies for GHSA-7f32-hm4h-w77q?
Run the dependency tree command: 'inspect dependencies for rlespinasse/github-slug-action'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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
  }
}