The read_stream function in stream.c in liblrzip.so in lrzip 0.631 allows remote attackers to cause a denial of service (use-after-free and application crash) via a crafted archive.
The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.
Link | Tags |
---|---|
https://blogs.gentoo.org/ago/2017/05/07/lrzip-use-after-free-in-read_stream-stream-c/ | vdb entry third party advisory |
https://github.com/ckolivas/lrzip/issues/71 | issue tracking third party advisory patch |
https://security.gentoo.org/glsa/202005-01 | third party advisory vendor advisory |
https://lists.debian.org/debian-lts-announce/2021/08/msg00001.html | third party advisory mailing list |