CVE-2018-25032

Public on 2022-03-25
Modified on 2023-01-18
Description
An out-of-bounds access flaw was found in zlib, which allows memory corruption when deflating (ex: when compressing) if the input has many distant matches. For some rare inputs with a large number of distant matches (crafted payloads), the buffer into which the compressed or deflated data is written can overwrite the distance symbol table which it overlays. This issue results in corrupted output due to invalid distances, which leads to out-of-bound access, corrupting the memory and potentially crashing the application.
Severity
Important severity
Important
CVSS v3 Base Score
8.2
See breakdown

Affected Packages

Platform Package Release Date Advisory Status
Amazon Linux 1 rsync 2022-12-01 ALAS-2022-1640 Fixed
Amazon Linux 2023 rsync 2023-02-17 ALAS2023-2023-002 Fixed
Amazon Linux 1 zlib 2022-06-30 ALAS-2022-1602 Fixed
Amazon Linux 2 - Core zlib 2022-04-04 ALAS2-2022-1772 Fixed
Amazon Linux 2023 zlib 2023-02-17 ALAS2023-2023-003 Fixed

CVSS Scores

Score Type Score Vector
Amazon Linux CVSSv3 8.2 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H
NVD CVSSv2 5.0 AV:N/AC:L/Au:N/C:N/I:N/A:P
NVD CVSSv3 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H