Security readout for executives and security teams
Plain-English summary
CVE-2021-32638 is a credential exposure issue in the CodeQL runner for non-GitHub CI/CD systems. Older guidance allowed GitHub tokens to be passed on the command line, where other local processes or CI logs could reveal them. GitHub Actions users are not affected.
Executive priority
Treat this as a targeted CI credential hygiene issue, not a broad remote compromise. Prioritize teams running CodeQL outside GitHub Actions, especially where CI logs are widely accessible or retained.
Technical view
Affected CodeQL runner workflows passed GitHub access tokens via `--github-auth`, making tokens visible in process arguments, such as `ps` output. Exposure applies to third-party CI/CD users before `codeql-bundle-20210304`, including GitHub.com and GitHub Enterprise repositories. GitHub deprecated `--github-auth`, removed `--external-repository-token`, and added safer token-input options.
Likely exposure
Exposure is likely limited to organizations running CodeQL runner on third-party CI/CD systems, using versions before `codeql-bundle-20210304`, and passing tokens with `--github-auth`. Risk increases if CI logs persist process listings.
Exploitation context
No active exploitation is indicated by the provided sources, and the CVE is not in KEV. Exploitation requires access to process arguments on the CI machine, or access to logs that captured process output containing the token.
Researcher notes
The vulnerability is process-argument secret exposure, not code execution. The main exposure path is local process visibility plus possible CI log disclosure. The old flag remains for compatibility with a warning; safer alternatives are stdin or `GITHUB_TOKEN`. Evidence does not establish public exploitation.
Mitigation direction
- Update CodeQL runner to `codeql-bundle-20210304` or a recent release.
- Stop passing tokens with the deprecated `--github-auth` flag.
- Use `--github-auth-stdin` to provide the token through standard input.
- Alternatively, set the `GITHUB_TOKEN` environment variable before running CodeQL runner.
- Store tokens in the CI system's secret storage mechanism.
- Ensure process output, such as `ps`, is not persisted in CI logs.
Validation and detection
- Inventory third-party CI/CD jobs using CodeQL runner.
- Check whether runner versions are older than `codeql-bundle-20210304`.
- Search CI configuration for `--github-auth` token usage.
- Search CI configuration for removed `--external-repository-token` usage.
- Review CI logs for process listings that may expose tokens.
- Confirm GitHub Actions workflows are not treated as affected by this CVE.
Public sources used
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
CWE-200: Information exposure and cloud metadata lookup
Information exposure and SSRF weaknesses can make discovery, cloud metadata, and credential material review relevant. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
Open ATT&CK lookupCWE-214: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
Open ATT&CK lookupCredential and access behavior lookup
The CVE wording references authentication or credential exposure, so valid-account and credential-access review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
Open ATT&CK lookupCVE-2021-32638 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
Open ATT&CK lookup- Severity
- Medium
- CVSS
- 4.4 (3.1)
- Known Exploited
- No
- Published
Vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
CNA and ADP enrichment extracted from CVE v5
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
CVSS vector scores
1 official scoreWe collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N0.83.6Primary CVE scoreVulnerability scoring details
Base CVSS 3.1 score
4.4MediumVector: CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
Source materials
- CVE List V5 sourceCVE List V5
- https://github.com/github/codeql-action/security/advisories/GHSA-g36v-2xff-pv5mCVE reference · x_refsource_CONFIRM
- https://github.com/github/codeql-action/commit/58defc0652e935f6f2ffc70a82828b98d75476fbCVE reference · x_refsource_MISC
- https://github.com/github/codeql-action/commit/88714e3a60e72ec53caa0e6a203652ee1f3fb1dbCVE reference · x_refsource_MISC
- https://github.com/github/codeql-action/releases/tag/codeql-bundle-20210304CVE reference · x_refsource_MISC
- https://www.netmeister.org/blog/passing-passwords.htmlCVE reference · x_refsource_MISC
Products and packages named in the record
CWE details
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
Exposure of Sensitive Information to an Unauthorized Actor
Exposure of Sensitive Information to an Unauthorized Actor represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.
Invocation of Process Using Visible Sensitive Information
Invocation of Process Using Visible Sensitive Information represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.
