Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 856055 (CVE-2021-33451, CVE-2021-33453, CVE-2022-33067) - app-arch/lrzip: DoS via invalid arithmetic shifts
Summary: app-arch/lrzip: DoS via invalid arithmetic shifts
Status: CONFIRMED
Alias: CVE-2021-33451, CVE-2021-33453, CVE-2022-33067
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo Security
URL: https://github.com/ckolivas/lrzip/iss...
Whiteboard: B3 [upstream]
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-03 03:20 UTC by John Helmert III
Modified: 2024-04-03 11:58 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2022-07-03 03:20:57 UTC
CVE-2022-33067:

Lrzip v0.651 was discovered to contain multiple invalid arithmetic shifts via the functions get_magic in lrzip.c and Predictor::init in libzpaq/libzpaq.cpp. These vulnerabilities allow attackers to cause a Denial of Service via unspecified vectors.
Comment 1 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2022-07-27 04:36:22 UTC
CVE-2021-33451 (https://gist.github.com/Clingto/bb632c0c463f4b2c97e4f65f751c5e6d):
https://github.com/ckolivas/lrzip/issues/198

An issue was discovered in lrzip version 0.641. There are memory leaks in fill_buffer() in stream.c.

CVE-2021-33453 (https://gist.github.com/Clingto/bb632c0c463f4b2c97e4f65f751c5e6d):
https://github.com/ckolivas/lrzip/issues/199

An issue was discovered in lrzip version 0.641. There is a use-after-free in ucompthread() in stream.c:1538.

Seems upstream can't reproduce..