search menu icon-carat-right cmu-wordmark

CERT Coordination Center

SSH Communications Secure Shell vulnerable to DoS via malformed BER/DER packet

Vulnerability Note VU#333980

Original Release Date: 2003-10-03 | Last Revised: 2003-10-07

Overview

SSH Communications' Secure Shell contains vulnerabilities in ASN.1 libraries that may allow remote attackers to cause a denial-of-service situation, or potentially execute arbitrary code on the server.

Description

SSH Communications' Secure Shell contains a vulnerability in the decoding of BER/DER encoded packets. According to the SSH Communications Advisory:

BER/DER encoding is applied in digital certificates, which are used for authenticating a user to a host. Certificates are also commonly used for authenticating SSL/TLS connections.

Note that this vulnerability does not affect the non-commercial versions of SSH Secure Shell (Unix), as these versions do not contain the vulnerable ASN.1 related libraries.

This vulnerability may be related to the "Multiple vulnerabilities in SSL/TLS implementations" described in VU#104280.

Impact

A remote unauthenticated attaker may be able to crash the target server, causing a denial of service. Exploitation may also permit the execution of arbitrary code.

Solution

SSH Communications has released version 3.2.9 of SSH Secure Shell to resolve this issue. Please see the SSH Communications' Advisory for more details on upgrading. Likewise, vendors that redistribute versions of this product may provide their own patches or updates.

According to the SSH Communications' Advisory:

Your server is not vulnerable if:

    • You are using password authentication only
    • You use the non-commercial Unix distribution that does not contain the PKI functionality.
    • You allow public key authentication WITHOUT specifying the "Pki" keyword in the server configuration file (sshd2_config).

Vendor Information

333980
 

F-Secure Affected

Updated:  October 07, 2003

Status

Affected

Vendor Statement

Please, see http://www.europe.f-secure.com/support/technical/ssh/ssh2_digital_certificates.shtml

Vendor Information

The vendor has not provided us with any further information regarding this vulnerability.

Addendum

The CERT/CC has no additional comments at this time.

If you have feedback, comments, or additional information about this vulnerability, please send us email.

SSH Communications Security Affected

Updated:  October 03, 2003

Status

Affected

Vendor Statement

We have not received a statement from the vendor.

Vendor Information

The vendor has not provided us with any further information regarding this vulnerability.

Addendum

Please see, http://www.ssh.com/company/newsroom/article/476/.

If you have feedback, comments, or additional information about this vulnerability, please send us email.

Stonesoft Affected

Updated:  October 03, 2003

Status

Affected

Vendor Statement

We have not received a statement from the vendor.

Vendor Information

The vendor has not provided us with any further information regarding this vulnerability.

Addendum

Please see, http://www.stonesoft.com/document/art/3041.html.

If you have feedback, comments, or additional information about this vulnerability, please send us email.

AppGate Network Security AB Not Affected

Updated:  October 03, 2003

Status

Not Affected

Vendor Statement

AppGate is not vulnerable since we do not use any code from SSH Communications.

Vendor Information

The vendor has not provided us with any further information regarding this vulnerability.

Addendum

The CERT/CC has no additional comments at this time.

If you have feedback, comments, or additional information about this vulnerability, please send us email.

Bitvise Not Affected

Updated:  October 03, 2003

Status

Not Affected

Vendor Statement

We have no common codebase with SSH Communications' products, so our products are not affected.

Vendor Information

The vendor has not provided us with any further information regarding this vulnerability.

Addendum

The CERT/CC has no additional comments at this time.

If you have feedback, comments, or additional information about this vulnerability, please send us email.

MacSSH Not Affected

Updated:  October 07, 2003

Status

Not Affected

Vendor Statement

MacSSH being based on lsh is not subject to this vulnerability.

Vendor Information

The vendor has not provided us with any further information regarding this vulnerability.

Addendum

The CERT/CC has no additional comments at this time.

If you have feedback, comments, or additional information about this vulnerability, please send us email.

Riverstone Networks Not Affected

Updated:  October 03, 2003

Status

Not Affected

Vendor Statement

Riverstone Networks routers are not vulnerable to this issue.

Vendor Information

The vendor has not provided us with any further information regarding this vulnerability.

Addendum

The CERT/CC has no additional comments at this time.

If you have feedback, comments, or additional information about this vulnerability, please send us email.


CVSS Metrics

Group Score Vector
Base
Temporal
Environmental

References

Acknowledgements

Thanks to Stonesoft for reporting this vulnerability.

This document was written by Jason A Rafail.

Other Information

CVE IDs: None
Severity Metric: 12.60
Date Public: 2003-10-03
Date First Published: 2003-10-03
Date Last Updated: 2003-10-07 13:45 UTC
Document Revision: 7

Sponsored by CISA.