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/charmbracelet/soft-serve: GHSA-j4jw-m6xr-fv6c #3374

Closed
GoVulnBot opened this issue Jan 8, 2025 · 1 comment
Labels

Comments

@GoVulnBot
Copy link

Advisory GHSA-j4jw-m6xr-fv6c references a vulnerability in the following Go modules:

Module
github.com/charmbracelet/soft-serve

Description:

Impact

Path traversal attack gives access to existing non-admin users to access and take over other user's repositories. A malicious user then can modify, delete, and arbitrarily repositories as if they were an admin user without explicitly giving them permissions.

Patches

This is patched in v0.8.2

Workarounds

Single user set-ups are not affected. This only affects multi-user Soft Serve set-ups that enable repository creation for users. Otherwise, upgrading is necessary to circumvent the attack.

References:

Cross references:

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

id: GO-ID-PENDING
modules:
    - module: github.com/charmbracelet/soft-serve
      versions:
        - fixed: 0.8.2
      vulnerable_at: 0.8.1
summary: Soft Serve vulnerable to path traversal attacks in github.com/charmbracelet/soft-serve
cves:
    - CVE-2025-22130
ghsas:
    - GHSA-j4jw-m6xr-fv6c
references:
    - advisory: https://github.com/advisories/GHSA-j4jw-m6xr-fv6c
    - advisory: https://github.com/charmbracelet/soft-serve/security/advisories/GHSA-j4jw-m6xr-fv6c
    - fix: https://github.com/charmbracelet/soft-serve/commit/a8d1bf3f9349c138383b65079b7b8ad97fff78f4
    - web: https://github.com/charmbracelet/soft-serve/releases/tag/v0.8.2
source:
    id: GHSA-j4jw-m6xr-fv6c
    created: 2025-01-08T16:01:25.375343783Z
review_status: UNREVIEWED

@gopherbot
Copy link
Contributor

Change https://go.dev/cl/641495 mentions this issue: data/reports: add 2 unreviewed reports

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

No branches or pull requests

3 participants