CVE-2008-5647: Trac Trac Has Vulnerability Vulnerability

MODERATE
Advisory Identifier: GHSA-ww53-wxxr-8f9w
CVSS 5.4
Published
Advisory Summary

CVE-2008-5647 is a MODERATE (CVSS 5.4) trac has vulnerability vulnerability (General Security Weakness) affecting Trac libraries in the PyPI ecosystem. The issue involves trac has vulnerability in html sanitizer filter. Remediation is available by upgrading affected packages to version 0.11.2.

CVE-2008-5647 at a Glance

CVE Identifier CVE-2008-5647
GHSA Identifier GHSA-ww53-wxxr-8f9w
Severity MODERATE
CVSS v3.1 Base Score 5.4
CWE Classification General Security Weakness
Affected Product Trac
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 5.4

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:R/S:U/C:L/I:L/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction Required (UI:R)
Scope Unchanged (S:U)
Confidentiality Low (C:L)
Integrity Low (I:L)
Availability None (A:N)

How to Fix CVE-2008-5647

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.

Trac fixed: 0.11.2
pip install Trac>=0.11.2
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 Trac

How to Check if You Are Affected

To determine whether your Python environment is affected by CVE-2008-5647, 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.11.2), 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

Unspecified vulnerability in the HTML sanitizer filter in Trac before 0.11.2 allows attackers to conduct phishing attacks via unknown attack vectors.

CVE-2008-5647 Affected Trac Versions

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

References

Frequently Asked Questions

What is CVE-2008-5647?
CVE-2008-5647 is a security vulnerability in Trac involving Trac has vulnerability in HTML sanitizer filter under General Security Weakness.
Which Trac versions are affected?
Affected versions include releases prior to 0.11.2 across affected packages: Trac.
What version fixes CVE-2008-5647?
Upgrading to 0.11.2 (or the latest patched release for your respective branch) resolves the vulnerability.
Is Trac affected?
Yes, Trac is affected in releases prior to 0.11.2. Upgrade your dependency to 0.11.2 or later.
What is the CVSS score of CVE-2008-5647?
CVE-2008-5647 has a CVSS v3.1 base score of 5.4 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N.
What CWE is associated with CVE-2008-5647?
CVE-2008-5647 is classified under General Security Weakness.
How can I check PyPI dependencies for CVE-2008-5647?
Run the dependency tree command: 'pip show Trac'. 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-ww53-wxxr-8f9w",
  "modified" : "2024-11-18T21:37:14Z",
  "published" : "2022-05-17T02:17:20Z",
  "aliases" : [ "CVE-2008-5647" ],
  "summary" : "Trac has vulnerability in HTML sanitizer filter",
  "details" : "Unspecified vulnerability in the HTML sanitizer filter in Trac before 0.11.2 allows attackers to conduct phishing attacks via unknown attack vectors.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "Trac"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.11.2"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2008-5647"
  }, {
    "type" : "WEB",
    "url" : "https://exchange.xforce.ibmcloud.com/vulnerabilities/46491"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/pypa/advisory-database/tree/main/vulns/trac/PYSEC-2008-7.yaml"
  }, {
    "type" : "WEB",
    "url" : "https://web.archive.org/web/20140722200717/http://secunia.com/advisories/32652"
  }, {
    "type" : "WEB",
    "url" : "https://web.archive.org/web/20200228023138/http://www.securityfocus.com/bid/32226"
  }, {
    "type" : "WEB",
    "url" : "http://trac.edgewall.org/wiki/ChangeLog"
  } ],
  "database_specific" : {
    "cwe_ids" : [ ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-04-30T12:25:02Z",
    "nvd_published_at" : "2008-12-17T18:30:00Z"
  }
}