Intel

AIKIDO-2024-10429

github.com/elastic/go-libaudit/v2 is vulnerable to Missing Release of File Descriptor or Handle after Effective Lifetime

Missing Release of File Descriptor or Handle after Effective Lifetime Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Nov 7, 2024

30

Low Risk

This Affects:

gogithub.com/elastic/go-libaudit/v2
0.0.1 - 2.5.0
Fixed in 2.6.0
Are you affected? Scan for Free

TL;DR

Affected versions of the package could potentially suffer from a Denial of Service (DoS) attack due to improper handling of file descriptors during the creation of the netlink socket. Specifically, the package fails to prevent the leakage of file descriptors, which could lead to resource exhaustion, causing the system to become unresponsive or crash.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

github.com/elastic/go-libaudit/v2 is vulnerable to Missing Release of File Descriptor or Handle after Effective Lifetime in versions 0.0.1 - 2.5.0.

How to fix this

Upgrade the github.com/elastic/go-libaudit/v2 library to the patch version.