GHSA-qh54-9vc5-m9fg: Github.com/foxcpp/maddy MD5 Hash Support Vulnerability
LOWGHSA-qh54-9vc5-m9fg is a LOW (CVSS 3.0) md5 hash support vulnerability (CWE-261: Weak Encoding for Password) affecting Github.com/foxcpp/maddy libraries in the Go ecosystem. The issue involves md5 hash support in github.com/foxcpp/maddy. Remediation is available by upgrading affected packages to version 0.5.2.
GHSA-qh54-9vc5-m9fg at a Glance
Security Impact
CVSS: 3.0
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:N).
How to Fix GHSA-qh54-9vc5-m9fg
To remediate this vulnerability, upgrade all affected Github.com/foxcpp/maddy dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/foxcpp/maddy to 0.5.2
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/foxcpp/maddy
How to Check if You Are Affected
To determine whether your application is affected by GHSA-qh54-9vc5-m9fg, inspect your project dependencies for Github.com/foxcpp/maddy:
inspect dependencies for github.com/foxcpp/maddy
Analyze the terminal output to locate any version of Github.com/foxcpp/maddy in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.5.2), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-261: Weak Encoding for Password, where obscuring a password with a trivial encoding does not protect the password. In Github.com/foxcpp/maddy, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
GHSA-qh54-9vc5-m9fg Affected Github.com/foxcpp/maddy Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/foxcpp/maddy
|
Go |
≥ 0.5.0
< 0.5.2
|
0.5.2
|
References
Frequently Asked Questions
What is GHSA-qh54-9vc5-m9fg?
Which Github.com/foxcpp/maddy versions are affected?
What version fixes GHSA-qh54-9vc5-m9fg?
Is github.com/foxcpp/maddy affected?
What is the CVSS score of GHSA-qh54-9vc5-m9fg?
What CWE is associated with GHSA-qh54-9vc5-m9fg?
How can I check Go dependencies for GHSA-qh54-9vc5-m9fg?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-qh54-9vc5-m9fg",
"modified" : "2021-10-11T21:16:02Z",
"published" : "2021-10-12T16:06:30Z",
"aliases" : [ ],
"summary" : "MD5 hash support in github.com/foxcpp/maddy",
"details" : "### Impact\n\nThis vulnerability affects maddy 0.5.1, 0.5.0 users using auth.shadow module\nand an extremely outdated system that still allows MD5 hashes in \n/etc/shadows.\n\n### Patches\n\nPatch is available as part of the 0.5.2 release.\n\n### Workarounds\n\nEnsure MD5 hashes are not present in /etc/shadow.\n",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/foxcpp/maddy"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.5.0"
}, {
"fixed" : "0.5.2"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/foxcpp/maddy/security/advisories/GHSA-qh54-9vc5-m9fg"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/foxcpp/maddy"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-261" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2021-10-11T21:16:02Z",
"nvd_published_at" : null
}
}