Skip to content

When requirepass is set any Password could be used and will be accepted #3141

@spastorclovr

Description

@spastorclovr

Is this a regression?

Yes

Description

It seems very similar to 👇

#3113

I can see that this patch is not available in the 4.0 branch.

Could you guys merge it there also and have it available in the corresponding Docker image?

🙏 thx!

Please provide a link to a minimal reproduction of the bug

No response

Screenshots or videos

  • Set requirepass to "password"
  • Connect using rediscli- h -p password
    -> it will work
  • Connect using rediscli- h (aka no password provided)
  • -> any command will trigger ' ERR NOAUTH Authentication required'
  • Connect using rediscli- h -p anotherpassword
    -> It will work, and you can run any command as if your password was correct.

Please provide the version you discovered this bug in (check about page for version information)

version : 4.0.2

Anything else?

No response

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