CVE-2023-45809: Wagtail Wagtail Vulnerable To Disclosure Of Vulnerability
LOWCVE-2023-45809 is a LOW (CVSS 2.7) wagtail vulnerable to disclosure of vulnerability (CWE-532: Insertion of Sensitive Information into Log File) affecting Wagtail libraries in the PyPI ecosystem. The issue involves wagtail vulnerable to disclosure of user names via admin bulk action views. Remediation is available by upgrading affected packages to version 4.1.9, 5.0.5, 5.1.3.
CVE-2023-45809 at a Glance
Security Impact
CVSS: 2.7
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N).
How to Fix CVE-2023-45809
To remediate this vulnerability, upgrade all affected Wagtail 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 wagtail>=4.1.9
pip install wagtail>=5.0.5
pip install wagtail>=5.1.3
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show wagtail
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2023-45809, inspect your installed packages using pip:
pip show wagtail
Analyze the terminal output to locate any version of Wagtail in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.1.9), your application is affected.
Note: The pip show wagtail 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 Wagtail, 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-45809 Affected Wagtail Versions
3 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
wagtail
|
PyPI |
< 4.1.9
|
4.1.9
|
|
wagtail
|
PyPI |
≥ 4.2.0
< 5.0.5
|
5.0.5
|
|
wagtail
|
PyPI |
≥ 5.1.0
< 5.1.3
|
5.1.3
|
References
Frequently Asked Questions
What is CVE-2023-45809?
Which Wagtail versions are affected?
What version fixes CVE-2023-45809?
Is wagtail affected?
What is the CVSS score of CVE-2023-45809?
What CWE is associated with CVE-2023-45809?
How can I check PyPI dependencies for CVE-2023-45809?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-fc75-58r8-rm3h",
"modified" : "2023-10-19T15:50:58Z",
"published" : "2023-10-19T15:50:58Z",
"aliases" : [ "CVE-2023-45809" ],
"summary" : "Wagtail vulnerable to disclosure of user names via admin bulk action views",
"details" : "### Impact\n\nA user with a limited-permission editor account for the Wagtail admin can make a direct URL request to the admin view that handles bulk actions on user accounts. While authentication rules prevent the user from making any changes, the error message discloses the display names of user accounts, and by modifying URL parameters, the user can retrieve the display name for any user. The vulnerability is not exploitable by an ordinary site visitor without access to the Wagtail admin.\n\n### Patches\nPatched versions have been released as Wagtail 4.1.9 (LTS), 5.0.5 and 5.1.3. The fix is also included in Release Candidate 1 of the forthcoming Wagtail 5.2 release.\n\n### Workarounds\nNone.\n\n### Acknowledgements\nMany thanks to @quyenheu for reporting this issue.\n\n### For more information\nIf you have any questions or comments about this advisory:\n\n* Visit Wagtail's [support channels](https://docs.wagtail.io/en/stable/support.html)\n* Email us at [security@wagtail.org](mailto:security@wagtail.org) (view our [security policy](https://github.com/wagtail/wagtail/security/policy) for more information).",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "wagtail"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "4.1.9"
} ]
} ]
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "wagtail"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.2.0"
}, {
"fixed" : "5.0.5"
} ]
} ]
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "wagtail"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "5.1.0"
}, {
"fixed" : "5.1.3"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/wagtail/wagtail/security/advisories/GHSA-fc75-58r8-rm3h"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-45809"
}, {
"type" : "WEB",
"url" : "https://github.com/wagtail/wagtail/commit/0bacd29473107d9d7f5b723a15a683449679756d"
}, {
"type" : "WEB",
"url" : "https://github.com/wagtail/wagtail/commit/2231f462c75dfe84307fb40577e8c2109a23b27e"
}, {
"type" : "WEB",
"url" : "https://github.com/wagtail/wagtail/commit/bc96aed6ac53f998b2f4c4bf97e2d4f5fe337e5b"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/wagtail/PYSEC-2023-219.yaml"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/wagtail/wagtail"
}, {
"type" : "WEB",
"url" : "https://github.com/wagtail/wagtail/releases/tag/v4.1.9"
}, {
"type" : "WEB",
"url" : "https://github.com/wagtail/wagtail/releases/tag/v5.0.5"
}, {
"type" : "WEB",
"url" : "https://github.com/wagtail/wagtail/releases/tag/v5.1.3"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-200", "CWE-425", "CWE-532" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2023-10-19T15:50:58Z",
"nvd_published_at" : "2023-10-19T19:15:15Z"
}
}