CVE-2004-1177: Mailman Cross-Site Scripting Vulnerability

MODERATE
Advisory Identifier: GHSA-rh6c-jh4c-9fg3
CWE-79
Published
Advisory Summary

CVE-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

CVE Identifier CVE-2004-1177
GHSA Identifier GHSA-rh6c-jh4c-9fg3
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Affected Product Mailman
Package Ecosystem PyPI
Published Date
Last Updated

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.

mailman fixed: 2.1.5
pip install mailman>=2.1.5
Verify Direct and Transitive Dependencies

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

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.

CVE-2004-1177 Affected Mailman Versions

1 component(s)
Fixed Versions:
2.1.5
Product / Package Ecosystem Affected Versions Fixed Version
mailman
PyPI
< 2.1.5
2.1.5

References

Frequently Asked Questions

What is CVE-2004-1177?
CVE-2004-1177 is a security vulnerability in Mailman involving mailman Cross-site scripting (XSS) vulnerability under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting').
Which Mailman versions are affected?
Affected versions include releases prior to 2.1.5 across affected packages: mailman.
What version fixes CVE-2004-1177?
Upgrading to 2.1.5 (or the latest patched release for your respective branch) resolves the vulnerability.
Is mailman affected?
Yes, mailman is affected in releases prior to 2.1.5. Upgrade your dependency to 2.1.5 or later.
What CWE is associated with CVE-2004-1177?
CVE-2004-1177 is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') (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.).
How can I check PyPI dependencies for CVE-2004-1177?
Run the dependency tree command: 'pip show mailman'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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"
  }
}