Skip to content

Password is visible in plaintext as value of an environment variable inside docker container #149

@dejansub

Description

@dejansub

Expected behavior

As a best security practice, no passwords should be kept anywhere on the system in plaintext.

Actual behavior

After creating a docker container per instructions here: https://jamdocs.org/software/installation/#manual-installation I've observed that plaintext password is visible inside docker container as value of APP_PASSWORD environment variable.

I have also verified the same holds true in a docker container on Umbrel.

Steps to reproduce the problem

See above

Specifications

  • Version: 0.3.0

  • Platform: Ubuntu

  • Version: 0.3.0

  • Platform: Umbrel

Additional context

As a general rule, only hash of password should be kept in persistent storage and password verification should be done by hashing input password and comparing it with stored hash.

Additional reading: https://cwe.mitre.org/data/definitions/256.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions