Intel

AIKIDO-2024-10369

github.com/sirupsen/logrus is vulnerable to Denial of Service (DoS)

Denial of Service (DoS) Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.

87

High Risk

This Affects:

gogithub.com/sirupsen/logrus
0.0.1 - 1.8.2
Fixed in 1.8.3
1.9.0 - 1.9.0
Fixed in 1.9.1

TL;DR

Affected versions of the package are vulnerable to a Denial of Service (DoS) via the logrus.Writer() function. This vulnerability can be triggered by logging text longer than 64 KB without newlines, causing the function to hang indefinitely.

Who does this affect?

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

Background info

github.com/sirupsen/logrus is vulnerable to Denial of Service (DoS) in versions 0.0.1 - 1.8.2 and 1.9.0 - 1.9.0.

How to fix this

Upgrade the github.com/sirupsen/logrus library to a patch version.