CVE-2021-32638
CVE-2021-32638 — CodeQL runner: Command-line options that make GitHub access tokens visible to other processes are now deprecated
Github's CodeQL action is provided to run CodeQL-based code scanning on non-GitHub CI/CD systems and requires a GitHub access token to connect to a GitHub repository. The runner and its documentation previously suggested passing the GitHub token as a command-line parameter to the process instead of reading it from a file, standard input, or an environment variable. This approach made the token visible to other processes on the same machine, for example in the output of the `ps` command. If the CI system publicly exposes the output of `ps`, for example by logging the output, then the GitHub access token can be exposed beyond the scope intended. Users of the CodeQL runner on 3rd-party systems, who are passing a GitHub token via the `--github-auth` flag, are affected. This applies to both GitHub.com and GitHub Enterprise users. Users of the CodeQL Action on GitHub Actions are not affected.…
Published Updated Sources: cvelistV5, GitHub_M
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Unreported
no source claims exploitation
EPSS
<1%
chance of exploitation in 30 days
CVSS base
4.4
MEDIUM
Affected scope
The catalog records vendors and products as separate lists, not pairs, so which product belongs to which vendor is not something this page can say.
Vendors (1)
Products (1)
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 4.4 | CVSS 3.1 | MEDIUM | n/a | n/a | cvelistV5 |
Weakness & attack patterns
- CWE-200
- CWE-214
Attack patterns reported against this CVE. The ATT&CK techniques below are inferred from its weakness class.
- T1562.003Impair Defenses: Impair Command History Logging
- T1574.006Hijack Execution Flow: Dynamic Linker Hijacking
- T1574.007Hijack Execution Flow: Path Interception by PATH Environment Variable
Detection
Read off the CVSS vector and the weakness class. Starting points, not rules we have tested.
- Search application, proxy, and WAF logs for requests touching /CD.
References
5 on the record
- github.com/github/codeql-action/security/advisories/GHSA-g36v-2xff-pv5m
x_refsource_CONFIRM
- github.com/github/codeql-action/commit/58defc0652e935f6f2ffc70a82828b98d75476fb
x_refsource_MISC
- github.com/github/codeql-action/commit/88714e3a60e72ec53caa0e6a203652ee1f3fb1db
x_refsource_MISC
- github.com/github/codeql-action/releases/tag/codeql-bundle-20210304
x_refsource_MISC
- www.netmeister.org/blog/passing-passwords.html
x_refsource_MISC
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2015-0310 Adobe Flash Player ASLR Bypass VulnerabilityCVSS 10.0 · CISA KEV
- CVE-2018-5430 TIBCO JasperReports Server Information Disclosure VulnerabilityCVSS 8.8 · CISA KEV
- CVE-2008-0655 Adobe Acrobat and Reader Unspecified VulnerabilityCVSS 8.8 · CISA KEV
- CVE-2024-24919 Information disclosureCVSS 8.6 · CISA KEV
- CVE-2017-5521 NETGEAR Multiple Devices Exposure of Sensitive Information VulnerabilityCVSS 8.1 · CISA KEV
- CVE-2026-20133 Cisco Catalyst SD-WAN Manager Exposure of Sensitive Information to an Unauthorized Actor VulnerabilityCVSS 7.5 · CISA KEV
Elsewhere on this site
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.