Community Packages

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#70758 - [lout] CVE-2019-19917 CVE-2019-19918 FTBFS

Attached to Project: Community Packages
Opened by loqs (loqs) - Saturday, 08 May 2021, 19:34 GMT
Last edited by Andreas Radke (AndyRTR) - Monday, 10 May 2021, 05:37 GMT
Task Type Bug Report
Category Security
Status Assigned
Assigned To Kyle Keen (keenerd)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No


CVE-2019-19917 Lout 3.40 has a buffer overflow in the StringQuotedWord() function in z39.c.
CVE-2019-19918 Lout 3.40 has a heap-based buffer overflow in the srcnext() function in z02.c.

lout fails to build from source due to missing systemd in make depends so sysusers.d is not available to create the users group [1].
Patch fixing both CVEs from Fedora [2]. PKGBUILD.diff [3] also adjusts the custom Makefile to use CPPFLAGS CFLAGS and LDFLAGS so adds FULL RELRO e.t.c..

Additional info:
* lout 3.40-2
[1] lout-3.40-2-x86_64-package.log
[3] PKGBUILD.diff

Steps to reproduce:
Build package in a clean chroot.
This task depends upon