Server-Side Request Forgery (SSRF) Affecting github.com/usememos/memos/api/v1 package, versions <0.16.1


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    Exploit Maturity
    Proof of concept
    EPSS
    0.06% (28th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-GOLANG-GITHUBCOMUSEMEMOSMEMOSAPIV1-6670019
  • published 21 Apr 2024
  • disclosed 19 Apr 2024
  • credit Kevin Stubbings

How to fix?

Upgrade github.com/usememos/memos/api/v1 to version 0.16.1 or higher.

Overview

github.com/usememos/memos/api/v1 is a lightweight note-taking service

Affected versions of this package are vulnerable to Server-Side Request Forgery (SSRF) via the /api/resource endpoint that allows authenticated users to enumerate the internal network by sending crafted requests.

References

CVSS Scores

version 3.1
Expand this section

Snyk

Recommended
5.8 medium
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Changed
  • Confidentiality (C)
    Low
  • Integrity (I)
    None
  • Availability (A)
    None