WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: openssh 9.6.p1 to mitigate CVE-2023-48795 - Terrapin attack  (Read 598 times)

Offline ovacikar

  • Newbie
  • *
  • Posts: 30
openssh 9.6.p1 to mitigate CVE-2023-48795 - Terrapin attack
« on: February 08, 2024, 11:44:31 AM »
Hello,

Current openssh 9.5p1 appear vulnerable to  CVE-2023-48795, I was able to compile openssh 9.6.p1 using the same instructions (except using newest openssl-dev

http://tinycorelinux.net/11.x/x86/tcz/src/openssh/compile_openssh

Should I start preparing a submission, or the original maintainer (juanito) can rather do it?

Offline patrikg

  • Wiki Author
  • Hero Member
  • *****
  • Posts: 674
Re: openssh 9.6.p1 to mitigate CVE-2023-48795 - Terrapin attack
« Reply #1 on: February 08, 2024, 11:47:36 AM »
Why not offload juanito, and submit a extension, he is doing a lot.

Offline ovacikar

  • Newbie
  • *
  • Posts: 30
Re: openssh 9.6.p1 to mitigate CVE-2023-48795 - Terrapin attack
« Reply #2 on: February 08, 2024, 11:52:19 AM »
Well I found out the install did not provide the etc/init.d/openssh script. I can run it from bootlocal.sh using existing keys.

So will need to revisit building a tcz.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11243
Re: openssh 9.6.p1 to mitigate CVE-2023-48795 - Terrapin attack
« Reply #3 on: February 08, 2024, 12:04:18 PM »
Hi patrikg
That's up to Juanito to decide, not you.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14567
Re: openssh 9.6.p1 to mitigate CVE-2023-48795 - Terrapin attack
« Reply #4 on: February 08, 2024, 02:56:41 PM »
I’m happy to do it, but it’ll be in a couple of weeks time..

Offline ovacikar

  • Newbie
  • *
  • Posts: 30
Re: openssh 9.6.p1 to mitigate CVE-2023-48795 - Terrapin attack
« Reply #5 on: February 08, 2024, 06:27:12 PM »
Was able to fix this with sshd_config update https://terrapin-attack.com/#question-answer

Code: [Select]
ciphers aes256-gcm@openssh.com
before:
Code: [Select]
Remote Banner: SSH-2.0-OpenSSH_9.3

ChaCha20-Poly1305 support:   true
CBC-EtM support:             false

Strict key exchange support: false

The scanned peer is VULNERABLE to Terrapin.
after:
Code: [Select]
Remote Banner: SSH-2.0-OpenSSH_9.3

ChaCha20-Poly1305 support:   false
CBC-EtM support:             false

Strict key exchange support: false

The scanned peer supports Terrapin mitigations and can establish
connections that are NOT VULNERABLE to Terrapin. Glad to see this.
For strict key exchange to take effect, both peers must support it.