CVE-2018-1000089: Django anymail Django-anymail Includes Sensitive Information Vulnerability
CRITICALCVE-2018-1000089 is a CRITICAL (CVSS 7.4) django-anymail includes sensitive information vulnerability (CWE-532: Insertion of Sensitive Information into Log File) affecting Django anymail libraries in the PyPI ecosystem. The issue involves django-anymail includes sensitive information in log files. Remediation is available by upgrading affected packages to version 1.4.
CVE-2018-1000089 at a Glance
Security Impact
CVSS: 7.4
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N).
How to Fix CVE-2018-1000089
To remediate this vulnerability, upgrade all affected Django anymail 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-anymail>=1.4
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show django-anymail
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2018-1000089, inspect your installed packages using pip:
pip show django-anymail
Analyze the terminal output to locate any version of Django anymail in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.4), your application is affected.
Note: The pip show django-anymail command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-532: Insertion of Sensitive Information into Log File, where the product writes sensitive information to a log file. In Django anymail, 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-2018-1000089 Affected Django anymail Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
django-anymail
|
PyPI |
≥ 0.2
< 1.4
|
1.4
|
References
Frequently Asked Questions
What is CVE-2018-1000089?
Which Django anymail versions are affected?
What version fixes CVE-2018-1000089?
Is django-anymail affected?
What is the CVSS score of CVE-2018-1000089?
What CWE is associated with CVE-2018-1000089?
How can I check PyPI dependencies for CVE-2018-1000089?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-qh9x-mc42-vg4g",
"modified" : "2024-11-18T16:26:21Z",
"published" : "2022-05-14T03:32:28Z",
"aliases" : [ "CVE-2018-1000089" ],
"summary" : "django-anymail Includes Sensitive Information in Log Files",
"details" : "Anymail django-anymail version version 0.2 through 1.3 contains a CWE-532, CWE-209 vulnerability in WEBHOOK_AUTHORIZATION setting value that can result in An attacker with access to error logs could fabricate email tracking events. This attack appear to be exploitable via If you have exposed your Django error reports, an attacker could discover your ANYMAIL_WEBHOOK setting and use this to post fabricated or malicious Anymail tracking/inbound events to your app. This vulnerability appears to have been fixed in v1.4.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "django-anymail"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.2"
}, {
"fixed" : "1.4"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2018-1000089"
}, {
"type" : "WEB",
"url" : "https://github.com/anymail/django-anymail/commit/1a6086f2b58478d71f89bf27eb034ed81aefe5ef"
}, {
"type" : "ADVISORY",
"url" : "https://github.com/advisories/GHSA-qh9x-mc42-vg4g"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/anymail/django-anymail"
}, {
"type" : "WEB",
"url" : "https://github.com/anymail/django-anymail/releases/tag/v1.4"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/django-anymail/PYSEC-2018-46.yaml"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-532" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2022-07-27T21:33:52Z",
"nvd_published_at" : "2018-03-13T15:29:00Z"
}
}