b2sdk@1.0.0rc1

Backblaze B2 SDK

  • latest version

    2.13.6

  • latest non vulnerable version

  • first published

    7 years ago

  • latest version published

    10 hours ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the b2sdk package. This does not include vulnerabilities belonging to this package’s dependencies.

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    Fix for free
    VulnerabilityVulnerable Version
    • M
    Information Exposure

    b2sdk is a Backblaze B2 SDK

    Affected versions of this package are vulnerable to Information Exposure. The SqliteAccountInfo saves API keys (and bucket name-to-id mapping) in a local database file ($XDG_CONFIG_HOME/b2/account_info, ~/.b2_account_info or a user-defined path). When first created, the file is world-readable and is later altered to be private to the user. If the directory containing the file is readable by a local attacker then during the brief period between file creation and permission modification, a local attacker can race to open the file and maintain a handle to it. This allows the local attacker to read the contents after the file after the sensitive information has been saved to it.

    Note:

    1. SDK users of the SqliteAccountInfo format are vulnerable while users of the InMemoryAccountInfo format are safe.

    How to fix Information Exposure?

    Upgrade b2sdk to version 1.14.1 or higher.

    [,1.14.1)