CVE-2021-27427
NixOS vulnerability analysis and mitigation

Overview

RIOT OS version 2020.01.1 contains an integer wrap-around vulnerability in its implementation of the calloc function (CVE-2021-27427). This vulnerability was discovered as part of the 'BadAlloc' vulnerability set affecting multiple real-time operating systems (RTOS) and supporting libraries (CISA Advisory). The vulnerability was assigned a CVSS v3.1 base score of 7.3 HIGH (NVD).

Technical details

The vulnerability is classified as an Integer Overflow or Wraparound (CWE-190) that occurs in the calloc function implementation. When exploited, this vulnerability can lead to arbitrary memory allocation, which can result in unexpected behavior such as system crashes or remote code injection/execution. The CVSS vector string is AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L, indicating that the vulnerability is network accessible with low attack complexity and requires no privileges or user interaction (CISA Advisory).

Impact

Successful exploitation of this vulnerability could result in unexpected behavior including system crashes or remote code injection/execution. The vulnerability affects the system's memory allocation capabilities, potentially allowing attackers to manipulate memory allocation in ways that could compromise system security and stability (CISA Advisory).

Mitigation and workarounds

RIOT OS has released an update to address this vulnerability. Users are advised to apply the available update. Additionally, CISA recommends implementing defensive measures including minimizing network exposure for all control system devices, ensuring systems are not accessible from the Internet, and locating control system networks behind firewalls isolated from the business network (CISA Advisory).

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