CVE-2017-8342: Radicale Remote Code Execution Vulnerability
HIGHCVE-2017-8342 is a HIGH (CVSS 8.1) remote code execution vulnerability (CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')) affecting Radicale libraries in the PyPI ecosystem. The issue involves radicale is vulnerable to timing oracles and simple bruteforce attacks. Remediation is available by upgrading affected packages to version 1.1.2, 2.0.0rc2.
CVE-2017-8342 at a Glance
Security Impact
CVSS: 8.1
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H).
How to Fix CVE-2017-8342
To remediate this vulnerability, upgrade all affected Radicale 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 Radicale>=1.1.2
pip install Radicale>=2.0.0rc2
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show Radicale
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2017-8342, inspect your installed packages using pip:
pip show Radicale
Analyze the terminal output to locate any version of Radicale in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.1.2), your application is affected.
Note: The pip show Radicale command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition'), where the product contains a concurrent code sequence that requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence operating concurrently. In Radicale, 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-8342 Affected Radicale Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
Radicale
|
PyPI |
< 1.1.2
|
1.1.2
|
|
Radicale
|
PyPI |
≥ 2.0.0rc1
< 2.0.0rc2
All 1 versions
2.0.0rc1
|
2.0.0rc2
|
References
Frequently Asked Questions
What is CVE-2017-8342?
Which Radicale versions are affected?
What version fixes CVE-2017-8342?
Is Radicale affected?
What is the CVSS score of CVE-2017-8342?
What CWE is associated with CVE-2017-8342?
How can I check PyPI dependencies for CVE-2017-8342?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-rpv4-63g3-9x23",
"modified" : "2024-10-16T21:22:27Z",
"published" : "2022-05-13T01:27:10Z",
"aliases" : [ "CVE-2017-8342" ],
"summary" : "Radicale is vulnerable to timing oracles and simple bruteforce attacks",
"details" : "Radicale before 1.1.2 and 2.0.0rc1 is prone to timing oracles and simple brute-force attacks when using the htpasswd authentication method.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "Radicale"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.1.2"
} ]
} ]
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "Radicale"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.0.0rc1"
}, {
"fixed" : "2.0.0rc2"
} ]
} ],
"versions" : [ "2.0.0rc1" ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2017-8342"
}, {
"type" : "WEB",
"url" : "https://github.com/Kozea/Radicale/commit/059ba8dec1f22ccbeab837e288b3833a099cee2d"
}, {
"type" : "WEB",
"url" : "https://github.com/Kozea/Radicale/commit/190b1dd795f0c552a4992445a231da760211183b"
}, {
"type" : "WEB",
"url" : "https://bugs.debian.org/861514"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/Kozea/Radicale"
}, {
"type" : "WEB",
"url" : "https://github.com/Kozea/Radicale/blob/1.1.2/NEWS.rst"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/radicale/PYSEC-2017-102.yaml"
}, {
"type" : "WEB",
"url" : "https://lists.debian.org/debian-lts-announce/2020/04/msg00019.html"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-362" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2023-08-04T21:49:50Z",
"nvd_published_at" : "2017-04-30T15:59:00Z"
}
}