PYSEC-2023-82
Vulnerability from pysec - Published: 2023-05-26 21:15 - Updated: 2023-06-06 20:23Django-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.
| Name | purl | django-ses | pkg:pypi/django-ses |
|---|
{
"affected": [
{
"package": {
"ecosystem": "PyPI",
"name": "django-ses",
"purl": "pkg:pypi/django-ses"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "b71b5f413293a13997b6e6314086cb9c22629795"
}
],
"repo": "https://github.com/django-ses/django-ses",
"type": "GIT"
},
{
"events": [
{
"introduced": "0"
},
{
"fixed": "3.5.0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.1",
"0.2",
"0.3.0",
"0.4.0",
"0.4.1",
"0.6.0",
"0.7.0",
"0.7.1",
"0.8.0",
"0.8.1",
"0.8.10",
"0.8.11",
"0.8.12",
"0.8.13",
"0.8.14",
"0.8.2",
"0.8.3",
"0.8.3.1",
"0.8.4",
"0.8.5",
"0.8.6",
"0.8.7",
"0.8.8",
"0.8.9",
"1.0.0",
"1.0.1",
"1.0.2",
"1.0.3",
"2.0.0",
"2.1.0",
"2.1.1",
"2.2.0",
"2.2.1",
"2.2.2",
"2.3.0",
"2.3.1",
"2.4.0",
"2.5.0",
"2.6.0",
"2.6.1",
"3.0.0",
"3.0.1",
"3.1.0",
"3.1.2",
"3.2.0",
"3.2.1",
"3.2.2",
"3.3.0",
"3.4.0",
"3.4.1"
]
}
],
"aliases": [
"CVE-2023-33185",
"GHSA-qg36-9jxh-fj25"
],
"details": "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.",
"id": "PYSEC-2023-82",
"modified": "2023-06-06T20:23:42.892470Z",
"published": "2023-05-26T21:15:00Z",
"references": [
{
"type": "EVIDENCE",
"url": "https://github.com/django-ses/django-ses/blob/3d627067935876487f9938310d5e1fbb249a7778/CVE/001-cert-url-signature-verification.md"
},
{
"type": "WEB",
"url": "https://github.com/django-ses/django-ses/blob/3d627067935876487f9938310d5e1fbb249a7778/CVE/001-cert-url-signature-verification.md"
},
{
"type": "FIX",
"url": "https://github.com/django-ses/django-ses/commit/b71b5f413293a13997b6e6314086cb9c22629795"
},
{
"type": "ADVISORY",
"url": "https://github.com/django-ses/django-ses/security/advisories/GHSA-qg36-9jxh-fj25"
}
]
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.