Search

Find a vulnerability

Search criteria ⓘ Use this form to refine search results.
Full-text search supports keyword queries with ranking and filtering.
You can combine vendor, product, and sources to narrow results.
Enable “Apply ordering” to sort by date instead of relevance.

    11 vulnerabilities found for python-flask by azure linux

    AZL-78251 (CVE-2026-27205)

    Vulnerability from osv_azurelinux – Published: 2026-02-21 06:17 – Updated: 2026-11-24 05:29 – Source website
    VLAI
    Summary
    CVE-2026-27205 affecting package python-flask 1.1.1-4
    Details

    Flask is a web server gateway interface (WSGI) web application framework. In versions 3.1.2 and below, when the session object is accessed, Flask should set the Vary: Cookie header., resulting in a Use of Cache Containing Sensitive Information vulnerability. The logic instructs caches not to cache the response, as it may contain information specific to a logged in user. This is handled in most cases, but some forms of access such as the Python in operator were overlooked. The severity and risk depend on the application being hosted behind a caching proxy that doesn't ignore responses with cookies, not setting a Cache-Control header to mark pages as private or non-cacheable, and accessing the session in a way that only touches keys without reading values or mutating the session. The issue has been fixed in version 3.1.3.

    Upstream
    References
    Impacted products
    Ecosystem Package Version
    Azure Linux:3 python-flask
    pkg:rpm/azure-linux/python-flask
    Affected: ≤ 1.1.1-4 (ecosystem)

    {
      "affected": [
        {
          "package": {
            "ecosystem": "Azure Linux:3",
            "name": "python-flask",
            "purl": "pkg:rpm/azure-linux/python-flask"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "1.1.1-4"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ]
        }
      ],
      "details": "Flask is a web server gateway interface (WSGI) web application framework. In versions 3.1.2 and below, when the session object is accessed, Flask should set the Vary: Cookie header., resulting in a Use of Cache Containing Sensitive Information vulnerability. The logic instructs caches not to cache the response, as it may contain information specific to a logged in user. This is handled in most cases, but some forms of access such as the Python in operator were overlooked. The severity and risk depend on the application being hosted behind a caching proxy that doesn\u0027t ignore responses with cookies, not setting a Cache-Control header to mark pages as private or non-cacheable, and accessing the session in a way that only touches keys without reading values or mutating the session. The issue has been fixed in version 3.1.3.",
      "id": "AZL-78251",
      "modified": "2026-11-24T05:29:10Z",
      "published": "2026-02-21T06:17:00Z",
      "references": [
        {
          "type": "WEB",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-27205"
        }
      ],
      "schema_version": "1.7.4",
      "summary": "CVE-2026-27205 affecting package python-flask 1.1.1-4",
      "upstream": [
        "CVE-2026-27205"
      ]
    }

    AZL-77831 (CVE-2025-47278)

    Vulnerability from osv_azurelinux – Published: 2025-05-13 16:15 – Updated: 2026-11-18 05:27 – Source website
    VLAI
    Summary
    CVE-2025-47278 affecting package python-flask 1.1.1-4
    Details

    Flask is a web server gateway interface (WSGI) web application framework. In Flask 3.1.0, the way fallback key configuration was handled resulted in the last fallback key being used for signing, rather than the current signing key. Signing is provided by the itsdangerous library. A list of keys can be passed, and it expects the last (top) key in the list to be the most recent key, and uses that for signing. Flask was incorrectly constructing that list in reverse, passing the signing key first. Sites that have opted-in to use key rotation by setting SECRET_KEY_FALLBACKS care likely to unexpectedly be signing their sessions with stale keys, and their transition to fresher keys will be impeded. Sessions are still signed, so this would not cause any sort of data integrity loss. Version 3.1.1 contains a patch for the issue.

    Upstream
    References
    Impacted products
    Ecosystem Package Version
    Azure Linux:3 python-flask
    pkg:rpm/azure-linux/python-flask
    Affected: ≤ 1.1.1-4 (ecosystem)

    {
      "affected": [
        {
          "package": {
            "ecosystem": "Azure Linux:3",
            "name": "python-flask",
            "purl": "pkg:rpm/azure-linux/python-flask"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "1.1.1-4"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ]
        }
      ],
      "details": "Flask is a web server gateway interface (WSGI) web application framework. In Flask 3.1.0, the way fallback key configuration was handled resulted in the last fallback key being used for signing, rather than the current signing key. Signing is provided by the `itsdangerous` library. A list of keys can be passed, and it expects the last (top) key in the list to be the most recent key, and uses that for signing. Flask was incorrectly constructing that list in reverse, passing the signing key first. Sites that have opted-in to use key rotation by setting `SECRET_KEY_FALLBACKS` care likely to unexpectedly be signing their sessions with stale keys, and their transition to fresher keys will be impeded. Sessions are still signed, so this would not cause any sort of data integrity loss. Version 3.1.1 contains a patch for the issue.",
      "id": "AZL-77831",
      "modified": "2026-11-18T05:27:31Z",
      "published": "2025-05-13T16:15:32Z",
      "references": [
        {
          "type": "WEB",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-47278"
        }
      ],
      "schema_version": "1.7.4",
      "summary": "CVE-2025-47278 affecting package python-flask 1.1.1-4",
      "upstream": [
        "CVE-2025-47278"
      ]
    }

    AZL-77828 (CVE-2025-47278)

    Vulnerability from osv_azurelinux – Published: 2025-05-13 16:15 – Updated: 2026-03-10 17:37 – Source website
    VLAI
    Summary
    CVE-2025-47278 affecting package python-flask 1.1.1-4
    Details

    Flask is a web server gateway interface (WSGI) web application framework. In Flask 3.1.0, the way fallback key configuration was handled resulted in the last fallback key being used for signing, rather than the current signing key. Signing is provided by the itsdangerous library. A list of keys can be passed, and it expects the last (top) key in the list to be the most recent key, and uses that for signing. Flask was incorrectly constructing that list in reverse, passing the signing key first. Sites that have opted-in to use key rotation by setting SECRET_KEY_FALLBACKS care likely to unexpectedly be signing their sessions with stale keys, and their transition to fresher keys will be impeded. Sessions are still signed, so this would not cause any sort of data integrity loss. Version 3.1.1 contains a patch for the issue.

    Upstream
    References
    Impacted products
    Ecosystem Package Version
    Azure Linux:2 python-flask
    pkg:rpm/azure-linux/python-flask
    Affected: ≤ 1.1.1-4 (ecosystem)

    {
      "affected": [
        {
          "package": {
            "ecosystem": "Azure Linux:2",
            "name": "python-flask",
            "purl": "pkg:rpm/azure-linux/python-flask"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "1.1.1-4"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ]
        }
      ],
      "details": "Flask is a web server gateway interface (WSGI) web application framework. In Flask 3.1.0, the way fallback key configuration was handled resulted in the last fallback key being used for signing, rather than the current signing key. Signing is provided by the `itsdangerous` library. A list of keys can be passed, and it expects the last (top) key in the list to be the most recent key, and uses that for signing. Flask was incorrectly constructing that list in reverse, passing the signing key first. Sites that have opted-in to use key rotation by setting `SECRET_KEY_FALLBACKS` care likely to unexpectedly be signing their sessions with stale keys, and their transition to fresher keys will be impeded. Sessions are still signed, so this would not cause any sort of data integrity loss. Version 3.1.1 contains a patch for the issue.",
      "id": "AZL-77828",
      "modified": "2026-03-10T17:37:14Z",
      "published": "2025-05-13T16:15:32Z",
      "references": [
        {
          "type": "WEB",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-47278"
        }
      ],
      "schema_version": "1.7.4",
      "summary": "CVE-2025-47278 affecting package python-flask 1.1.1-4",
      "upstream": [
        "CVE-2025-47278"
      ]
    }

    AZL-112333 (CVE-2025-0750)

    Vulnerability from osv_azurelinux – Published: 2025-01-28 10:15 – Updated: 2026-11-18 05:27 – Source website
    VLAI
    Summary
    CVE-2025-0750 affecting package python-flask 1.1.1-4
    Details

    A vulnerability was found in CRI-O. A path traversal issue in the log management functions (UnMountPodLogs and LinkContainerLogs) may allow an attacker with permissions to create and delete Pods to unmount arbitrary host paths, leading to node-level denial of service by unmounting critical system directories.

    Upstream
    References
    Impacted products
    Ecosystem Package Version
    Azure Linux:3 python-flask
    pkg:rpm/azure-linux/python-flask
    Affected: ≤ 1.1.1-4 (ecosystem)

    {
      "affected": [
        {
          "package": {
            "ecosystem": "Azure Linux:3",
            "name": "python-flask",
            "purl": "pkg:rpm/azure-linux/python-flask"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "1.1.1-4"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ]
        }
      ],
      "details": "A vulnerability was found in CRI-O. A path traversal issue in the log management functions (UnMountPodLogs and LinkContainerLogs) may allow an attacker with permissions to create and delete Pods to unmount arbitrary host paths, leading to node-level denial of service by unmounting critical system directories.",
      "id": "AZL-112333",
      "modified": "2026-11-18T05:27:31Z",
      "published": "2025-01-28T10:15:09Z",
      "references": [
        {
          "type": "WEB",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-0750"
        }
      ],
      "schema_version": "1.7.4",
      "summary": "CVE-2025-0750 affecting package python-flask 1.1.1-4",
      "upstream": [
        "CVE-2025-0750"
      ]
    }

    AZL-112321 (CVE-2024-11218)

    Vulnerability from osv_azurelinux – Published: 2025-01-22 05:15 – Updated: 2026-11-18 05:27 – Source website
    VLAI
    Summary
    CVE-2024-11218 affecting package python-flask 1.1.1-4
    Details

    A vulnerability was found in podman build and buildah. This issue occurs in a container breakout by using --jobs=2 and a race condition when building a malicious Containerfile. SELinux might mitigate it, but even with SELinux on, it still allows the enumeration of files and directories on the host.

    Upstream
    References
    Impacted products
    Ecosystem Package Version
    Azure Linux:3 python-flask
    pkg:rpm/azure-linux/python-flask
    Affected: ≤ 1.1.1-4 (ecosystem)

    {
      "affected": [
        {
          "package": {
            "ecosystem": "Azure Linux:3",
            "name": "python-flask",
            "purl": "pkg:rpm/azure-linux/python-flask"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "1.1.1-4"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ]
        }
      ],
      "details": "A vulnerability was found in `podman build` and `buildah.` This issue occurs in a container breakout by using --jobs=2 and a race condition when building a malicious Containerfile. SELinux might mitigate it, but even with SELinux on, it still allows the enumeration of files and directories on the host.",
      "id": "AZL-112321",
      "modified": "2026-11-18T05:27:31Z",
      "published": "2025-01-22T05:15:08Z",
      "references": [
        {
          "type": "WEB",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-11218"
        }
      ],
      "schema_version": "1.7.4",
      "summary": "CVE-2024-11218 affecting package python-flask 1.1.1-4",
      "upstream": [
        "CVE-2024-11218"
      ]
    }

    AZL-112330 (CVE-2024-9676)

    Vulnerability from osv_azurelinux – Published: 2024-10-15 16:15 – Updated: 2026-11-18 05:27 – Source website
    VLAI
    Summary
    CVE-2024-9676 affecting package python-flask 1.1.1-4
    Details

    A vulnerability was found in Podman, Buildah, and CRI-O. A symlink traversal vulnerability in the containers/storage library can cause Podman, Buildah, and CRI-O to hang and result in a denial of service via OOM kill when running a malicious image using an automatically assigned user namespace (--userns=auto in Podman and Buildah). The containers/storage library will read /etc/passwd inside the container, but does not properly validate if that file is a symlink, which can be used to cause the library to read an arbitrary file on the host.

    Upstream
    References
    Impacted products
    Ecosystem Package Version
    Azure Linux:3 python-flask
    pkg:rpm/azure-linux/python-flask
    Affected: ≤ 1.1.1-4 (ecosystem)

    {
      "affected": [
        {
          "package": {
            "ecosystem": "Azure Linux:3",
            "name": "python-flask",
            "purl": "pkg:rpm/azure-linux/python-flask"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "1.1.1-4"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ]
        }
      ],
      "details": "A vulnerability was found in Podman, Buildah, and CRI-O. A symlink traversal vulnerability in the containers/storage library can cause Podman, Buildah, and CRI-O to hang and result in a denial of service via OOM kill when running a malicious image using an automatically assigned user namespace (`--userns=auto` in Podman and Buildah). The containers/storage library will read /etc/passwd inside the container, but does not properly validate if that file is a symlink, which can be used to cause the library to read an arbitrary file on the host.",
      "id": "AZL-112330",
      "modified": "2026-11-18T05:27:31Z",
      "published": "2024-10-15T16:15:06Z",
      "references": [
        {
          "type": "WEB",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-9676"
        }
      ],
      "schema_version": "1.7.4",
      "severity": [
        {
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
          "type": "CVSS_V3"
        }
      ],
      "summary": "CVE-2024-9676 affecting package python-flask 1.1.1-4",
      "upstream": [
        "CVE-2024-9676"
      ]
    }

    AZL-112327 (CVE-2024-9675)

    Vulnerability from osv_azurelinux – Published: 2024-10-09 15:15 – Updated: 2026-11-18 05:27 – Source website
    VLAI
    Summary
    CVE-2024-9675 affecting package python-flask 1.1.1-4
    Details

    A vulnerability was found in Buildah. Cache mounts do not properly validate that user-specified paths for the cache are within our cache directory, allowing a RUN instruction in a Container file to mount an arbitrary directory from the host (read/write) into the container as long as those files can be accessed by the user running Buildah.

    Upstream
    References
    Impacted products
    Ecosystem Package Version
    Azure Linux:3 python-flask
    pkg:rpm/azure-linux/python-flask
    Affected: ≤ 1.1.1-4 (ecosystem)

    {
      "affected": [
        {
          "package": {
            "ecosystem": "Azure Linux:3",
            "name": "python-flask",
            "purl": "pkg:rpm/azure-linux/python-flask"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "1.1.1-4"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ]
        }
      ],
      "details": "A vulnerability was found in Buildah. Cache mounts do not properly validate that user-specified paths for the cache are within our cache directory, allowing a `RUN` instruction in a Container file to mount an arbitrary directory from the host (read/write) into the container as long as those files can be accessed by the user running Buildah.",
      "id": "AZL-112327",
      "modified": "2026-11-18T05:27:31Z",
      "published": "2024-10-09T15:15:17Z",
      "references": [
        {
          "type": "WEB",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-9675"
        }
      ],
      "schema_version": "1.7.4",
      "severity": [
        {
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
          "type": "CVSS_V3"
        }
      ],
      "summary": "CVE-2024-9675 affecting package python-flask 1.1.1-4",
      "upstream": [
        "CVE-2024-9675"
      ]
    }

    AZL-112324 (CVE-2024-9341)

    Vulnerability from osv_azurelinux – Published: 2024-10-01 19:15 – Updated: 2026-11-18 05:27 – Source website
    VLAI
    Summary
    CVE-2024-9341 affecting package python-flask 1.1.1-4
    Details

    A flaw was found in Go. When FIPS mode is enabled on a system, container runtimes may incorrectly handle certain file paths due to improper validation in the containers/common Go library. This flaw allows an attacker to exploit symbolic links and trick the system into mounting sensitive host directories inside a container. This issue also allows attackers to access critical host files, bypassing the intended isolation between containers and the host system.

    Upstream
    References
    Impacted products
    Ecosystem Package Version
    Azure Linux:3 python-flask
    pkg:rpm/azure-linux/python-flask
    Affected: ≤ 1.1.1-4 (ecosystem)

    {
      "affected": [
        {
          "package": {
            "ecosystem": "Azure Linux:3",
            "name": "python-flask",
            "purl": "pkg:rpm/azure-linux/python-flask"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "1.1.1-4"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ]
        }
      ],
      "details": "A flaw was found in Go. When FIPS mode is enabled on a system, container runtimes may incorrectly handle certain file paths due to improper validation in the containers/common Go library. This flaw allows an attacker to exploit symbolic links and trick the system into mounting sensitive host directories inside a container. This issue also allows attackers to access critical host files, bypassing the intended isolation between containers and the host system.",
      "id": "AZL-112324",
      "modified": "2026-11-18T05:27:31Z",
      "published": "2024-10-01T19:15:09Z",
      "references": [
        {
          "type": "WEB",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-9341"
        }
      ],
      "schema_version": "1.7.4",
      "severity": [
        {
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N",
          "type": "CVSS_V3"
        }
      ],
      "summary": "CVE-2024-9341 affecting package python-flask 1.1.1-4",
      "upstream": [
        "CVE-2024-9341"
      ]
    }

    AZL-44718 (CVE-2023-30861)

    Vulnerability from osv_azurelinux – Published: 2023-05-02 18:15 – Updated: 2026-11-18 05:27 – Source website
    VLAI
    Summary
    CVE-2023-30861 affecting package python-flask 1.1.1-4
    Details

    Flask is a lightweight WSGI web application framework. When all of the following conditions are met, a response containing data intended for one client may be cached and subsequently sent by the proxy to other clients. If the proxy also caches Set-Cookie headers, it may send one client's session cookie to other clients. The severity depends on the application's use of the session and the proxy's behavior regarding cookies. The risk depends on all these conditions being met.

    1. The application must be hosted behind a caching proxy that does not strip cookies or ignore responses with cookies.
    2. The application sets session.permanent = True
    3. The application does not access or modify the session at any point during a request.
    4. SESSION_REFRESH_EACH_REQUEST enabled (the default).
    5. The application does not set a Cache-Control header to indicate that a page is private or should not be cached.

    This happens because vulnerable versions of Flask only set the Vary: Cookie header when the session is accessed or modified, not when it is refreshed (re-sent to update the expiration) without being accessed or modified. This issue has been fixed in versions 2.3.2 and 2.2.5.

    Upstream
    References
    Impacted products
    Ecosystem Package Version
    Azure Linux:3 python-flask
    pkg:rpm/azure-linux/python-flask
    Affected: ≤ 1.1.1-4 (ecosystem)

    {
      "affected": [
        {
          "package": {
            "ecosystem": "Azure Linux:3",
            "name": "python-flask",
            "purl": "pkg:rpm/azure-linux/python-flask"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "1.1.1-4"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ]
        }
      ],
      "details": "Flask is a lightweight WSGI web application framework. When all of the following conditions are met, a response containing data intended for one client may be cached and subsequently sent by the proxy to other clients. If the proxy also caches `Set-Cookie` headers, it may send one client\u0027s `session` cookie to other clients. The severity depends on the application\u0027s use of the session and the proxy\u0027s behavior regarding cookies. The risk depends on all these conditions being met.\n\n1. The application must be hosted behind a caching proxy that does not strip cookies or ignore responses with cookies.\n2. The application sets `session.permanent = True`\n3. The application does not access or modify the session at any point during a request.\n4. `SESSION_REFRESH_EACH_REQUEST` enabled (the default).\n5. The application does not set a `Cache-Control` header to indicate that a page is private or should not be cached.\n\nThis happens because vulnerable versions of Flask only set the `Vary: Cookie` header when the session is accessed or modified, not when it is refreshed (re-sent to update the expiration) without being accessed or modified. This issue has been fixed in versions 2.3.2 and 2.2.5.",
      "id": "AZL-44718",
      "modified": "2026-11-18T05:27:31Z",
      "published": "2023-05-02T18:15:52Z",
      "references": [
        {
          "type": "WEB",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-30861"
        }
      ],
      "schema_version": "1.7.4",
      "severity": [
        {
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
          "type": "CVSS_V3"
        }
      ],
      "summary": "CVE-2023-30861 affecting package python-flask 1.1.1-4",
      "upstream": [
        "CVE-2023-30861"
      ]
    }

    AZL-43798 (CVE-2023-30861)

    Vulnerability from osv_azurelinux – Published: 2023-05-02 18:15 – Updated: 2026-03-10 17:37 – Source website
    VLAI
    Summary
    CVE-2023-30861 affecting package python-flask 1.1.1-4
    Details

    Flask is a lightweight WSGI web application framework. When all of the following conditions are met, a response containing data intended for one client may be cached and subsequently sent by the proxy to other clients. If the proxy also caches Set-Cookie headers, it may send one client's session cookie to other clients. The severity depends on the application's use of the session and the proxy's behavior regarding cookies. The risk depends on all these conditions being met.

    1. The application must be hosted behind a caching proxy that does not strip cookies or ignore responses with cookies.
    2. The application sets session.permanent = True
    3. The application does not access or modify the session at any point during a request.
    4. SESSION_REFRESH_EACH_REQUEST enabled (the default).
    5. The application does not set a Cache-Control header to indicate that a page is private or should not be cached.

    This happens because vulnerable versions of Flask only set the Vary: Cookie header when the session is accessed or modified, not when it is refreshed (re-sent to update the expiration) without being accessed or modified. This issue has been fixed in versions 2.3.2 and 2.2.5.

    Upstream
    References
    Impacted products
    Ecosystem Package Version
    Azure Linux:2 python-flask
    pkg:rpm/azure-linux/python-flask
    Affected: ≤ 1.1.1-4 (ecosystem)

    {
      "affected": [
        {
          "package": {
            "ecosystem": "Azure Linux:2",
            "name": "python-flask",
            "purl": "pkg:rpm/azure-linux/python-flask"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "1.1.1-4"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ]
        }
      ],
      "details": "Flask is a lightweight WSGI web application framework. When all of the following conditions are met, a response containing data intended for one client may be cached and subsequently sent by the proxy to other clients. If the proxy also caches `Set-Cookie` headers, it may send one client\u0027s `session` cookie to other clients. The severity depends on the application\u0027s use of the session and the proxy\u0027s behavior regarding cookies. The risk depends on all these conditions being met.\n\n1. The application must be hosted behind a caching proxy that does not strip cookies or ignore responses with cookies.\n2. The application sets `session.permanent = True`\n3. The application does not access or modify the session at any point during a request.\n4. `SESSION_REFRESH_EACH_REQUEST` enabled (the default).\n5. The application does not set a `Cache-Control` header to indicate that a page is private or should not be cached.\n\nThis happens because vulnerable versions of Flask only set the `Vary: Cookie` header when the session is accessed or modified, not when it is refreshed (re-sent to update the expiration) without being accessed or modified. This issue has been fixed in versions 2.3.2 and 2.2.5.",
      "id": "AZL-43798",
      "modified": "2026-03-10T17:37:14Z",
      "published": "2023-05-02T18:15:52Z",
      "references": [
        {
          "type": "WEB",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-30861"
        }
      ],
      "schema_version": "1.7.4",
      "severity": [
        {
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
          "type": "CVSS_V3"
        }
      ],
      "summary": "CVE-2023-30861 affecting package python-flask 1.1.1-4",
      "upstream": [
        "CVE-2023-30861"
      ]
    }

    AZL-109496 (CVE-2022-31571)

    Vulnerability from osv_azurelinux – Published: 2022-07-11 01:15 – Updated: 2026-11-18 05:27 – Source website
    VLAI
    Summary
    CVE-2022-31571 affecting package python-flask 1.1.1-4
    Details

    The akashtalole/python-flask-restful-api repository through 2019-09-16 on GitHub allows absolute path traversal because the Flask send_file function is used unsafely.

    Upstream
    References
    Impacted products
    Ecosystem Package Version
    Azure Linux:3 python-flask
    pkg:rpm/azure-linux/python-flask
    Affected: ≤ 1.1.1-4 (ecosystem)

    {
      "affected": [
        {
          "package": {
            "ecosystem": "Azure Linux:3",
            "name": "python-flask",
            "purl": "pkg:rpm/azure-linux/python-flask"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "1.1.1-4"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ]
        }
      ],
      "details": "The akashtalole/python-flask-restful-api repository through 2019-09-16 on GitHub allows absolute path traversal because the Flask send_file function is used unsafely.",
      "id": "AZL-109496",
      "modified": "2026-11-18T05:27:31Z",
      "published": "2022-07-11T01:15:10Z",
      "references": [
        {
          "type": "WEB",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-31571"
        }
      ],
      "schema_version": "1.7.4",
      "severity": [
        {
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:L",
          "type": "CVSS_V3"
        }
      ],
      "summary": "CVE-2022-31571 affecting package python-flask 1.1.1-4",
      "upstream": [
        "CVE-2022-31571"
      ]
    }