CVE-2007-1406: Trac Trac Missing Content-Disposition HTTP Header Vulnerability
MODERATECVE-2007-1406 is a MODERATE (CVSS 5.3) trac missing content-disposition http header vulnerability (General Security Weakness) affecting Trac libraries in the PyPI ecosystem. The issue involves trac missing content-disposition http header. Remediation is available by upgrading affected packages to version 0.10.3.1.
CVE-2007-1406 at a Glance
Security Impact
CVSS: 5.3
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N).
How to Fix CVE-2007-1406
To remediate this vulnerability, upgrade all affected Trac 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 trac>=0.10.3.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show trac
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2007-1406, inspect your installed packages using pip:
pip show trac
Analyze the terminal output to locate any version of Trac in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.10.3.1), your application is affected.
Note: The pip show trac command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under General Security Weakness. In Trac, 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-2007-1406 Affected Trac Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
trac
|
PyPI |
< 0.10.3.1
|
0.10.3.1
|
References
Frequently Asked Questions
What is CVE-2007-1406?
Which Trac versions are affected?
What version fixes CVE-2007-1406?
Is trac affected?
What is the CVSS score of CVE-2007-1406?
What CWE is associated with CVE-2007-1406?
How can I check PyPI dependencies for CVE-2007-1406?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-7jjr-3r8r-9pcf",
"modified" : "2024-11-18T20:55:12Z",
"published" : "2022-05-01T17:53:20Z",
"aliases" : [ "CVE-2007-1406" ],
"summary" : "Trac missing Content-Disposition HTTP header",
"details" : "Trac before 0.10.3.1 does not send a Content-Disposition HTTP header specifying an attachment in certain \"unsafe\" situations, which has unknown impact and remote attack vectors.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "trac"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.10.3.1"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2007-1406"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/trac/PYSEC-2007-3.yaml"
}, {
"type" : "WEB",
"url" : "http://trac.edgewall.org/wiki/ChangeLog"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-04-29T14:34:20Z",
"nvd_published_at" : "2007-03-10T22:19:00Z"
}
}