ghsa-9cqm-mgv9-vv9j
Vulnerability from github
Published
2024-08-05 21:29
Modified
2024-08-05 21:29
Summary
memos vulnerable to Server-Side Request Forgery and Cross-site Scripting
Details

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.

Show details on source website


{
   affected: [
      {
         package: {
            ecosystem: "Go",
            name: "github.com/usememos/memos",
         },
         ranges: [
            {
               events: [
                  {
                     introduced: "0",
                  },
                  {
                     fixed: "0.22.0",
                  },
               ],
               type: "ECOSYSTEM",
            },
         ],
      },
   ],
   aliases: [
      "CVE-2024-29029",
   ],
   database_specific: {
      cwe_ids: [
         "CWE-79",
         "CWE-918",
      ],
      github_reviewed: true,
      github_reviewed_at: "2024-08-05T21:29:24Z",
      nvd_published_at: "2024-04-19T16:15:09Z",
      severity: "MODERATE",
   },
   details: "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.",
   id: "GHSA-9cqm-mgv9-vv9j",
   modified: "2024-08-05T21:29:24Z",
   published: "2024-08-05T21:29:24Z",
   references: [
      {
         type: "ADVISORY",
         url: "https://nvd.nist.gov/vuln/detail/CVE-2024-29029",
      },
      {
         type: "WEB",
         url: "https://github.com/usememos/memos/commit/bbd206e8930281eb040cc8c549641455892b9eb5",
      },
      {
         type: "PACKAGE",
         url: "https://github.com/usememos/memos",
      },
      {
         type: "WEB",
         url: "https://github.com/usememos/memos/blob/06dbd8731161245444f4b50f4f9ed267f7c3cf63/api/v1/http_getter.go#L29",
      },
      {
         type: "ADVISORY",
         url: "https://securitylab.github.com/advisories/GHSL-2023-154_GHSL-2023-156_memos",
      },
   ],
   schema_version: "1.4.0",
   severity: [
      {
         score: "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
         type: "CVSS_V3",
      },
      {
         score: "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N",
         type: "CVSS_V4",
      },
   ],
   summary: "memos vulnerable to Server-Side Request Forgery and Cross-site Scripting",
}


Log in or create an account to share your comment.

Security Advisory comment format.

This schema specifies the format of a comment related to a security advisory.

UUIDv4 of the comment
UUIDv4 of the Vulnerability-Lookup instance
When the comment was created originally
When the comment was last updated
Title of the comment
Description of the comment
The identifier of the vulnerability (CVE ID, GHSA-ID, PYSEC ID, etc.).



Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.