Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WebSocket zlib calls aren’t error-checked #1935

Open
FGasper opened this issue Apr 11, 2022 · 0 comments
Open

WebSocket zlib calls aren’t error-checked #1935

FGasper opened this issue Apr 11, 2022 · 0 comments

Comments

@FGasper
Copy link

FGasper commented Apr 11, 2022

$deflate->deflate($frame->[5], my $out);
$deflate->flush($out, Z_SYNC_FLUSH);

$inflate->inflate(($msg .= "\x00\x00\xff\xff"), my $out);

We aren’t sure, but this may be related to some zlib memory-handling errors we’ve seen that may relate to the recent Zlib CVE.

I’m not sure how failures should be reported here, but these seem like calls that should be checked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant