Go Vulnerability Database
GO-2025-4188
Logrus is vulnerable to DoS when using Entry.writerScanner in github.com/sirupsen/logrus
Details
Logrus is vulnerable to DoS when using Entry.writerScanner in github.com/sirupsen/logrus
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/sirupsen/logrus | All versions before 1.8.3 (fixed in 1.8.3) From 1.9.0 before 1.9.1 (fixed in 1.9.1) From 1.9.2 before 1.9.3 (fixed in 1.9.3) |
References
- https://github.com/advisories/GHSA-4f99-4q7p-p3gh
- https://github.com/sirupsen/logrus/commit/6acd903758687c4a3db3c11701e6c414fcf1c1f7
- https://github.com/sirupsen/logrus/pull/1376
- https://github.com/sirupsen/logrus/issues/1370
- https://github.com/mjuanxd/logrus-dos-poc
- https://github.com/mjuanxd/logrus-dos-poc/blob/main/README.md
- https://github.com/sirupsen/logrus/releases/tag/v1.8.3
- https://github.com/sirupsen/logrus/releases/tag/v1.9.1
- https://github.com/sirupsen/logrus/releases/tag/v1.9.3
- https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMSIRUPSENLOGRUS-5564391