CVE-2017-5537: Weblate Weblate User Account Enumeration Vulnerability
MODERATECVE-2017-5537 is a MODERATE (CVSS 5.3) weblate user account enumeration vulnerability (CWE-209: Generation of Error Message Containing Sensitive Information) affecting Weblate libraries in the PyPI ecosystem. The issue involves weblate user account enumeration via reset password form. Remediation is available by upgrading affected packages to version 2.10.1.
CVE-2017-5537 at a Glance
Security Impact
CVSS: 5.3
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N).
How to Fix CVE-2017-5537
To remediate this vulnerability, upgrade all affected Weblate 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 weblate>=2.10.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show weblate
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2017-5537, inspect your installed packages using pip:
pip show weblate
Analyze the terminal output to locate any version of Weblate in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.10.1), your application is affected.
Note: The pip show weblate command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-209: Generation of Error Message Containing Sensitive Information, where the product generates an error message that includes sensitive information about its environment, users, or associated data. In Weblate, 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-2017-5537 Affected Weblate Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
weblate
|
PyPI |
< 2.10.1
|
2.10.1
|
References
Frequently Asked Questions
What is CVE-2017-5537?
Which Weblate versions are affected?
What version fixes CVE-2017-5537?
Is weblate affected?
What is the CVSS score of CVE-2017-5537?
What CWE is associated with CVE-2017-5537?
How can I check PyPI dependencies for CVE-2017-5537?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-j24g-gm76-j829",
"modified" : "2024-11-19T16:05:15Z",
"published" : "2022-05-17T02:54:32Z",
"aliases" : [ "CVE-2017-5537" ],
"summary" : "Weblate user account enumeration via reset password form",
"details" : "The password reset form in Weblate before 2.10.1 provides different error messages depending on whether the email address is associated with an account, which allows remote attackers to enumerate user accounts via a series of requests.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "weblate"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.10.1"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2017-5537"
}, {
"type" : "WEB",
"url" : "https://github.com/WeblateOrg/weblate/issues/1317"
}, {
"type" : "WEB",
"url" : "https://github.com/WeblateOrg/weblate/commit/abe0d2a29a1d8e896bfe829c8461bf8b391f1079"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/WeblateOrg/weblate"
}, {
"type" : "WEB",
"url" : "https://github.com/WeblateOrg/weblate/blob/weblate-2.10.1/docs/changes.rst"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/weblate/PYSEC-2017-42.yaml"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2017/01/18/11"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2017/01/20/1"
}, {
"type" : "WEB",
"url" : "http://www.securityfocus.com/bid/95676"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-200", "CWE-209" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2023-08-04T21:55:01Z",
"nvd_published_at" : "2017-03-15T15:59:00Z"
}
}