Vulnerabilities in pkg:pypi/security_monkey

PACKAGE
Advisory Identifier: GHSA-j6jq-3q8p-xgg6
Advisory Summary

CVE-2017-7266 is a MODERATE (CVSS 6.1) netflix security monkey open redirect vulnerability (CWE-601: URL Redirection to Untrusted Site ('Open Redirect')) affecting Security monkey libraries in the PyPI ecosystem. The issue involves netflix security monkey open redirect vulnerability. Remediation is available by upgrading affected packages to version 0.8.0.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:pypi/security_monkey

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:pypi/security_monkey. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-j6jq-3q8p-xgg6 CVE-2017-7266 MODERATE Netflix Security Monkey Open Redirect vulnerability

CVE-2017-7266 at a Glance

CVE Identifier CVE-2017-7266
GHSA Identifier GHSA-j6jq-3q8p-xgg6
Severity MODERATE
CVSS v3.1 Base Score 6.1
CWE Classification CWE-601: URL Redirection to Untrusted Site ('Open Redirect')
Affected Product Security monkey
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 6.1

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:R/S:C/C:L/I:L/A:N).

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

How to Fix CVE-2017-7266

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

security_monkey fixed: 0.8.0
pip install security_monkey>=0.8.0
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 security_monkey

How to Check if You Are Affected

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

pip show security_monkey

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

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

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-601: URL Redirection to Untrusted Site ('Open Redirect'), where the web application accepts a user-controlled input that specifies a link to an external site, and uses that link in a redirect. In Security monkey, 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

Netflix Security Monkey before 0.8.0 has an Open Redirect. The logout functionality accepted the "next" parameter which then redirects to any domain irrespective of the Host header.

CVE-2017-7266 Affected Security monkey Versions

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

References

Frequently Asked Questions

What is CVE-2017-7266?
CVE-2017-7266 is a security vulnerability in Security monkey involving Netflix Security Monkey Open Redirect vulnerability under CWE-601: URL Redirection to Untrusted Site ('Open Redirect').
Which Security monkey versions are affected?
Affected versions include releases prior to 0.8.0 across affected packages: security_monkey.
What version fixes CVE-2017-7266?
Upgrading to 0.8.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is security_monkey affected?
Yes, security_monkey is affected in releases prior to 0.8.0. Upgrade your dependency to 0.8.0 or later.
What is the CVSS score of CVE-2017-7266?
CVE-2017-7266 has a CVSS v3.1 base score of 6.1 (MODERATE) with vector string CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.
What CWE is associated with CVE-2017-7266?
CVE-2017-7266 is classified under CWE-601: URL Redirection to Untrusted Site ('Open Redirect') (The web application accepts a user-controlled input that specifies a link to an external site, and uses that link in a redirect.).
How can I check PyPI dependencies for CVE-2017-7266?
Run the dependency tree command: 'pip show security_monkey'. 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-j6jq-3q8p-xgg6",
  "modified" : "2024-04-08T19:00:08Z",
  "published" : "2022-05-17T02:53:10Z",
  "aliases" : [ "CVE-2017-7266" ],
  "summary" : "Netflix Security Monkey Open Redirect vulnerability",
  "details" : "Netflix Security Monkey before 0.8.0 has an Open Redirect. The logout functionality accepted the \"next\" parameter which then redirects to any domain irrespective of the Host header.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "security_monkey"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.8.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2017-7266"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/Netflix/security_monkey/pull/482"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/Netflix/security_monkey/commit/3b4da13efabb05970c80f464a50d3c1c12262466"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/Netflix/security_monkey"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/Netflix/security_monkey/releases/tag/v0.8.0"
  }, {
    "type" : "WEB",
    "url" : "https://web.archive.org/web/20201220170714/http://www.securityfocus.com/bid/97088"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-601" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-04-08T19:00:08Z",
    "nvd_published_at" : "2017-03-26T05:59:00Z"
  }
}