Vulnerabilities in pkg:pypi/flask-oidc

PACKAGE
Advisory Identifier: GHSA-f9q6-69fh-4w5w
Advisory Summary

CVE-2016-1000001 is a HIGH (CVSS 7.4) flask-oidc open redirect vulnerability vulnerability (CWE-601: URL Redirection to Untrusted Site ('Open Redirect')) affecting Flask oidc libraries in the PyPI ecosystem. The issue involves flask-oidc open redirect vulnerability. Remediation is available by upgrading affected packages to version 1.0.0.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:pypi/flask-oidc

1 Known Advisory Record(s)

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

Advisory ID CVE / NVD Severity Summary
GHSA-f9q6-69fh-4w5w CVE-2016-1000001 HIGH flask-oidc Open Redirect vulnerability

CVE-2016-1000001 at a Glance

CVE Identifier CVE-2016-1000001
GHSA Identifier GHSA-f9q6-69fh-4w5w
Severity HIGH
CVSS v3.1 Base Score 7.4
CWE Classification CWE-601: URL Redirection to Untrusted Site ('Open Redirect')
Affected Product Flask oidc
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 7.4

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:N/I:H/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 None (C:N)
Integrity High (I:H)
Availability None (A:N)

How to Fix CVE-2016-1000001

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

flask-oidc fixed: 1.0.0
pip install flask-oidc>=1.0.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 flask-oidc

How to Check if You Are Affected

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

pip show flask-oidc

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

Note: The pip show flask-oidc 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 Flask oidc, 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

flask-oidc version 0.1.2 and earlier is vulnerable to an open redirect.

CVE-2016-1000001 Affected Flask oidc Versions

1 component(s)
Fixed Versions:
1.0.0
Product / Package Ecosystem Affected Versions Fixed Version
flask-oidc
PyPI
< 1.0.0
1.0.0

References

Frequently Asked Questions

What is CVE-2016-1000001?
CVE-2016-1000001 is a security vulnerability in Flask oidc involving flask-oidc Open Redirect vulnerability under CWE-601: URL Redirection to Untrusted Site ('Open Redirect').
Which Flask oidc versions are affected?
Affected versions include releases prior to 1.0.0 across affected packages: flask-oidc.
What version fixes CVE-2016-1000001?
Upgrading to 1.0.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is flask-oidc affected?
Yes, flask-oidc is affected in releases prior to 1.0.0. Upgrade your dependency to 1.0.0 or later.
What is the CVSS score of CVE-2016-1000001?
CVE-2016-1000001 has a CVSS v3.1 base score of 7.4 (HIGH) with vector string CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N.
What CWE is associated with CVE-2016-1000001?
CVE-2016-1000001 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-2016-1000001?
Run the dependency tree command: 'pip show flask-oidc'. 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-f9q6-69fh-4w5w",
  "modified" : "2024-09-20T20:00:49Z",
  "published" : "2022-05-17T02:58:43Z",
  "aliases" : [ "CVE-2016-1000001" ],
  "summary" : "flask-oidc Open Redirect vulnerability",
  "details" : "flask-oidc version 0.1.2 and earlier is vulnerable to an open redirect.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:H/VA:N/SC:N/SI:H/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "flask-oidc"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.0.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2016-1000001"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/puiterwijk/flask-oidc/commit/f2ef8b4ffa445be00f6602e446e60916f4ee4d30"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/puiterwijk/flask-oidc"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/puiterwijk/flask-oidc/blob/master/flask_oidc/__init__.py#L293"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/pypa/advisory-database/tree/main/vulns/flask-oidc/PYSEC-2016-25.yaml"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-601" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-04-29T16:50:15Z",
    "nvd_published_at" : "2016-10-07T18:59:00Z"
  }
}