CVE-2004-1177: Mailman Cross-Site Scripting Vulnerability
MODERATECVE-2004-1177 is a MODERATE cross-site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Mailman libraries in the PyPI ecosystem. The issue involves mailman cross-site scripting (xss) vulnerability. Remediation is available by upgrading affected packages to version 2.1.5.
CVE-2004-1177 at a Glance
How to Fix CVE-2004-1177
To remediate this vulnerability, upgrade all affected Mailman dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install mailman>=2.1.5
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show mailman
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2004-1177, inspect your installed packages using pip:
pip show mailman
Analyze the terminal output to locate any version of Mailman in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.1.5), your application is affected.
Note: The pip show mailman command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'), where the product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. In Mailman, 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
CVE-2004-1177 Affected Mailman Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
mailman
|
PyPI |
< 2.1.5
|
2.1.5
|
References
Frequently Asked Questions
What is CVE-2004-1177?
Which Mailman versions are affected?
What version fixes CVE-2004-1177?
Is mailman affected?
What CWE is associated with CVE-2004-1177?
How can I check PyPI dependencies for CVE-2004-1177?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-rh6c-jh4c-9fg3",
"modified" : "2023-09-18T22:51:56Z",
"published" : "2022-04-29T02:59:06Z",
"aliases" : [ "CVE-2004-1177" ],
"summary" : "mailman Cross-site scripting (XSS) vulnerability ",
"details" : "Cross-site scripting (XSS) vulnerability in the driver script in mailman before 2.1.5 allows remote attackers to inject arbitrary web script or HTML via a URL, which is not properly escaped in the resulting error page.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "mailman"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.1.5"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2004-1177"
}, {
"type" : "WEB",
"url" : "https://exchange.xforce.ibmcloud.com/vulnerabilities/18854"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/terencehonles/mailman"
}, {
"type" : "WEB",
"url" : "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11113"
}, {
"type" : "WEB",
"url" : "http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=287555"
}, {
"type" : "WEB",
"url" : "http://marc.info/?l=bugtraq&m=110549296126351&w=2"
}, {
"type" : "WEB",
"url" : "http://secunia.com/advisories/13603"
}, {
"type" : "WEB",
"url" : "http://www.debian.org/security/2005/dsa-674"
}, {
"type" : "WEB",
"url" : "http://www.mandriva.com/security/advisories?name=MDKSA-2005:015"
}, {
"type" : "WEB",
"url" : "http://www.novell.com/linux/security/advisories/2005_07_mailman.html"
}, {
"type" : "WEB",
"url" : "http://www.redhat.com/support/errata/RHSA-2005-235.html"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-79" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2023-09-18T22:51:56Z",
"nvd_published_at" : "2005-01-10T05:00:00Z"
}
}