The close_altfile() function in filename.c in less before 606 omits shell_quote calls for LESSCLOSE. Upstream fix: https://github.com/gwsw/less/commit/c6ac6de49698be84d264a0c4c0c40bb870b10144
This issue has been addressed in the following products: Red Hat Enterprise Linux 8 Via RHSA-2024:1610 https://access.redhat.com/errata/RHSA-2024:1610
This issue has been addressed in the following products: Red Hat Enterprise Linux 9 Via RHSA-2024:1692 https://access.redhat.com/errata/RHSA-2024:1692
This issue has been addressed in the following products: Red Hat Enterprise Linux 8.8 Extended Update Support Via RHSA-2024:1875 https://access.redhat.com/errata/RHSA-2024:1875
This issue has been addressed in the following products: Red Hat Enterprise Linux 8.6 Extended Update Support Via RHSA-2024:1989 https://access.redhat.com/errata/RHSA-2024:1989