Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2023-49291

9.3 · CRITICAL
Published Dec 5, 2023 tj-actions CWE-20 EPSS 1.45% (71th pctl)

Overview

CVE-2023-49291 is a critical-severity vulnerability affecting tj-actions branch-names. It was published on December 5, 2023 and has a CVSS 3.1 base score of 9.3 (CRITICAL).

This vulnerability has a CVSS 3.1 base score of 9.3, rated CRITICAL. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

Technical Description

tj-actions/branch-names is a Github action to retrieve branch or tag names with support for all events. The `tj-actions/branch-names` GitHub Actions improperly references the `github.event.pull_request.head.ref` and `github.head_ref` context variables within a GitHub Actions `run` step. The head ref variable is the branch name and can be used to execute arbitrary code using a specially crafted branch name. As a result an attacker can use this vulnerability to steal secrets from or abuse `GITHUB_TOKEN` permissions. This vulnerability has been addressed in version 7.0.7. Users are advised to upgrade. There are no known workarounds for this vulnerability.

Remediation

Check the references section for vendor advisories and patches from tj-actions. Update branch-names to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
tj-actions branch-names >= 0, < 7.0.0 Affected

Frequently Asked Questions

What is CVE-2023-49291?

CVE-2023-49291 is a critical-severity vulnerability affecting tj-actions branch-names. It was published on December 5, 2023 and has a CVSS 3.1 base score of 9.3 (CRITICAL).

How severe is CVE-2023-49291?

This vulnerability has a CVSS 3.1 base score of 9.3, rated CRITICAL. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2023-49291?

Check the references section for vendor advisories and patches from tj-actions. Update branch-names to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2023-49291?

CyberStrike's AI-powered security agents can automatically detect CVE-2023-49291 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.