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

Undefined behavior in transport decompression code #11476

Closed
avikivity opened this issue Sep 7, 2022 · 1 comment
Closed

Undefined behavior in transport decompression code #11476

avikivity opened this issue Sep 7, 2022 · 1 comment
Milestone

Comments

@avikivity
Copy link
Member

avikivity commented Sep 7, 2022

We return the wrong size, which can lead to crashes or other undefined behavior.

This is CVE-2022-29240.

avikivity pushed a commit that referenced this issue Sep 7, 2022
An incorrect size is returned from the function, which could lead to
crashes or undefined behavior. Fix by erroring out in these cases.

Fixes #11476

(cherry picked from commit 1c2eef3)
avikivity pushed a commit that referenced this issue Sep 7, 2022
An incorrect size is returned from the function, which could lead to
crashes or undefined behavior. Fix by erroring out in these cases.

Fixes #11476

(cherry picked from commit 1c2eef3)
avikivity pushed a commit that referenced this issue Sep 7, 2022
An incorrect size is returned from the function, which could lead to
crashes or undefined behavior. Fix by erroring out in these cases.

Fixes #11476

(cherry picked from commit 1c2eef3)
@avikivity
Copy link
Member Author

Already backported to all vulnerable branches, removing "Backport candidate" label.

@DoronArazii DoronArazii added this to the 5.2 milestone Nov 16, 2022
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

3 participants