Vulnerability · Published May 26, 2023 · Assigned by GitHub_M
CVE-2023-33185Incorrect signature verification in django-ses
Medium 4.6
In plain English
A medium-severity security flaw in django-ses from django-ses. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 14% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | django-ses | 3.5.0 | GHSA-qg36-9jxh-fj25 |
| PyPI | django-ses | 3.5.0 | PYSEC-2023-82 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| django-ses | django-ses | < 3.5.0 |
Weakness: CWE-347 · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:L
References
- https://github.com/django-ses/django-ses/security/advisories/GHSA-qg36-9jxh-fj25 x_refsource_CONFIRM
- https://github.com/django-ses/django-ses/commit/b71b5f413293a13997b6e6314086cb9c22629795 x_refsource_MISC
- https://github.com/django-ses/django-ses/blob/3d627067935876487f9938310d5e1fbb249a7778/CVE/001-cert-url-signature-verification.md x_refsource_MISC