You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The maintainer(s) of the affected project have already been made aware of this vulnerability.
Description
This is an old, well-known case of Go module "typosquatting", however the github.com/siruspen/logrus package is impersonating the official github.com/sirupsen/logrus package, notice how the p and the s in the middle of "sirupsen" are swapped for "siruspen" instead.
Acknowledgement
Description
This is an old, well-known case of Go module "typosquatting", however the
github.com/siruspen/logrus
package is impersonating the official6github.com/sirupsen/logrus
package, notice how the p and the s in the middle of "sirupsen" are swapped for "siruspen" instead.This is documented in public talks and in public blog posts for a long time already, e.g. https://michenriksen.com/archive/blog/finding-evil-go-packages/#githubcomsiruspenlogrus-
The problem is that the malicious package is fiddling with their
init
function. This can potentially lead to fully RCE on machine executing this code.At the time of writing and as far as I know, the only malicious behaviour of that package is to print "INIT" during its init:
This malicious package is imported by a few projects:
https://pkg.go.dev/github.com/siruspen/logrus?tab=importedby
and is still being cached by the Go proxy and cache despite having been removed from github:
https://github.com/siruspen/logrus
Affected Modules, Packages, Versions and Symbols
CVE/GHSA ID
No response
Fix Commit or Pull Request
No response
References
Additional information
This is not fixed since this is a malicious package doing typosquatting of a popular package.
The text was updated successfully, but these errors were encountered: