mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-15 14:16:02 -06:00
[PR #1351] [MERGED] Fix ssl-related crashes when closing connections [SECURITY VULNERABILITY CVE-2021-42074] #1789
Labels
No labels
HiDPI
bounty
bsd/freebsd
bsd/openbsd
bug
bug
build-infra
cantfix
critical
doc
duplicate
enhancement
fix-available
from git
from release
good first issue
help wanted
installer/package
invalid
linux
macOS
meta
needs testing
pull-request
query
question
regression
regression
v2.4.0
windows
wontfix
work-in-progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/barrier#1789
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/debauchee/barrier/pull/1351
Author: @p12tic
Created: 11/1/2021
Status: ✅ Merged
Merged: 11/1/2021
Merged by: @p12tic
Base:
master← Head:fix-ssl-crash-closing-connections📝 Commits (2)
8b937a4lib/net: Fix race conditions when closing SSL connectionsf0efe04lib/net: Fix incorrect sharing of data between different SSL sessions📊 Changes
4 files changed (+88 additions, -45 deletions)
View changed files
➕
doc/newsfragments/fix-crash-on-ssl-hello.bugfix(+4 -0)➕
doc/newsfragments/ssl-corrupted-data.bugfix(+2 -0)📝
src/lib/net/SecureSocket.cpp(+53 -38)📝
src/lib/net/SecureSocket.h(+29 -7)📄 Description
This PR fixes a number of race conditions in the SSL connection handling code. These may lead to crashes of the server and data corruption.
This PR fixes the following security vulnerability:
The issue has been reported by Matthias Gerstner mgerstner@suse.de @mgerstner. Matthias also provided insights into how best to fix the issues, precise reproduction steps and any used tools and made the maintainer's life as pleasant as possible. Thank you!
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.