Fedora 41 : llvm-test-suite (2024-6d9aba8c3c)

high Nessus Plugin ID 211647

Language:

Synopsis

The remote Fedora host is missing one or more security updates.

Description

The remote Fedora 41 host has a package installed that is affected by a vulnerability as referenced in the FEDORA-2024-6d9aba8c3c advisory.

Remove ClamAV subdirectory because of viruses in input files:

These were the findings:

``` MultiSource/Applications/ClamAV/inputs/rtf-test/rtf1.rtf: Eicar-Signature MultiSource/Applications/ClamAV/inputs/clam.zip: Clamav.Test.File-6 MultiSource/Applications/ClamAV/inputs/rtf-test/docCLAMexe.rtf: Clamav.Test.File-6 MultiSource/Applications/ClamAV/inputs/rtf-test/Doc11.rtf: Clamav.Test.File-6 MultiSource/Applications/ClamAV/inputs/rtf-test/Doc1.rtf: Clamav.Test.File-6 MultiSource/Applications/ClamAV/inputs/clam.cab: Clamav.Test.File-6 MultiSource/Applications/ClamAV/inputs/rtf-test/Doc2.rtf: Clamav.Test.File-6 MultiSource/Applications/ClamAV/inputs/clam.exe.bz2: Clamav.Test.File-6 MultiSource/Applications/ClamAV/inputs/rtf-test/doc3.rtf: Clamav.Test.File-6 MultiSource/Applications/ClamAV/inputs/clam.exe: Clamav.Test.File-6 MultiSource/Applications/ClamAV/inputs/rtf-test/Doc22.rtf: Clamav.Test.File-6 ```


----

Remove broken links in source tarball

Before it wasn't possible to pass `-DTEST_SUITE_SUBDIRS=CTMark` to cmake when configuring the llvm-test-suite:

```
-- Adding directory CTMark CMake Error at CTMark/CMakeLists.txt:1 (add_subdirectory):
add_subdirectory given source 7zip which is not an existing directory.

CMake Error at CTMark/CMakeLists.txt:5 (add_subdirectory):
add_subdirectory given source lencod which is not an existing directory.
```

The llvm-test-suite command script `pkg_test_suite.sh` removes directories with BAD or unreviewed licenses. Currently this leaves at least two directories in a broken state:

``` /usr/share/llvm-test-suite/CTMark/7zip -> ../MultiSource/Benchmarks/7zip /usr/share/llvm-test-suite/CTMark/lencod -> ../MultiSource/Applications/JM/lencod ```

In both cases the link target is non-existent.

Therefore I find any broken symbolic links, remove them and adapt the `CMakeLists.txt` to not have the `add_subdirectory(broken_link)` entry in it. Here's an excerpt of what the `pkg_test_suite.sh` script shows when running as a proof of the work it does now.

``` ++ find test-suite-19.1.0.src -type l '!' -exec test -e '{}' ';' -print + broken_symlinks='test-suite-19.1.0.src/CTMark/7zip test-suite-19.1.0.src/CTMark/lencod' + for f in $broken_symlinks + test -L test-suite-19.1.0.src/CTMark/7zip + rm -fv test-suite-19.1.0.src/CTMark/7zip removed 'test-suite-19.1.0.src/CTMark/7zip' ++ dirname test-suite-19.1.0.src/CTMark/7zip + basedir=test-suite-19.1.0.src/CTMark ++ basename test-suite-19.1.0.src/CTMark/7zip + dir=7zip + cmake_file=test-suite-19.1.0.src/CTMark/CMakeLists.txt + test -f test-suite-19.1.0.src/CTMark/CMakeLists.txt + sed -i 's/add_subdirectory(7zip)//g' test-suite-19.1.0.src/CTMark/CMakeLists.txt + for f in $broken_symlinks + test -L test-suite-19.1.0.src/CTMark/lencod + rm -fv test-suite-19.1.0.src/CTMark/lencod removed 'test-suite-19.1.0.src/CTMark/lencod' ++ dirname test-suite-19.1.0.src/CTMark/lencod + basedir=test-suite-19.1.0.src/CTMark ++ basename test-suite-19.1.0.src/CTMark/lencod + dir=lencod + cmake_file=test-suite-19.1.0.src/CTMark/CMakeLists.txt + test -f test-suite-19.1.0.src/CTMark/CMakeLists.txt + sed -i 's/add_subdirectory(lencod)//g' test-suite-19.1.0.src/CTMark/CMakeLists.txt ```



Tenable has extracted the preceding description block directly from the Fedora security advisory.

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Update the affected llvm-test-suite package.

See Also

https://bodhi.fedoraproject.org/updates/FEDORA-2024-6d9aba8c3c

Plugin Details

Severity: High

ID: 211647

File Name: fedora_2024-6d9aba8c3c.nasl

Version: 1.1

Type: local

Agent: unix

Published: 11/20/2024

Updated: 11/20/2024

Supported Sensors: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Nessus Agent, Nessus

Vulnerability Information

CPE: p-cpe:/a:fedoraproject:fedora:llvm-test-suite, cpe:/o:fedoraproject:fedora:41

Required KB Items: Host/local_checks_enabled, Host/RedHat/release, Host/RedHat/rpm-list

Exploit Ease: No known exploits are available

Patch Publication Date: 10/16/2024

Vulnerability Publication Date: 10/16/2024

Reference Information