CVE-2017-11610: Supervisor Incorrect Default Permissions Vulnerability

HIGH
Advisory Identifier: GHSA-x7c8-4x3h-874w
CVSS 8.8
CWE-276
Published
Advisory Summary

CVE-2017-11610 is a HIGH (CVSS 8.8) incorrect default permissions vulnerability (CWE-276: Incorrect Default Permissions) affecting Supervisor libraries in the PyPI ecosystem. The issue involves incorrect default permissions in supervisor. Remediation is available by upgrading affected packages to version 3.0.1, 3.1.4, 3.2.4, 3.3.3.

CVE-2017-11610 at a Glance

CVE Identifier CVE-2017-11610
GHSA Identifier GHSA-x7c8-4x3h-874w
Severity HIGH
CVSS v3.1 Base Score 8.8
CWE Classification CWE-276: Incorrect Default Permissions
Affected Product Supervisor
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 8.8

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

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

How to Fix CVE-2017-11610

To remediate this vulnerability, upgrade all affected Supervisor dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

supervisor fixed: 3.0.1
pip install supervisor>=3.0.1
supervisor fixed: 3.1.4
pip install supervisor>=3.1.4
supervisor fixed: 3.2.4
pip install supervisor>=3.2.4
supervisor fixed: 3.3.3
pip install supervisor>=3.3.3
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 supervisor

How to Check if You Are Affected

To determine whether your Python environment is affected by CVE-2017-11610, inspect your installed packages using pip:

pip show supervisor

Analyze the terminal output to locate any version of Supervisor in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.0.1), your application is affected.

Note: The pip show supervisor command checks currently installed packages in your active Python environment.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-276: Incorrect Default Permissions, where during installation, installed file permissions are set to allow anyone to modify those files. In Supervisor, 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

The XML-RPC server in supervisor before 3.0.1, 3.1.x before 3.1.4, 3.2.x before 3.2.4, and 3.3.x before 3.3.3 allows remote authenticated users to execute arbitrary commands via a crafted XML-RPC request, related to nested supervisord namespace lookups.

CVE-2017-11610 Affected Supervisor Versions

4 component(s)
Fixed Versions:
3.0.13.1.43.2.43.3.3
Product / Package Ecosystem Affected Versions Fixed Version
supervisor
PyPI
< 3.0.1
3.0.1
supervisor
PyPI
≥ 3.1.0
< 3.1.4
3.1.4
supervisor
PyPI
≥ 3.2.0
< 3.2.4
3.2.4
supervisor
PyPI
≥ 3.3.0
< 3.3.3
3.3.3

References

NVD — CVE-2017-11610 NVD
https://nvd.nist.gov/vuln/detail/CVE-2017-11610
Supervisor Source Repository REPOSITORY
https://github.com/Supervisor/supervisor/issues/964
access.redhat.com/errata/rhsa-2017:30... WEB
https://access.redhat.com/errata/RHSA-2017:3005
Supervisor Source Repository REPOSITORY
https://github.com/Supervisor/supervisor
Supervisor Source Repository REPOSITORY
https://github.com/Supervisor/supervisor/blob/3.0.1/CHANGES.txt
Supervisor Source Repository REPOSITORY
https://github.com/Supervisor/supervisor/blob/3.1.4/CHANGES.txt
Supervisor Source Repository REPOSITORY
https://github.com/Supervisor/supervisor/blob/3.2.4/CHANGES.txt
Supervisor Source Repository REPOSITORY
https://github.com/Supervisor/supervisor/blob/3.3.3/CHANGES.txt
GitHub Advisory / Wiki ADVISORY
https://github.com/advisories/GHSA-x7c8-4x3h-874w
Supervisor Source Repository REPOSITORY
https://github.com/pypa/advisory-database/tree/main/vulns/supervisor/PYSEC-2017-41.yaml
lists.fedoraproject.org/archives/list/packa... WEB
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4GMSCGMM477N64Z3BM34RWYBGSLK466B
lists.fedoraproject.org/archives/list/packa... WEB
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DTPDZV4ZRICDYAYZVUHSYZAYDLRMG2IM
lists.fedoraproject.org/archives/list/packa... WEB
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/JXGWOJNSWWK2TTWQJZJUP66FLFIWDMBQ
Supervisor Security Information SECURITY
https://security.gentoo.org/glsa/201709-06
www.exploit-db.com/exploits/42779 WEB
https://www.exploit-db.com/exploits/42779
Supervisor Security Information SECURITY
http://www.debian.org/security/2017/dsa-3942

Frequently Asked Questions

What is CVE-2017-11610?
CVE-2017-11610 is a security vulnerability in Supervisor involving Incorrect Default Permissions in Supervisor under CWE-276: Incorrect Default Permissions.
Which Supervisor versions are affected?
Affected versions include releases prior to 3.0.1, 3.1.4, 3.2.4, 3.3.3 across affected packages: supervisor.
What version fixes CVE-2017-11610?
Upgrading to 3.0.1, 3.1.4, 3.2.4, 3.3.3 (or the latest patched release for your respective branch) resolves the vulnerability.
Is supervisor affected?
Yes, supervisor is affected in releases prior to 3.0.1, 3.1.4, 3.2.4, 3.3.3. Upgrade your dependency to 3.0.1, 3.1.4, 3.2.4, 3.3.3 or later.
What is the CVSS score of CVE-2017-11610?
CVE-2017-11610 has a CVSS v3.1 base score of 8.8 (HIGH) with vector string CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
What CWE is associated with CVE-2017-11610?
CVE-2017-11610 is classified under CWE-276: Incorrect Default Permissions (During installation, installed file permissions are set to allow anyone to modify those files.).
How can I check PyPI dependencies for CVE-2017-11610?
Run the dependency tree command: 'pip show supervisor'. 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-x7c8-4x3h-874w",
  "modified" : "2024-10-28T14:26:55Z",
  "published" : "2022-05-13T01:42:26Z",
  "aliases" : [ "CVE-2017-11610" ],
  "summary" : "Incorrect Default Permissions in Supervisor",
  "details" : "The XML-RPC server in supervisor before 3.0.1, 3.1.x before 3.1.4, 3.2.x before 3.2.4, and 3.3.x before 3.3.3 allows remote authenticated users to execute arbitrary commands via a crafted XML-RPC request, related to nested supervisord namespace lookups.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "supervisor"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "3.0.1"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "supervisor"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.1.0"
      }, {
        "fixed" : "3.1.4"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "supervisor"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.2.0"
      }, {
        "fixed" : "3.2.4"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "supervisor"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.3.0"
      }, {
        "fixed" : "3.3.3"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2017-11610"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/Supervisor/supervisor/issues/964"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2017:3005"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/Supervisor/supervisor"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/Supervisor/supervisor/blob/3.0.1/CHANGES.txt"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/Supervisor/supervisor/blob/3.1.4/CHANGES.txt"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/Supervisor/supervisor/blob/3.2.4/CHANGES.txt"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/Supervisor/supervisor/blob/3.3.3/CHANGES.txt"
  }, {
    "type" : "ADVISORY",
    "url" : "https://github.com/advisories/GHSA-x7c8-4x3h-874w"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/pypa/advisory-database/tree/main/vulns/supervisor/PYSEC-2017-41.yaml"
  }, {
    "type" : "WEB",
    "url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4GMSCGMM477N64Z3BM34RWYBGSLK466B"
  }, {
    "type" : "WEB",
    "url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DTPDZV4ZRICDYAYZVUHSYZAYDLRMG2IM"
  }, {
    "type" : "WEB",
    "url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/JXGWOJNSWWK2TTWQJZJUP66FLFIWDMBQ"
  }, {
    "type" : "WEB",
    "url" : "https://security.gentoo.org/glsa/201709-06"
  }, {
    "type" : "WEB",
    "url" : "https://www.exploit-db.com/exploits/42779"
  }, {
    "type" : "WEB",
    "url" : "http://www.debian.org/security/2017/dsa-3942"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-276" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2022-07-01T21:43:13Z",
    "nvd_published_at" : "2017-08-23T14:29:00Z"
  }
}