CVE-2023-3603: Processing sftp server read may cause null dereference

Published Jul 10, 2023
·
Updated

A missing allocation check in sftp server processing read requests may cause a NULL dereference on low-memory conditions. The malicious client can request up to 4GB SFTP reads, causing allocation of up to 4GB buffers, which was not being checked for failure. This will likely crash the authenticated user's sftp server connection (if implemented as forking as recommended). For thread-based servers, this might also cause DoS for legitimate users. Given this code is not in any released versions, no security releases have been issued.

Other sources

Given this code is not in any released versions, no security release has been issued.

Missing allocation check in sftp server processing read requests may cause NULL dereference on low-memory conditions. The malicious client can request up to 4GB SFTP reads, causing allocation of up to 4GB buffers, which is being unchecked for failure.

This will likely crash the authenticated user sftp server's connection (if implemented as forking as we recommend). For thread-based servers, this might cause DoS also for legitimate users.

Red Hat

Affected Software

2 affected components
libssh libssh<0.8.9
libssh libssh

Event History

Jul 10, 2023
Data Sourced
via Red Hat·06:40 PM
DescriptionSeverityAffected Software
Jul 21, 2023
CVE Published
via MITRE·07:09 PM
Data Sourced
via MITRE·07:09 PM
DescriptionSeverityWeakness
Data Sourced
08:15 PM
Description
Data Sourced
via NVD·08:15 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is CVE-2023-3603?

CVE-2023-3603 is a vulnerability in the Libssh library that allows a malicious client to cause a NULL dereference on low-memory conditions.

2

What is the severity of CVE-2023-3603?

CVE-2023-3603 has a severity rating of medium with a CVSS score of 6.5.

3

How does CVE-2023-3603 exploit work?

CVE-2023-3603 can be exploited by a malicious client requesting up to 4GB SFTP reads, causing allocation of up to 4GB buffers, which can lead to a NULL dereference and potentially crash the server.

4

How can I fix CVE-2023-3603?

To fix CVE-2023-3603, it is recommended to update to the latest version of the Libssh library that includes the patch for this vulnerability.

5

Where can I find more information about CVE-2023-3603?

You can find more information about CVE-2023-3603 on the Red Hat Bugzilla page (https://bugzilla.redhat.com/show_bug.cgi?id=2221791) and the Red Hat Security Advisory (https://access.redhat.com/security/cve/CVE-2023-3603).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203