CVE-2015-8748: Radicale Radicale Regex Metacharacters Injection Vulnerability

MODERATE
Advisory Identifier: GHSA-6w8c-6jrg-qwj2
CVSS 5.3
CWE-74
Published
Advisory Summary

CVE-2015-8748 is a MODERATE (CVSS 5.3) radicale regex metacharacters injection vulnerability (CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')) affecting Radicale libraries in the PyPI ecosystem. The issue involves radicale regex metacharacters injection in the user name. Remediation is available by upgrading affected packages to version 1.1.

CVE-2015-8748 at a Glance

CVE Identifier CVE-2015-8748
GHSA Identifier GHSA-6w8c-6jrg-qwj2
Severity MODERATE
CVSS v3.1 Base Score 5.3
CWE Classification CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
Affected Product Radicale
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 5.3

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity Low (I:L)
Availability None (A:N)

How to Fix CVE-2015-8748

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.

Radicale fixed: 1.1
pip install Radicale>=1.1
Verify Direct and Transitive Dependencies

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-2015-8748, 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), 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-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection'), where the product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component. 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

Radicale before 1.1 allows remote authenticated users to bypass `owner_write` and `owner_only` limitations via regex metacharacters in the user name, as demonstrated by `.*`.

CVE-2015-8748 Affected Radicale Versions

1 component(s)
Fixed Versions:
1.1
Product / Package Ecosystem Affected Versions Fixed Version
Radicale
PyPI
< 1.1
1.1

References

Frequently Asked Questions

What is CVE-2015-8748?
CVE-2015-8748 is a security vulnerability in Radicale involving Radicale regex metacharacters injection in the user name under CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection').
Which Radicale versions are affected?
Affected versions include releases prior to 1.1 across affected packages: Radicale.
What version fixes CVE-2015-8748?
Upgrading to 1.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is Radicale affected?
Yes, Radicale is affected in releases prior to 1.1. Upgrade your dependency to 1.1 or later.
What is the CVSS score of CVE-2015-8748?
CVE-2015-8748 has a CVSS v3.1 base score of 5.3 (MODERATE) with vector string CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N.
What CWE is associated with CVE-2015-8748?
CVE-2015-8748 is classified under CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') (The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component.).
How can I check PyPI dependencies for CVE-2015-8748?
Run the dependency tree command: 'pip show Radicale'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-6w8c-6jrg-qwj2",
  "modified" : "2024-10-16T20:53:03Z",
  "published" : "2022-05-17T03:29:52Z",
  "aliases" : [ "CVE-2015-8748" ],
  "summary" : "Radicale regex metacharacters injection in the user name",
  "details" : "Radicale before 1.1 allows remote authenticated users to bypass `owner_write` and `owner_only` limitations via regex metacharacters in the user name, as demonstrated by `.*`.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "Radicale"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2015-8748"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/Kozea/Radicale/pull/341"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/Kozea/Radicale/commit/1109973a925970353dfd13c6df8de0e4e446d983"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/Unrud/Radicale/commit/4bfe7c9f7991d534c8b9fbe153af9d341f925f98"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/Kozea/Radicale"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/pypa/advisory-database/tree/main/vulns/radicale/PYSEC-2016-37.yaml"
  }, {
    "type" : "WEB",
    "url" : "https://pypi.org/project/radicale"
  }, {
    "type" : "WEB",
    "url" : "https://web.archive.org/web/20200804235922/http://www.securityfocus.com/bid/80255"
  }, {
    "type" : "WEB",
    "url" : "http://lists.fedoraproject.org/pipermail/package-announce/2016-January/175738.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.fedoraproject.org/pipermail/package-announce/2016-January/175776.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.debian.org/security/2016/dsa-3462"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2016/01/05/7"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2016/01/06/4"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-74" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-04-29T16:29:19Z",
    "nvd_published_at" : "2016-02-03T18:59:00Z"
  }
}