
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2021-42074 is a vulnerability discovered in Barrier, a software KVM switch, affecting versions before 2.3.4. The vulnerability allows an unauthenticated remote attacker to cause a segmentation fault in the server component (barriers) by quickly opening and closing TCP connections while sending Hello messages for each session. This vulnerability was discovered and reported by Matthias Gerstner and was fixed in version 2.3.4 released in November 2021 (Openwall Report).
The vulnerability occurs when quickly opening and closing socket connections while sending a Hello message for each session, leading to a segmentation fault that is likely caused by a use-after-free condition. The issue manifests in the server's SSL connection handling code, specifically during the processing of Hello messages in the connection sequence. The vulnerability affects the barriers component, which is the server-side implementation of Barrier (Openwall Report).
This vulnerability allows for a simple way to perform a Denial of Service (DoS) attack against the Barrier server by an unauthenticated remote client. Further research of the supposed use-after-free condition might potentially lead to more severe implications, including the possibility of executing code on the server (Openwall Report).
The vulnerability was fixed in Barrier version 2.3.4. Users are strongly recommended to upgrade to version 2.4.0 which contains all security fixes including this one and other security improvements. The fix was implemented through upstream PR#1351 which addresses the race condition causing the invalid memory access (Openwall Report, GitHub Release).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."