Amazon Linux AMI update for libssh2



Published: 2023-06-06
Risk Medium
Patch available YES
Number of vulnerabilities 2
CVE-ID CVE-2019-3859
CVE-2019-3860
CWE-ID CWE-125
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
Amazon Linux AMI
Operating systems & Components / Operating system

libssh2
Operating systems & Components / Operating system package or component

Vendor Amazon Web Services

Security Bulletin

This security bulletin contains information about 2 vulnerabilities.

1) Out-of-bounds read

EUVDB-ID: #VU18027

Risk: Medium

CVSSv3.1: 5.2 [CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2019-3859

CWE-ID: CWE-125 - Out-of-bounds read

Exploit availability: No

Description

The vulnerability allows a remote attacker to gain access to potentially sensitive information.

The vulnerability exists due to a boundary condition when processing packets in _libssh2_packet_require() and _libssh2_packet_requirev() functions. A remote attacker can trick the victim to connect to a malicious SSH server, trigger out-of-bounds read error and read contents of memory or crash the affected application.

Mitigation

Update the affected packages:

i686:
    libssh2-debuginfo-1.4.2-3.13.amzn1.i686
    libssh2-devel-1.4.2-3.13.amzn1.i686
    libssh2-1.4.2-3.13.amzn1.i686
    libssh2-docs-1.4.2-3.13.amzn1.i686

src:
    libssh2-1.4.2-3.13.amzn1.src

x86_64:
    libssh2-1.4.2-3.13.amzn1.x86_64
    libssh2-debuginfo-1.4.2-3.13.amzn1.x86_64
    libssh2-docs-1.4.2-3.13.amzn1.x86_64
    libssh2-devel-1.4.2-3.13.amzn1.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

libssh2: before 1.4.2-3.13

External links

http://alas.aws.amazon.com/ALAS-2023-1756.html


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

2) Out-of-bounds read

EUVDB-ID: #VU18026

Risk: Medium

CVSSv3.1: 5.2 [CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2019-3860

CWE-ID: CWE-125 - Out-of-bounds read

Exploit availability: No

Description

The vulnerability allows a remote attacker to gain access to potentially sensitive information.

The vulnerability exists due to a boundary condition when processing SFTP packets. A remote attacker can trick the victim to connect to a malicious SSH server, trigger out-of-bounds read error and read contents of memory or crash the affected application.

Mitigation

Update the affected packages:

i686:
    libssh2-debuginfo-1.4.2-3.13.amzn1.i686
    libssh2-devel-1.4.2-3.13.amzn1.i686
    libssh2-1.4.2-3.13.amzn1.i686
    libssh2-docs-1.4.2-3.13.amzn1.i686

src:
    libssh2-1.4.2-3.13.amzn1.src

x86_64:
    libssh2-1.4.2-3.13.amzn1.x86_64
    libssh2-debuginfo-1.4.2-3.13.amzn1.x86_64
    libssh2-docs-1.4.2-3.13.amzn1.x86_64
    libssh2-devel-1.4.2-3.13.amzn1.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

libssh2: before 1.4.2-3.13

External links

http://alas.aws.amazon.com/ALAS-2023-1756.html


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###