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/usememos/memos: GHSA-p4fx-qf2h-jpmj #3088

Closed
GoVulnBot opened this issue Aug 22, 2024 · 1 comment
Labels

Comments

@GoVulnBot
Copy link

Advisory GHSA-p4fx-qf2h-jpmj references a vulnerability in the following Go modules:

Module
github.com/usememos/memos

Description:
memos is a privacy-first, lightweight note-taking service. A CORS misconfiguration exists in memos 0.20.1 and earlier where an arbitrary origin is reflected with Access-Control-Allow-Credentials set to true. This may allow an attacking website to make a cross-origin request, allowing the attacker to read private information or make privileged changes to the system as the vulnerable user account.

References:

Cross references:

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

id: GO-ID-PENDING
modules:
    - module: github.com/usememos/memos
      versions:
        - fixed: 0.21.0
      vulnerable_at: 0.20.1
summary: memos CORS Misconfiguration in server.go (GHSL-2024-034) in github.com/usememos/memos
cves:
    - CVE-2024-41659
ghsas:
    - GHSA-p4fx-qf2h-jpmj
references:
    - advisory: https://github.com/advisories/GHSA-p4fx-qf2h-jpmj
    - advisory: https://nvd.nist.gov/vuln/detail/CVE-2024-41659
    - fix: https://github.com/usememos/memos/commit/8101a5e0b162044c16385bee4f12a4a653d050b9
    - web: https://github.com/usememos/memos/blob/v0.20.1/server/server.go#L163
    - web: https://securitylab.github.com/advisories/GHSL-2024-034_memos
source:
    id: GHSA-p4fx-qf2h-jpmj
    created: 2024-08-22T18:01:14.483883165Z
review_status: UNREVIEWED

@gopherbot
Copy link
Contributor

Change https://go.dev/cl/609141 mentions this issue: data/reports: add 21 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