CVE-2023-33185: Django ses Incorrect Signature Verification Vulnerability
LOWCVE-2023-33185 is a LOW (CVSS 4.6) incorrect signature verification vulnerability (CWE-347: Improper Verification of Cryptographic Signature) affecting Django ses libraries in the PyPI ecosystem. The issue involves incorrect signature verification in django-ses. Remediation is available by upgrading affected packages to version 3.5.0.
CVE-2023-33185 at a Glance
Security Impact
CVSS: 4.6
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:L).
How to Fix CVE-2023-33185
To remediate this vulnerability, upgrade all affected Django ses dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install django-ses>=3.5.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show django-ses
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2023-33185, inspect your installed packages using pip:
pip show django-ses
Analyze the terminal output to locate any version of Django ses in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.5.0), your application is affected.
Note: The pip show django-ses command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-347: Improper Verification of Cryptographic Signature, where the product does not verify, or incorrectly verifies, the cryptographic signature for data. In Django ses, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2023-33185 Affected Django ses Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
django-ses
|
PyPI |
< 3.5.0
|
3.5.0
|
References
Frequently Asked Questions
What is CVE-2023-33185?
Which Django ses versions are affected?
What version fixes CVE-2023-33185?
Is django-ses affected?
What is the CVSS score of CVE-2023-33185?
What CWE is associated with CVE-2023-33185?
How can I check PyPI dependencies for CVE-2023-33185?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-qg36-9jxh-fj25",
"modified" : "2024-11-18T16:26:29Z",
"published" : "2023-05-22T19:41:56Z",
"aliases" : [ "CVE-2023-33185" ],
"summary" : "Incorrect signature verification in django-ses",
"details" : "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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:L"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "django-ses"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "3.5.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/django-ses/django-ses/security/advisories/GHSA-qg36-9jxh-fj25"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-33185"
}, {
"type" : "WEB",
"url" : "https://github.com/django-ses/django-ses/commit/b71b5f413293a13997b6e6314086cb9c22629795"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/django-ses/django-ses"
}, {
"type" : "WEB",
"url" : "https://github.com/django-ses/django-ses/blob/3d627067935876487f9938310d5e1fbb249a7778/CVE/001-cert-url-signature-verification.md"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/django-ses/PYSEC-2023-82.yaml"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-347" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2023-05-22T19:41:56Z",
"nvd_published_at" : "2023-05-26T21:15:20Z"
}
}