CVE-2022-4845
NixOS vulnerability analysis and mitigation

Overview

CVE-2022-4845 is a Cross-Site Request Forgery (CSRF) vulnerability that was discovered in December 2022. The vulnerability affects the Memos application, which required implementation of additional security measures to prevent CSRF attacks (GitHub Commit).

Technical details

The vulnerability was addressed by implementing two key security measures: setting the SameSite cookie attribute to Strict mode and adding CSRF token validation. The fix included configuring the token lookup to use the '_csrf' cookie (GitHub Commit).

Mitigation and workarounds

The vulnerability was patched by implementing CSRF protection through two main changes: 1) Adding SameSite=Strict attribute to cookies, and 2) Implementing CSRF token validation using the '_csrf' cookie for token lookup (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