Sensitive Cookie in HTTPS Session Without "Secure" Attribute Affecting taipy package, versions [0,4.0.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    Exploit Maturity
    Proof of concept
    EPSS
    0.05% (19th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-PYTHON-TAIPY-7840536
  • published 28 Aug 2024
  • disclosed 27 Aug 2024
  • credit mbiesiad

How to fix?

Upgrade taipy to version 4.0.0 or higher.

Overview

taipy is an A 360° open-source platform from Python pilots to production-ready web apps.

Affected versions of this package are vulnerable to Sensitive Cookie in HTTPS Session Without "Secure" Attribute due to the improper setting of security flags on session cookies. An attacker can intercept or tamper with the cookie over insecure connections by exploiting the lack of Secure and HttpOnly flags.

Workaround

It is possible to add Secure and HTTPOnly flags for cookies.

Example:

document.cookie = tprh=${tprh};path=/;Secure;HttpOnly;;

References

CVSS Scores

version 4.0
version 3.1
Expand this section

Snyk

Recommended
6.9 medium
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Attack Requirements (AT)
    None
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Confidentiality (VC)
    Low
  • Integrity (VI)
    Low
  • Availability (VA)
    None
  • Confidentiality (SC)
    None
  • Integrity (SI)
    None
  • Availability (SA)
    None