add CVE patch for XZ 5.2.5 + attempt to fix symbol patch for all OSs#15856
add CVE patch for XZ 5.2.5 + attempt to fix symbol patch for all OSs#15856boegel merged 2 commits intoeasybuilders:developfrom
Conversation
|
This is (I believe) a safe patch as the 5.3 series is the current development version...but I have never seen a |
|
I need a victim to test this on CentOS 7 |
|
Test report by @ocaisa |
| lzma_cputhreads; | ||
| lzma_get_progress; | ||
| - lzma_stream_encoder_mt; | ||
| - lzma_stream_encoder_mt_memusage; |
There was a problem hiding this comment.
The older patch did not remove these lines but then the linker throws some warnings about them already being declared in XZ_5.1.2alpha
| -} XZ_5.0; | ||
| +} XZ_5.1.2alpha; | ||
| + | ||
| +XZ_5.2 { |
There was a problem hiding this comment.
I'm not sure if this is the right way to do this but hopefully the idea is clear
|
Confirmation in #14991 (comment) that new patch still solves the old problem on CentOS7 |
|
Test report by @jfgrimm |
|
Test report by @boegel |
|
Test report by @boegel |
|
Test report by @boegel |
|
Test report by @boegel |
boegel
left a comment
There was a problem hiding this comment.
Tested on RHEL8, CentOS 7 and Ubuntu 20.04, looks good!
|
Going in, thanks @ocaisa! |
Fixes #15846
(created using
eb --new-pr)