CVE-2022-31803
NixOS vulnerability analysis and mitigation

Overview

In CODESYS Gateway Server V2 an insufficient check for the activity of TCP client connections allows an unauthenticated attacker to consume all available TCP connections and prevent legitimate users or clients from establishing a new connection to the CODESYS Gateway Server V2. The vulnerability (CVE-2022-31803) was disclosed on June 24, 2022. Existing connections are not affected and therefore remain intact (NVD, CISA).

Technical details

The vulnerability is rated with a CVSS score of 5.0 (Medium severity) and affects CODESYS Gateway Server V2 prior to version V2.3.9.38. The issue stems from insufficient validation of TCP client connection activity, which can be exploited by an unauthenticated attacker to consume all available TCP connections (Hacker News).

Impact

The successful exploitation of this vulnerability allows an unauthenticated attacker to prevent legitimate users from establishing new connections to the CODESYS Gateway Server V2, effectively causing a denial-of-service condition for new connection attempts. However, existing connections remain unaffected by the attack (NVD).

Mitigation and workarounds

CODESYS has released patches to address this vulnerability. Users should upgrade to CODESYS Gateway Server V2 version V2.3.9.38 or later. Additionally, it's recommended to locate affected products behind security protection devices and implement a defense-in-depth strategy for network security (Hacker News).

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-69264CRITICAL9.8
  • JavaScriptJavaScript
  • pnpm
NoYesJan 07, 2026
CVE-2025-69263HIGH8.8
  • JavaScriptJavaScript
  • pnpm
NoYesJan 07, 2026
CVE-2025-69262HIGH7.8
  • JavaScriptJavaScript
  • pnpm
NoYesJan 07, 2026
CVE-2025-20807MEDIUM6.7
  • NixOSNixOS
  • android
NoNoJan 06, 2026
CVE-2026-21885MEDIUM6.5
  • NixOSNixOS
  • miniflux
NoYesJan 08, 2026

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