{"answers":{"affected":"3 open source packages ship an affected version, including trac. It affects 1 product.","exploited":"There is no known exploitation of CVE-2007-1406 in the wild and no public exploit code.","fix":"Upgrade trac to 0.10.3.1 or later.","what":"CVE-2007-1406 is a critical vulnerability in n/a, published on 10 Mar 2007. It can be exploited over the network."},"fix_prompt":"Check this codebase for CVE-2007-1406 and fix it if it is affected.\n\nWhat it is: CVE-2007-1406 is a critical vulnerability in n/a, published on 10 Mar 2007. It can be exploited over the network.\nExploitation: There is no known exploitation of CVE-2007-1406 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- trac (PyPI): affected all versions; fixed in 0.10.3.1\n- trac (PyPI): affected all versions; fixed in 0.10.3.1\n- trac (PyPI): affected all versions; fixed in 0.10.3.1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2007-1406/ (Markdown: https://insights.sbomify.com/CVE-2007-1406/index.md)","id":"CVE-2007-1406","markdown":"https://insights.sbomify.com/CVE-2007-1406/index.md","name":"CVE-2007-1406","record":{"aliases":["DEBIAN-CVE-2007-1406","GHSA-7jjr-3r8r-9pcf","PYSEC-2007-3"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["other"],"network_reachable":"yes","non_default_config":false,"product_category":"Trac project management","requires_auth":"unknown","summary":"Trac fails to set Content-Disposition headers for attachments in unsafe situations, potentially allowing unintended file handling by remote attackers.","user_interaction":"unknown","vuln_class":"other"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"trac","vendor":"edgewall_software"}],"cvss":{"score":10,"severity":"critical","source":"nvd","vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","version":"2.0"},"cwes":[],"description":"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.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Trac missing Content-Disposition HTTP header","id":"CVE-2007-1406","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"other","year":"2007"},"n_packages":3,"n_references":1,"next":{"headline":"Unspecified vulnerability in OpenSolution Quick.Cart before 2.1 has unknown impact and attack vectors, related to a \"low critical exploit.\"","id":"CVE-2007-1407"},"packages":[{"ecosystem":"PyPI","fixed":["0.10.3.1"],"introduced":["0"],"last_affected":[],"package":"trac","purl":null,"source":"GHSA-7jjr-3r8r-9pcf"},{"ecosystem":"PyPI","fixed":["0.10.3.1"],"introduced":["0"],"last_affected":[],"package":"trac","purl":"pkg:pypi/trac","source":"GHSA-7jjr-3r8r-9pcf"},{"ecosystem":"PyPI","fixed":["0.10.3.1"],"introduced":["0"],"last_affected":[],"package":"trac","purl":"pkg:pypi/trac","source":"PYSEC-2007-3"}],"prev":{"headline":"Trac Cross-site Scripting (XSS) vulnerability","id":"CVE-2007-1405"},"products":["n/a"],"published":"2007-03-10","related":[{"cvss_score":7.5,"headline":"Edgewall Trac Cross-site request forgery (CSRF) vulnerability","id":"CVE-2006-5878","kev_date_added":null,"published":"2006-11-14"},{"cvss_score":7.5,"headline":"SQL injection in n/a","id":"CVE-2005-4065","kev_date_added":null,"published":"2005-12-07"},{"cvss_score":7.5,"headline":"SQL injection in n/a","id":"CVE-2005-3980","kev_date_added":null,"published":"2005-12-04"},{"cvss_score":6.8,"headline":"Trac reStructuredText breach of privacy and denial of service vulnerability","id":"CVE-2006-3695","kev_date_added":null,"published":"2006-07-19"},{"cvss_score":6.4,"headline":"Path traversal in n/a","id":"CVE-2005-2147","kev_date_added":null,"published":"2005-07-06"},{"cvss_score":6.4,"headline":"Path traversal in n/a","id":"CVE-2005-2007","kev_date_added":null,"published":"2005-06-20"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-09-16","vendors":["n/a"]},"summary":"Trac fails to set Content-Disposition headers for attachments in unsafe situations, potentially allowing unintended file handling by remote attackers.","url":"https://insights.sbomify.com/CVE-2007-1406/"}