Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linux Security Policy: Ensure that strong Key Exchange algorithms are used does not work on Ubuntu 24.04 #454

Open
tas50 opened this issue Nov 18, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@tas50
Copy link
Member

tas50 commented Nov 18, 2024

Describe the bug

This is a openssh 9.6 system.

cnquery run -c "package('openssh-server').version"
→ no provider specified, defaulting to local. Use --help to see all providers.
→ loaded configuration from /root/.config/mondoo/mondoo.yml using source default
package.version: "1:9.6p1-3ubuntu13.5"

Our remediation steps have the user add these on 8.6+

KexAlgorithms [email protected],[email protected],diffie-hellman-group18-sha512

With these KexAlgorithms set things still fail:

[failed] sshd.config.kexs != empty
sshd.config.kexs.containsOnly(props.mondooLinuxSecurityKexAlgos)

  [ok] value: [
    0: "[email protected]"
    1: "[email protected]"
    2: "diffie-hellman-group18-sha512"
  ]
  [failed] [].containsOnly()
    expected: == _
    actual:   [
      0: "[email protected]"
      1: "diffie-hellman-group18-sha512"
    ]

@chris-rock chris-rock added the bug Something isn't working label Nov 19, 2024
@mm-weber mm-weber self-assigned this Nov 21, 2024
@mm-weber
Copy link
Contributor

Image

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants