CVE-2021-3578
NixOS vulnerability analysis and mitigation

Overview

A vulnerability (CVE-2021-3578) was discovered in mbsync (part of isync) before versions 1.3.6 and 1.4.2, where an unchecked pointer cast allows a malicious or compromised server to write an arbitrary integer value past the end of a heap-allocated structure by issuing an unexpected APPENDUID response. The vulnerability was discovered by Lukas Braun using a fuzzer and was publicly disclosed on June 3, 2021 (CVE Details, OSS Security).

Technical details

The vulnerability stems from an unchecked pointer cast in the polkitsystembusnamegetcredssync function. When a malicious server issues an unexpected APPENDUID response, it can trigger a heap-allocated structure overflow. The function returns TRUE even when an error occurs, leading to a mishandling of the error value in specific code paths. This vulnerability affects systems running polkit version 0.113 or later, including popular distributions such as RHEL 8 and Ubuntu 20.04 (OSS Security).

Impact

This vulnerability could be exploited for remote code execution on the client system. The severity of this issue is particularly high as it allows an unprivileged local attacker to gain root privileges on the affected system (OSS Security).

Mitigation and workarounds

Users are advised to upgrade to isync version 1.3.6 or 1.4.2 or later, which contain the fix for this vulnerability. For those unable to upgrade immediately, patches are available for different versions. The vulnerability has been addressed in various distributions through their respective security updates, including Fedora, Debian, and RHEL (Fedora Update, Debian LTS).

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-48639HIGH7.3
  • 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

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