Server-side Request Forgery (SSRF) Affecting django-ses package, versions [,3.5.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.06% (30th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Server-side Request Forgery (SSRF) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-DJANGOSES-5595562
  • published23 May 2023
  • disclosed22 May 2023
  • creditJoseph Surin

Introduced: 22 May 2023

CVE-2023-33185  (opens in a new tab)
CWE-918  (opens in a new tab)

How to fix?

Upgrade django-ses to version 3.5.0 or higher.

Overview

django-ses is an A Django email backend for Amazon's Simple Email Service

Affected versions of this package are vulnerable to Server-side Request Forgery (SSRF) due to insufficient signature verification in django-ses. Requests to SESEventWebhookView iare signed by AWS and are verified by django_ses, but the verification step allows users to specify arbitrary public certificates on subdomains of amazonaws.com and amazon.com.

Workaround

This vulnerability can be avoided by setting AWS_SNS_EVENT_CERT_TRUSTED_DOMAINS to domains or subdomains entirely in the user's control.

CVSS Scores

version 3.1