Skip to content
Heist/ feed
Back to feed
Medium

Incorrect signature verification in django-ses

Type: advisorySources: OSV

Django-SES is a drop-in mail backend for Django. The django_ses library implements a mail backend for Django using AWS Simple Email Service. The library exports the `SESEventWebhookView class` intended to receive signed requests from AWS to handle email bounces, subscriptions, etc. These requests are signed by AWS and are verified by django_ses, however the verification of this signature was found to be flawed as it allowed users to specify arbitrary public certificates. This issue was patched in version 3.5.0.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2023-33185
Confirmed fixed CVEs
Not specified
Updated in this feed
7 Nov 2026, 02:28 UTC · Revision 1

Source evidence

Incorrect signature verification in django-ses

core-osv · Original source

Published 26 May 2023, 20:03 UTC

Django-SES is a drop-in mail backend for Django. The django_ses library implements a mail backend for Django using AWS Simple Email Service. The library exports the `SESEventWebhookView class` intended to receive signed requests from AWS to handle email bounces, subscriptions, etc. These requests are signed by AWS and are verified by django_ses, however the verification of this signature was found to be flawed as it allowed users to specify arbitrary public certificates. This issue was patched in version 3.5.0.

osv:CVE-2023-33185
Complete source record
{
  "id": "1b8ae4415520d628d8f3fb8af154d7e2e3243416af5a2833538e5463f0a536cc",
  "url": "https://osv.dev/vulnerability/CVE-2023-33185",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Incorrect signature verification in django-ses",
    "summary": "Django-SES is a drop-in mail backend for Django. The django_ses library implements a mail backend for Django using AWS Simple Email Service. The library exports the `SESEventWebhookView class` intended to receive signed requests from AWS to handle email bounces, subscriptions, etc. These requests are signed by AWS and are verified by django_ses, however the verification of this signature was found to be flawed as it allowed users to specify arbitrary public certificates. This issue was patched in version 3.5.0.",
    "evidence": "osv:CVE-2023-33185",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2023-33185",
      "aliases": [
        "CVE-2023-33185",
        "GHSA-qg36-9jxh-fj25",
        "PYSEC-2023-82"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:L"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/django-ses/django-ses",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2388f4b8c644ae8d26e5457af00e2974a17d0995"
                },
                {
                  "fixed": "b71b5f413293a13997b6e6314086cb9c22629795"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:django-ses_project:django-ses:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "3.5.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "b71b5f413293a13997b6e6314086cb9c22629795"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v3.4.1",
            "v3.4.0",
            "v3.2.2",
            "v3.2.1",
            "v3.2.0",
            "v3.1.2",
            "v3.1.0",
            "v3.0.1",
            "v2.6.1",
            "v2.6.0",
            "v2.5.0",
            "v2.4.0",
            "v2.3.1",
            "v2.3.0",
            "v2.2.2",
            "v2.2.1",
            "v2.2.0",
            "v2.1.1",
            "v2.1.0",
            "v2.0.0",
            "v1.0.3",
            "v1.0.2",
            "v1.0.1",
            "v1.0.0",
            "v0.8.14",
            "v0.8.13",
            "v0.8.12",
            "v0.8.11",
            "v0.8.10",
            "v0.8.8",
            "v0.8.7",
            "v0.8.6",
            "v0.8.5",
            "v0.8.4",
            "v0.8.3.1",
            "v0.8.3",
            "v0.8.2",
            "0.8.1",
            "v0.8.0",
            "v0.7.1",
            "v0.7.0",
            "v0.6.0",
            "v0.4.0",
            "v0.3.0",
            "v0.2"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-33185.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:49.060555468Z",
      "provider": "osv",
      "references": [
        "https://github.com/django-ses/django-ses/blob/3d627067935876487f9938310d5e1fbb249a7778/CVE/001-cert-url-signature-verification.md",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/33xxx/CVE-2023-33185.json",
        "https://github.com/django-ses/django-ses/security/advisories/GHSA-qg36-9jxh-fj25",
        "https://nvd.nist.gov/vuln/detail/CVE-2023-33185",
        "https://github.com/django-ses/django-ses/commit/b71b5f413293a13997b6e6314086cb9c22629795"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-347"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/33xxx/CVE-2023-33185.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2023-33185",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 517363,
  "published_at": "2023-05-26T20:03:33.725+00:00"
}