You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -184,6 +184,7 @@ For convenience, a web front-end on top of the command-line tool is available at
184
184
- In Ubuntu 22.04 client policy, moved host key types `sk-ssh-ed25519@openssh.com` and `ssh-ed25519` to the end of all certificate types.
185
185
- Re-organized option host key types for OpenSSH 9.2 server policy to correspond with updated Debian 12 hardening guide.
186
186
- Dropped support for Python 3.7 (EOL was reached in June 2023).
187
+
- Added test for the Terrapin message prefix truncation vulnerability ([CVE-2023-48795](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-48795)).
187
188
188
189
### v3.0.0 (2023-09-07)
189
190
- Results from concurrent scans against multiple hosts are no longer improperly combined; bug discovered by [Adam Russell](https://github.com/thecliguy).
Copy file name to clipboardExpand all lines: src/ssh_audit/ssh2_kexdb.py
+6-2Lines changed: 6 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -71,6 +71,8 @@ class SSH2_KexDB: # pylint: disable=too-few-public-methods
71
71
INFO_REMOVED_IN_OPENSSH69='removed in OpenSSH 6.9: https://www.openssh.com/txt/release-6.9'
72
72
INFO_REMOVED_IN_OPENSSH70='removed in OpenSSH 7.0: https://www.openssh.com/txt/release-7.0'
73
73
INFO_WITHDRAWN_PQ_ALG='the sntrup4591761 algorithm was withdrawn, as it may not provide strong post-quantum security'
74
+
INFO_EXTENSION_NEGOTIATION='pseudo-algorithm that denotes the peer supports RFC8308 extensions'
75
+
INFO_STRICT_KEX='pseudo-algorithm that denotes the peer supports a stricter key exchange method as a counter-measure to the Terrapin attack (CVE-2023-48795)'
74
76
75
77
# Maintains a dictionary per calling thread that yields its own copy of MASTER_DB. This prevents results from one thread polluting the results of another thread.
# Check for the Terrapin vulnerability (CVE-2023-48795), and mark the vulnerable algorithms.
470
+
ifalgs.ssh2kexisnotNoneand \
471
+
((client_auditand'kex-strict-c-v00@openssh.com'notinalgs.ssh2kex.kex_algorithms) or (notclient_auditand'kex-strict-s-v00@openssh.com'notinalgs.ssh2kex.kex_algorithms)): # Strict KEX marker is not present.
0 commit comments