CVE-2024-41659
NixOS vulnerability analysis and mitigation

Overview

A CORS misconfiguration vulnerability (CVE-2024-41659) was discovered in memos version 0.20.1 and earlier. The vulnerability exists where an arbitrary origin is reflected with Access-Control-Allow-Credentials set to true, affecting the privacy-first, lightweight note-taking service. This vulnerability was discovered on March 21, 2024, and was fixed in version 0.21.0 (GitHub Advisory).

Technical details

The vulnerability stems from a CORS middleware implementation in server.go that reflects the Origin request header in the Access-Control-Allow-Origin response header while simultaneously setting Access-Control-Allow-Credentials to true for all non-GRPC requests. This misconfiguration leaves the v1 API vulnerable to cross-origin attacks. The vulnerability has been assigned a CVSS v3.1 base score of 8.1 (HIGH) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N (NVD).

Impact

The vulnerability allows an attacking website to make cross-origin requests, enabling attackers to read private information or make privileged changes to the system as the vulnerable user account. If the CORS attack is executed on the host user, an attacker can compromise any account by changing the account's password and gaining unauthorized access (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been fixed in memos version 0.21.0. The fix involves adding an origin flag to configure CORS settings properly, allowing administrators to specify allowed origins explicitly. Users are strongly recommended to upgrade to version 0.21.0 or later (GitHub Commit).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-48606HIGH7.8
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-48625HIGH7
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-48608MEDIUM5.5
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-48569MEDIUM5.5
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-65799MEDIUM4.3
  • NixOSNixOS
  • memos
NoYesDec 08, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management