Amazon Linux AMI update for nginx



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

nginx
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: #VU68494

Risk: Medium

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

CVE-ID: CVE-2022-41741

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 or perform a denial of service attack.

The vulnerability exists due to a boundary condition within the ngx_http_mp4_module module when handling MP4 files. A remote attacker can pass a specially crafted file to the server, trigger an out-of-bounds read error and read contents of memory on the system or perform a denial of service attack.

Mitigation

Update the affected packages:

aarch64:
    nginx-mod-http-image-filter-debuginfo-1.22.1-1.amzn2023.0.3.aarch64
    nginx-debuginfo-1.22.1-1.amzn2023.0.3.aarch64
    nginx-mod-stream-1.22.1-1.amzn2023.0.3.aarch64
    nginx-mod-http-xslt-filter-1.22.1-1.amzn2023.0.3.aarch64
    nginx-mod-mail-1.22.1-1.amzn2023.0.3.aarch64
    nginx-mod-stream-debuginfo-1.22.1-1.amzn2023.0.3.aarch64
    nginx-mod-http-image-filter-1.22.1-1.amzn2023.0.3.aarch64
    nginx-debugsource-1.22.1-1.amzn2023.0.3.aarch64
    nginx-core-debuginfo-1.22.1-1.amzn2023.0.3.aarch64
    nginx-mod-http-perl-debuginfo-1.22.1-1.amzn2023.0.3.aarch64
    nginx-mod-devel-1.22.1-1.amzn2023.0.3.aarch64
    nginx-mod-http-perl-1.22.1-1.amzn2023.0.3.aarch64
    nginx-mod-mail-debuginfo-1.22.1-1.amzn2023.0.3.aarch64
    nginx-mod-http-xslt-filter-debuginfo-1.22.1-1.amzn2023.0.3.aarch64
    nginx-1.22.1-1.amzn2023.0.3.aarch64
    nginx-core-1.22.1-1.amzn2023.0.3.aarch64

noarch:
    nginx-filesystem-1.22.1-1.amzn2023.0.3.noarch
    nginx-all-modules-1.22.1-1.amzn2023.0.3.noarch

src:
    nginx-1.22.1-1.amzn2023.0.3.src

x86_64:
    nginx-mod-http-perl-debuginfo-1.22.1-1.amzn2023.0.3.x86_64
    nginx-mod-http-xslt-filter-1.22.1-1.amzn2023.0.3.x86_64
    nginx-1.22.1-1.amzn2023.0.3.x86_64
    nginx-core-debuginfo-1.22.1-1.amzn2023.0.3.x86_64
    nginx-mod-http-perl-1.22.1-1.amzn2023.0.3.x86_64
    nginx-mod-http-image-filter-debuginfo-1.22.1-1.amzn2023.0.3.x86_64
    nginx-debuginfo-1.22.1-1.amzn2023.0.3.x86_64
    nginx-core-1.22.1-1.amzn2023.0.3.x86_64
    nginx-mod-stream-1.22.1-1.amzn2023.0.3.x86_64
    nginx-mod-devel-1.22.1-1.amzn2023.0.3.x86_64
    nginx-mod-mail-1.22.1-1.amzn2023.0.3.x86_64
    nginx-mod-http-image-filter-1.22.1-1.amzn2023.0.3.x86_64
    nginx-mod-mail-debuginfo-1.22.1-1.amzn2023.0.3.x86_64
    nginx-mod-stream-debuginfo-1.22.1-1.amzn2023.0.3.x86_64
    nginx-debugsource-1.22.1-1.amzn2023.0.3.x86_64
    nginx-mod-http-xslt-filter-debuginfo-1.22.1-1.amzn2023.0.3.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

nginx: before 1.22.1-1

External links

http://alas.aws.amazon.com/AL2023/ALAS-2023-090.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: #VU68495

Risk: Medium

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

CVE-ID: CVE-2022-41742

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 or perform a denial of service attack.

The vulnerability exists due to a boundary condition within the ngx_http_mp4_module module when handling MP4 files. A remote attacker can pass a specially crafted file to the server, trigger an out-of-bounds read error and read contents of memory on the system or perform a denial of service attack.

Mitigation

Update the affected packages:

aarch64:
    nginx-mod-http-image-filter-debuginfo-1.22.1-1.amzn2023.0.3.aarch64
    nginx-debuginfo-1.22.1-1.amzn2023.0.3.aarch64
    nginx-mod-stream-1.22.1-1.amzn2023.0.3.aarch64
    nginx-mod-http-xslt-filter-1.22.1-1.amzn2023.0.3.aarch64
    nginx-mod-mail-1.22.1-1.amzn2023.0.3.aarch64
    nginx-mod-stream-debuginfo-1.22.1-1.amzn2023.0.3.aarch64
    nginx-mod-http-image-filter-1.22.1-1.amzn2023.0.3.aarch64
    nginx-debugsource-1.22.1-1.amzn2023.0.3.aarch64
    nginx-core-debuginfo-1.22.1-1.amzn2023.0.3.aarch64
    nginx-mod-http-perl-debuginfo-1.22.1-1.amzn2023.0.3.aarch64
    nginx-mod-devel-1.22.1-1.amzn2023.0.3.aarch64
    nginx-mod-http-perl-1.22.1-1.amzn2023.0.3.aarch64
    nginx-mod-mail-debuginfo-1.22.1-1.amzn2023.0.3.aarch64
    nginx-mod-http-xslt-filter-debuginfo-1.22.1-1.amzn2023.0.3.aarch64
    nginx-1.22.1-1.amzn2023.0.3.aarch64
    nginx-core-1.22.1-1.amzn2023.0.3.aarch64

noarch:
    nginx-filesystem-1.22.1-1.amzn2023.0.3.noarch
    nginx-all-modules-1.22.1-1.amzn2023.0.3.noarch

src:
    nginx-1.22.1-1.amzn2023.0.3.src

x86_64:
    nginx-mod-http-perl-debuginfo-1.22.1-1.amzn2023.0.3.x86_64
    nginx-mod-http-xslt-filter-1.22.1-1.amzn2023.0.3.x86_64
    nginx-1.22.1-1.amzn2023.0.3.x86_64
    nginx-core-debuginfo-1.22.1-1.amzn2023.0.3.x86_64
    nginx-mod-http-perl-1.22.1-1.amzn2023.0.3.x86_64
    nginx-mod-http-image-filter-debuginfo-1.22.1-1.amzn2023.0.3.x86_64
    nginx-debuginfo-1.22.1-1.amzn2023.0.3.x86_64
    nginx-core-1.22.1-1.amzn2023.0.3.x86_64
    nginx-mod-stream-1.22.1-1.amzn2023.0.3.x86_64
    nginx-mod-devel-1.22.1-1.amzn2023.0.3.x86_64
    nginx-mod-mail-1.22.1-1.amzn2023.0.3.x86_64
    nginx-mod-http-image-filter-1.22.1-1.amzn2023.0.3.x86_64
    nginx-mod-mail-debuginfo-1.22.1-1.amzn2023.0.3.x86_64
    nginx-mod-stream-debuginfo-1.22.1-1.amzn2023.0.3.x86_64
    nginx-debugsource-1.22.1-1.amzn2023.0.3.x86_64
    nginx-mod-http-xslt-filter-debuginfo-1.22.1-1.amzn2023.0.3.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

nginx: before 1.22.1-1

External links

http://alas.aws.amazon.com/AL2023/ALAS-2023-090.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###