Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 929965 (CVE-2024-1441) - <app-emulation/libvirt-10.1.0: off-by-one error in udevListInterfacesByStatus()
Summary: <app-emulation/libvirt-10.1.0: off-by-one error in udevListInterfacesByStatus()
Status: UNCONFIRMED
Alias: CVE-2024-1441
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Security
URL: https://gitlab.com/libvirt/libvirt/-/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-13 19:58 UTC by Michal Prívozník
Modified: 2024-04-14 00:43 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michal Prívozník 2024-04-13 19:58:24 UTC
CVE-2024-1441

An off-by-one error flaw was found in the udevListInterfacesByStatus() function in libvirt when the number of interfaces exceeds the size of the `names` array. This issue can be reproduced by sending specially crafted data to the libvirt daemon, allowing an unprivileged client to perform a denial of service attack by causing the libvirt daemon to crash.
Comment 1 Larry the Git Cow gentoo-dev 2024-04-14 00:43:17 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae3831574e5c8344213c231e4b03acbb899f7fec

commit ae3831574e5c8344213c231e4b03acbb899f7fec
Author:     Michal Privoznik <michal.privoznik@gmail.com>
AuthorDate: 2024-04-13 18:49:27 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-04-14 00:41:52 +0000

    app-emulation/libvirt: Backport fix for CVE-2024-1441
    
    The fix made it into app-emulation/libvirt-10.1.0 release.
    Backport the fix into anything older.
    
    https://nvd.nist.gov/vuln/detail/CVE-2024-1441
    
    Bug: https://bugs.gentoo.org/929965
    Signed-off-by: Michal Privoznik <michal.privoznik@gmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 ...y-one-error-in-udevListInterfacesByStatus.patch | 42 ++++++++++++++++++++++
 app-emulation/libvirt/libvirt-10.0.0-r1.ebuild     |  1 +
 app-emulation/libvirt/libvirt-9.8.0-r1.ebuild      |  1 +
 app-emulation/libvirt/libvirt-9.9.0-r1.ebuild      |  1 +
 4 files changed, 45 insertions(+)