CVE-2021-42583: Use of a Broken or Risky Cryptographic Algorithm in Max Mazurov Maddy

github.com/foxcpp/maddy Updated 02 Oct 2025

Summary

21/08/2024
Yes i
High
Not published

CVE-2021-42583: Use of a Broken or Risky Cryptographic Algorithm in Max Mazurov Maddy in github.com/foxcpp/maddy. Affects github.com/foxcpp/maddy versions < 0.5.2. Fixed in 0.5.2. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Max Mazurov Maddy is a Go package that provides a mail delivery agent (MDA) and mail filtering framework. It is designed to handle incoming and outgoing mail, perform various mail processing tasks, and enforce security measures. Maddy is widely used in Go ecosystems for email server applications.

Vulnerability Detail

The vulnerability identified as CVE-2021-42583 involves the use of a broken or risky cryptographic algorithm in Max Mazurov Maddy. This vulnerability can lead to the compromise of sensitive information, including email content and user credentials. Attackers may exploit this weakness to intercept, modify, or impersonate email communications, potentially resulting in unauthorized access, data leakage, or further compromise of the email infrastructure. The vulnerability arises from the use of an outdated or insecure cryptographic algorithm within the Maddy package.

How To Fix

Latest published version: v0.9.6 as of 23 Oct 2026

go get github.com/foxcpp/maddy@v0.9.6

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

0.5.2

This is the first release that contains the fix.

go get github.com/foxcpp/maddy@v0.5.2

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Conclusion

The use of a broken or risky cryptographic algorithm in Max Mazurov Maddy poses a significant security risk to email server applications. It is crucial to update to the latest version of the package (0.5.2 or later) to mitigate the vulnerability and ensure the confidentiality and integrity of email communications.

See every vulnerability recorded for github.com/foxcpp/maddy →

Share this vulnerability

FAQ

This vulnerability can lead to the compromise of sensitive information, unauthorized access to email communications, and potential data leakage.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability. Vulert monitors and alerts in real-time for open-source vulnerabilities, using Gopkg.lock as input.

At the time of this report, there are no known public exploits targeting this specific vulnerability. However, it is crucial to apply the recommended fix promptly to mitigate any potential risks.

Currently, there is no known workaround for this vulnerability. It is recommended to update to the latest version of Max Mazurov Maddy to address the issue.

The vulnerability was discovered by security researchers and reported through the GitHub Security Advisory (GHSA) program.

Related vulnerabilities

Recent vulnerabilities recorded for github.com/foxcpp/maddy.

How To Fix

Latest published version: v0.9.6 as of 23 Oct 2026

go get github.com/foxcpp/maddy@v0.9.6

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

0.5.2

This is the first release that contains the fix.

go get github.com/foxcpp/maddy@v0.5.2

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback