CVEMETERBack to radar
OFFICIAL RECORD · Python packages

CVE-2011-4140

PUBLISHEDOfficial status check: verifiedCVSS unknown: unknown · unknown

Python packages · CVE-2011-4140

The CSRF protection mechanism in Django through 1.2.7 and 1.3.x through 1.3.1 does not properly handle web-server configurations supporting arbitrary HTTP Host headers, which allows remote attackers to trigger unauthenticated forged requests via vectors involving a DNS CNAME record and a web page containing JavaScript code.

Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.

Severity and exploitation evidence

EPSS: 1.093% · score date 2026-11-18. EPSS is an estimated probability over the next 30 days, not proof of exploitation.

CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T15:24:28.001Z. Public exploit availability is not used to set this status.

Verification by field

FieldStatusChecked at (UTC)Source
kevverified2026-11-19T15:24:28.001ZCISA KEV
cvssunknownunknownunknown
epssverified2026-11-19T12:59:49.384ZFIRST EPSS
patchesverified2026-11-19T12:52:01.389ZOSV
affectedverified2026-11-19T12:54:15.541ZCVE Program
lifecycleverified2026-11-19T12:54:15.541ZCVE Program

Affected versions and configuration

n/a n/a; default status: unknown: n/a [affected; scheme: unspecified]

Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.

CVE Program · cve-json · full conditions
{
  "affected": [
    {
      "vendor": "n/a",
      "product": "n/a",
      "versions": [
        {
          "status": "affected",
          "version": "n/a"
        }
      ]
    }
  ],
  "additionalContainers": [
    {
      "title": "CVE Program Container",
      "references": [
        {
          "url": "https://hermes.opensuse.org/messages/14700881",
          "name": "openSUSE-SU-2012:0653",
          "tags": [
            "vendor-advisory",
            "x_refsource_SUSE",
            "x_transferred"
          ]
        },
        {
          "url": "http://www.debian.org/security/2011/dsa-2332",
          "name": "DSA-2332",
          "tags": [
            "vendor-advisory",
            "x_refsource_DEBIAN",
            "x_transferred"
          ]
        },
        {
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=737366",
          "tags": [
            "x_refsource_CONFIRM",
            "x_transferred"
          ]
        },
        {
          "url": "http://secunia.com/advisories/46614",
          "name": "46614",
          "tags": [
            "third-party-advisory",
            "x_refsource_SECUNIA",
            "x_transferred"
          ]
        },
        {
          "url": "http://openwall.com/lists/oss-security/2011/09/11/1",
          "name": "[oss-security] 20110911 CVE Request -- Django: v1.3.1, v1.2.7 multiple security flaws",
          "tags": [
            "mailing-list",
            "x_refsource_MLIST",
            "x_transferred"
          ]
        },
        {
          "url": "https://www.djangoproject.com/weblog/2011/sep/10/127/",
          "tags": [
            "x_refsource_CONFIRM",
            "x_transferred"
          ]
        },
        {
          "url": "http://openwall.com/lists/oss-security/2011/09/13/2",
          "name": "[oss-security] 20110913 Re: CVE Request -- Django: v1.3.1, v1.2.7 multiple security flaws",
          "tags": [
            "mailing-list",
            "x_refsource_MLIST",
            "x_transferred"
          ]
        },
        {
          "url": "https://www.djangoproject.com/weblog/2011/sep/09/",
          "tags": [
            "x_refsource_CONFIRM",
            "x_transferred"
          ]
        }
      ],
      "providerMetadata": {
        "orgId": "af854a3a-2127-422b-91ae-364da2661108",
        "shortName": "CVE",
        "dateUpdated": "2024-08-07T00:01:51.120Z"
      }
    }
  ]
}
Archived source JSON
OSV · osv · full conditions
{
  "id": "GHSA-h95j-h2rv-qrg4",
  "aliases": [
    "CVE-2011-4140",
    "PYSEC-2011-5"
  ],
  "affected": [
    {
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "1.2.7"
            }
          ]
        }
      ],
      "package": {
        "name": "django",
        "purl": "pkg:pypi/django",
        "ecosystem": "PyPI"
      },
      "versions": [
        "1.0.1",
        "1.0.2",
        "1.0.3",
        "1.0.4",
        "1.1",
        "1.1.1",
        "1.1.2",
        "1.1.3",
        "1.1.4",
        "1.2",
        "1.2.1",
        "1.2.2",
        "1.2.3",
        "1.2.4",
        "1.2.5",
        "1.2.6",
        "1.2.7"
      ],
      "database_specific": {
        "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2018/07/GHSA-h95j-h2rv-qrg4/GHSA-h95j-h2rv-qrg4.json"
      }
    },
    {
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "1.3"
            },
            {
              "last_affected": "1.3.1"
            }
          ]
        }
      ],
      "package": {
        "name": "django",
        "purl": "pkg:pypi/django",
        "ecosystem": "PyPI"
      },
      "versions": [
        "1.3",
        "1.3.1"
      ],
      "database_specific": {
        "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2018/07/GHSA-h95j-h2rv-qrg4/GHSA-h95j-h2rv-qrg4.json"
      }
    }
  ],
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
    },
    {
      "type": "CVSS_V4",
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N"
    }
  ],
  "upstream": [],
  "withdrawn": null,
  "references": [
    {
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2011-4140",
      "type": "ADVISORY"
    },
    {
      "url": "https://bugzilla.redhat.com/show_bug.cgi?id=737366",
      "type": "WEB"
    },
    {
      "url": "https://github.com/advisories/GHSA-h95j-h2rv-qrg4",
      "type": "ADVISORY"
    },
    {
      "url": "https://github.com/django/django",
      "type": "PACKAGE"
    },
    {
      "url": "https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2011-5.yaml",
      "type": "WEB"
    },
    {
      "url": "https://hermes.opensuse.org/messages/14700881",
      "type": "WEB"
    },
    {
      "url": "https://web.archive.org/web/20140806062902/http://secunia.com/advisories/46614",
      "type": "WEB"
    },
    {
      "url": "https://www.djangoproject.com/weblog/2011/sep/09",
      "type": "WEB"
    },
    {
      "url": "https://www.djangoproject.com/weblog/2011/sep/10/127",
      "type": "WEB"
    },
    {
      "url": "http://openwall.com/lists/oss-security/2011/09/11/1",
      "type": "WEB"
    },
    {
      "url": "http://openwall.com/lists/oss-security/2011/09/13/2",
      "type": "WEB"
    },
    {
      "url": "http://www.debian.org/security/2011/dsa-2332",
      "type": "WEB"
    }
  ],
  "relatedGitRanges": [],
  "database_specific": {
    "cwe_ids": [
      "CWE-352"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "nvd_published_at": null,
    "github_reviewed_at": "2020-06-16T21:39:45Z"
  }
}
Archived source JSON
OSV · osv · full conditions
{
  "id": "PYSEC-2011-5",
  "aliases": [
    "CVE-2011-4140",
    "GHSA-h95j-h2rv-qrg4"
  ],
  "affected": [
    {
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.2.7"
            },
            {
              "introduced": "1.3"
            },
            {
              "fixed": "1.3.1"
            }
          ]
        }
      ],
      "package": {
        "name": "django",
        "purl": "pkg:pypi/django",
        "ecosystem": "PyPI"
      },
      "versions": [
        "1.0.1",
        "1.0.2",
        "1.0.3",
        "1.0.4",
        "1.1",
        "1.1.1",
        "1.1.2",
        "1.1.3",
        "1.1.4",
        "1.2",
        "1.2.1",
        "1.2.2",
        "1.2.3",
        "1.2.4",
        "1.2.5",
        "1.2.6",
        "1.3"
      ],
      "database_specific": {
        "source": "https://github.com/pypa/advisory-database/blob/main/vulns/django/PYSEC-2011-5.yaml"
      }
    }
  ],
  "severity": [],
  "upstream": [],
  "withdrawn": null,
  "references": [
    {
      "url": "https://bugzilla.redhat.com/show_bug.cgi?id=737366",
      "type": "REPORT"
    },
    {
      "url": "http://openwall.com/lists/oss-security/2011/09/11/1",
      "type": "WEB"
    },
    {
      "url": "https://www.djangoproject.com/weblog/2011/sep/09/",
      "type": "ARTICLE"
    },
    {
      "url": "http://openwall.com/lists/oss-security/2011/09/13/2",
      "type": "WEB"
    },
    {
      "url": "https://www.djangoproject.com/weblog/2011/sep/10/127/",
      "type": "ARTICLE"
    },
    {
      "url": "http://secunia.com/advisories/46614",
      "type": "ADVISORY"
    },
    {
      "url": "http://www.debian.org/security/2011/dsa-2332",
      "type": "ADVISORY"
    },
    {
      "url": "https://hermes.opensuse.org/messages/14700881",
      "type": "WEB"
    },
    {
      "url": "https://github.com/advisories/GHSA-h95j-h2rv-qrg4",
      "type": "ADVISORY"
    }
  ],
  "relatedGitRanges": [],
  "database_specific": {}
}
Archived source JSON

Correction evidence

Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.

Evidence typeDistribution / releasePackageChannelVersion or source noteSource
ecosystem-boundaryPyPI / packagedjangoNot a distribution channel1.2.7Official record
ecosystem-boundaryPyPI / packagedjangoNot a distribution channel1.3.1Official record

Vendor notices and operational guidance

No connected vendor notice is available for this record.

Original sources and dates

Official status history