Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x/vulndb: potential Go vuln in github.com/cli/cli: CVE-2025-25204 #3467

Open
GoVulnBot opened this issue Feb 14, 2025 · 0 comments
Open

x/vulndb: potential Go vuln in github.com/cli/cli: CVE-2025-25204 #3467

GoVulnBot opened this issue Feb 14, 2025 · 0 comments

Comments

@GoVulnBot
Copy link

Advisory CVE-2025-25204 references a vulnerability in the following Go modules:

Module
github.com/cli/cli

Description:
gh is GitHub’s official command line tool. Starting in version 2.49.0 and prior to version 2.67.0, under certain conditions, a bug in GitHub's Artifact Attestation cli tool gh attestation verify causes it to return a zero exit status when no attestations are present. This behavior is incorrect: When no attestations are present, gh attestation verify should return a non-zero exit status code, thereby signaling verification failure. An attacker can abuse this flaw to, for example, deploy malicious artifacts in any system that uses gh attestation verify's exit codes to gatekeep deployme...

References:

Cross references:

See doc/quickstart.md for instructions on how to triage this report.

id: GO-ID-PENDING
modules:
    - module: github.com/cli/cli
      vulnerable_at: 1.14.0
summary: CVE-2025-25204 in github.com/cli/cli
cves:
    - CVE-2025-25204
references:
    - advisory: https://nvd.nist.gov/vuln/detail/CVE-2025-25204
    - fix: https://github.com/cli/cli/pull/10421
    - report: https://github.com/cli/cli/issues/10418
    - web: https://github.com/cli/cli/security/advisories/GHSA-fgw4-v983-mgp8
source:
    id: CVE-2025-25204
    created: 2025-02-14T18:01:27.934674785Z
review_status: UNREVIEWED

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants