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

github.com/usememos/memos: CVE-2024-29029 #25

Open
tatianab opened this issue Aug 1, 2024 · 0 comments
Open

github.com/usememos/memos: CVE-2024-29029 #25

tatianab opened this issue Aug 1, 2024 · 0 comments

Comments

@tatianab
Copy link
Owner

tatianab commented Aug 1, 2024

Advisory CVE-2024-29029 references a vulnerability in the following Go modules:

Module
github.com/usememos/memos

Description:
memos is a privacy-first, lightweight note-taking service. In memos 0.13.2, an SSRF vulnerability exists at the /o/get/image that allows unauthenticated users to enumerate the internal network and retrieve images. The response from the image request is then copied into the response of the current server request, causing a reflected XSS vulnerability. Version 0.22.0 of memos removes the vulnerable file.

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.22.0
      vulnerable_at: 0.21.1
summary: memos vulnerable to an SSRF in /o/get/image in github.com/usememos/memos
cves:
    - CVE-2024-29029
references:
    - advisory: https://nvd.nist.gov/vuln/detail/CVE-2024-29029
    - fix: https://github.com/usememos/memos/commit/bbd206e8930281eb040cc8c549641455892b9eb5
    - web: https://github.com/usememos/memos/blob/06dbd8731161245444f4b50f4f9ed267f7c3cf63/api/v1/http_getter.go#L29
    - web: https://securitylab.github.com/advisories/GHSL-2023-154_GHSL-2023-156_memos/
source:
    id: CVE-2024-29029
    created: 2024-08-01T16:30:20.880596-04:00
review_status: UNREVIEWED

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

No branches or pull requests

1 participant