CVE-2022-27939
NixOS vulnerability analysis and mitigation

Overview

CVE-2022-27939 affects tcprewrite in Tcpreplay version 4.4.1, discovered and disclosed on March 26, 2022. The vulnerability involves a reachable assertion in the getlayer4v6 function located in common/get.c. This issue affects the tcprewrite component, which is part of the Tcpreplay suite, a tool used for replaying captured network traffic (NVD, CVE).

Technical details

The vulnerability specifically involves an assertion assert(ip6_hdr) in the getlayer4v6() function within common/get.c that becomes reachable when users utilize tcprewrite to open a specially crafted pcap file. The issue was identified and confirmed through testing with Address Sanitizer (ASAN) enabled compilation (GitHub Issue).

Impact

When exploited, the vulnerability causes the program to report an assertion failure and terminate execution. This can lead to a denial of service condition when processing specially crafted input files (GitHub Issue, Gentoo Security).

Mitigation and workarounds

The vulnerability was fixed in Tcpreplay version 4.4.2. Users are advised to upgrade to this version or later. The fix specifically addresses the assertion issue in getlayer4v6 (Fedora Update).

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-61619HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61618HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61617HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61610HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61609HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 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