golang / vulndb

[mirror] The Go Vulnerability Database
Other
562 stars 61 forks source link

x/vulndb: potential Go vuln in github.com/usememos/memos: GHSA-65fm-2jgr-j7qq #3046

Closed GoVulnBot closed 3 months ago

GoVulnBot commented 3 months ago

Advisory GHSA-65fm-2jgr-j7qq 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 /api/resource that allows authenticated users to enumerate the internal network. 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 Server-Side Request Forgery in /api/resource in github.com/usememos/memos
cves:
    - CVE-2024-29030
ghsas:
    - GHSA-65fm-2jgr-j7qq
references:
    - advisory: https://github.com/advisories/GHSA-65fm-2jgr-j7qq
    - advisory: https://nvd.nist.gov/vuln/detail/CVE-2024-29030
    - fix: https://github.com/usememos/memos/commit/bbd206e8930281eb040cc8c549641455892b9eb5
    - web: https://github.com/usememos/memos/blob/06dbd8731161245444f4b50f4f9ed267f7c3cf63/api/v1/resource.go#L83
    - web: https://securitylab.github.com/advisories/GHSL-2023-154_GHSL-2023-156_memos
source:
    id: GHSA-65fm-2jgr-j7qq
    created: 2024-08-05T22:03:57.186965461Z
review_status: UNREVIEWED
gopherbot commented 3 months ago

Change https://go.dev/cl/603715 mentions this issue: data/reports: add 20 unreviewed reports

gopherbot commented 3 months ago

Change https://go.dev/cl/603716 mentions this issue: data/reports: add 19 unreviewed reports