Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. django-ses
  4. ›
  5. GMS-2023-1622

GMS-2023-1622: Incorrect signature verification in django-ses

May 22, 2023

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.

References

  • github.com/advisories/GHSA-qg36-9jxh-fj25
  • github.com/django-ses/django-ses/blob/3d627067935876487f9938310d5e1fbb249a7778/CVE/001-cert-url-signature-verification.md
  • github.com/django-ses/django-ses/commit/b71b5f413293a13997b6e6314086cb9c22629795
  • github.com/django-ses/django-ses/security/advisories/GHSA-qg36-9jxh-fj25

Code Behaviors & Features

Detect and mitigate GMS-2023-1622 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 3.5.0

Fixed versions

  • 3.5.0

Solution

Upgrade to version 3.5.0 or above.

Source file

pypi/django-ses/GMS-2023-1622.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:11 +0000.