Intel

AIKIDO-2024-10344

github.com/wneessen/go-mail is vulnerable to Insertion of Sensitive Information into Log File

Insertion of Sensitive Information into Log File Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Oct 16, 2024

8

Low Risk

This Affects:

gogithub.com/wneessen/go-mail
0.3.9 - 0.5.0
Fixed in 0.5.1
Are you affected? Scan for Free

TL;DR

Affected versions of the package may expose sensitive information in log files. The debug logger may inadvertently reveal SMTP authentication data, creating a security risk.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and enabled debug logging.

Background info

github.com/wneessen/go-mail is vulnerable to Insertion of Sensitive Information into Log File in versions 0.3.9 - 0.5.0.

How to fix this

Upgrade the github.com/wneessen/go-mail library to the patch version.