Lucene search

K
amazonAmazonALAS2-2022-1772
HistoryApr 04, 2022 - 11:23 p.m.

Important: zlib

2022-04-0423:23:00
alas.aws.amazon.com
202
zlib
memory corruption
vulnerability
fix
amazon linux 2
update
packages

CVSS2

5

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

PARTIAL

AV:N/AC:L/Au:N/C:N/I:N/A:P

CVSS3

7.5

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

AI Score

7.8

Confidence

High

EPSS

0.003

Percentile

68.4%

Issue Overview:

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. (CVE-2018-25032)

Affected Packages:

zlib

Note:

This advisory is applicable to Amazon Linux 2 (AL2) Core repository. Visit this FAQ section for the difference between AL2 Core and AL2 Extras advisories.

Issue Correction:
Run yum update zlib to update your system.

New Packages:

aarch64:  
    zlib-1.2.7-19.amzn2.0.1.aarch64  
    zlib-devel-1.2.7-19.amzn2.0.1.aarch64  
    zlib-static-1.2.7-19.amzn2.0.1.aarch64  
    minizip-1.2.7-19.amzn2.0.1.aarch64  
    minizip-devel-1.2.7-19.amzn2.0.1.aarch64  
    zlib-debuginfo-1.2.7-19.amzn2.0.1.aarch64  
  
i686:  
    zlib-1.2.7-19.amzn2.0.1.i686  
    zlib-devel-1.2.7-19.amzn2.0.1.i686  
    zlib-static-1.2.7-19.amzn2.0.1.i686  
    minizip-1.2.7-19.amzn2.0.1.i686  
    minizip-devel-1.2.7-19.amzn2.0.1.i686  
    zlib-debuginfo-1.2.7-19.amzn2.0.1.i686  
  
src:  
    zlib-1.2.7-19.amzn2.0.1.src  
  
x86_64:  
    zlib-1.2.7-19.amzn2.0.1.x86_64  
    zlib-devel-1.2.7-19.amzn2.0.1.x86_64  
    zlib-static-1.2.7-19.amzn2.0.1.x86_64  
    minizip-1.2.7-19.amzn2.0.1.x86_64  
    minizip-devel-1.2.7-19.amzn2.0.1.x86_64  
    zlib-debuginfo-1.2.7-19.amzn2.0.1.x86_64  

Additional References

Red Hat: CVE-2018-25032

Mitre: CVE-2018-25032

CVSS2

5

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

PARTIAL

AV:N/AC:L/Au:N/C:N/I:N/A:P

CVSS3

7.5

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

AI Score

7.8

Confidence

High

EPSS

0.003

Percentile

68.4%