Amazon Linux AMI update for nginx



Published: 2024-08-06
Risk Medium
Patch available YES
Number of vulnerabilities 3
CVE-ID CVE-2021-3618
CVE-2022-41741
CVE-2022-41742
CWE-ID CWE-346
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 3 vulnerabilities.

1) Origin validation error

EUVDB-ID: #VU59319

Risk: Medium

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

CVE-ID: CVE-2021-3618

CWE-ID: CWE-346 - Origin Validation Error

Exploit availability: No

Description

The vulnerability allows a remote attacker to bypass implemented security restrictions.

The vulnerability exists due to a logic error in TLS implementation when handling different protocols but using compatible certificates, such as multi-domain or wildcard certificates. A remote attacker with ability to perform TCP/IP layer MitM attack can redirect traffic from one subdomain to another, resulting in a valid TLS session. This breaks the authentication of TLS and cross-protocol attacks may be possible where the behavior of one protocol service may compromise the other at the application layer.

This attack technique was dubbed ALPACA (application layer protocol content confusion attack).

Mitigation

Update the affected packages:

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

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

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

x86_64:
    nginx-debuginfo-1.22.1-1.amzn2023.0.2.x86_64
    nginx-core-1.22.1-1.amzn2023.0.2.x86_64
    nginx-mod-mail-debuginfo-1.22.1-1.amzn2023.0.2.x86_64
    nginx-1.22.1-1.amzn2023.0.2.x86_64
    nginx-core-debuginfo-1.22.1-1.amzn2023.0.2.x86_64
    nginx-mod-http-xslt-filter-debuginfo-1.22.1-1.amzn2023.0.2.x86_64
    nginx-mod-http-xslt-filter-1.22.1-1.amzn2023.0.2.x86_64
    nginx-mod-http-perl-debuginfo-1.22.1-1.amzn2023.0.2.x86_64
    nginx-mod-mail-1.22.1-1.amzn2023.0.2.x86_64
    nginx-mod-stream-1.22.1-1.amzn2023.0.2.x86_64
    nginx-mod-devel-1.22.1-1.amzn2023.0.2.x86_64
    nginx-mod-http-image-filter-1.22.1-1.amzn2023.0.2.x86_64
    nginx-mod-http-perl-1.22.1-1.amzn2023.0.2.x86_64
    nginx-debugsource-1.22.1-1.amzn2023.0.2.x86_64
    nginx-mod-http-image-filter-debuginfo-1.22.1-1.amzn2023.0.2.x86_64
    nginx-mod-stream-debuginfo-1.22.1-1.amzn2023.0.2.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-099.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: #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.2.aarch64
    nginx-mod-mail-debuginfo-1.22.1-1.amzn2023.0.2.aarch64
    nginx-mod-stream-1.22.1-1.amzn2023.0.2.aarch64
    nginx-core-debuginfo-1.22.1-1.amzn2023.0.2.aarch64
    nginx-1.22.1-1.amzn2023.0.2.aarch64
    nginx-mod-http-perl-1.22.1-1.amzn2023.0.2.aarch64
    nginx-mod-http-xslt-filter-debuginfo-1.22.1-1.amzn2023.0.2.aarch64
    nginx-mod-http-image-filter-1.22.1-1.amzn2023.0.2.aarch64
    nginx-mod-mail-1.22.1-1.amzn2023.0.2.aarch64
    nginx-core-1.22.1-1.amzn2023.0.2.aarch64
    nginx-debugsource-1.22.1-1.amzn2023.0.2.aarch64
    nginx-mod-devel-1.22.1-1.amzn2023.0.2.aarch64
    nginx-mod-stream-debuginfo-1.22.1-1.amzn2023.0.2.aarch64
    nginx-debuginfo-1.22.1-1.amzn2023.0.2.aarch64
    nginx-mod-http-xslt-filter-1.22.1-1.amzn2023.0.2.aarch64
    nginx-mod-http-perl-debuginfo-1.22.1-1.amzn2023.0.2.aarch64

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

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

x86_64:
    nginx-debuginfo-1.22.1-1.amzn2023.0.2.x86_64
    nginx-core-1.22.1-1.amzn2023.0.2.x86_64
    nginx-mod-mail-debuginfo-1.22.1-1.amzn2023.0.2.x86_64
    nginx-1.22.1-1.amzn2023.0.2.x86_64
    nginx-core-debuginfo-1.22.1-1.amzn2023.0.2.x86_64
    nginx-mod-http-xslt-filter-debuginfo-1.22.1-1.amzn2023.0.2.x86_64
    nginx-mod-http-xslt-filter-1.22.1-1.amzn2023.0.2.x86_64
    nginx-mod-http-perl-debuginfo-1.22.1-1.amzn2023.0.2.x86_64
    nginx-mod-mail-1.22.1-1.amzn2023.0.2.x86_64
    nginx-mod-stream-1.22.1-1.amzn2023.0.2.x86_64
    nginx-mod-devel-1.22.1-1.amzn2023.0.2.x86_64
    nginx-mod-http-image-filter-1.22.1-1.amzn2023.0.2.x86_64
    nginx-mod-http-perl-1.22.1-1.amzn2023.0.2.x86_64
    nginx-debugsource-1.22.1-1.amzn2023.0.2.x86_64
    nginx-mod-http-image-filter-debuginfo-1.22.1-1.amzn2023.0.2.x86_64
    nginx-mod-stream-debuginfo-1.22.1-1.amzn2023.0.2.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-099.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.

3) 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.2.aarch64
    nginx-mod-mail-debuginfo-1.22.1-1.amzn2023.0.2.aarch64
    nginx-mod-stream-1.22.1-1.amzn2023.0.2.aarch64
    nginx-core-debuginfo-1.22.1-1.amzn2023.0.2.aarch64
    nginx-1.22.1-1.amzn2023.0.2.aarch64
    nginx-mod-http-perl-1.22.1-1.amzn2023.0.2.aarch64
    nginx-mod-http-xslt-filter-debuginfo-1.22.1-1.amzn2023.0.2.aarch64
    nginx-mod-http-image-filter-1.22.1-1.amzn2023.0.2.aarch64
    nginx-mod-mail-1.22.1-1.amzn2023.0.2.aarch64
    nginx-core-1.22.1-1.amzn2023.0.2.aarch64
    nginx-debugsource-1.22.1-1.amzn2023.0.2.aarch64
    nginx-mod-devel-1.22.1-1.amzn2023.0.2.aarch64
    nginx-mod-stream-debuginfo-1.22.1-1.amzn2023.0.2.aarch64
    nginx-debuginfo-1.22.1-1.amzn2023.0.2.aarch64
    nginx-mod-http-xslt-filter-1.22.1-1.amzn2023.0.2.aarch64
    nginx-mod-http-perl-debuginfo-1.22.1-1.amzn2023.0.2.aarch64

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

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

x86_64:
    nginx-debuginfo-1.22.1-1.amzn2023.0.2.x86_64
    nginx-core-1.22.1-1.amzn2023.0.2.x86_64
    nginx-mod-mail-debuginfo-1.22.1-1.amzn2023.0.2.x86_64
    nginx-1.22.1-1.amzn2023.0.2.x86_64
    nginx-core-debuginfo-1.22.1-1.amzn2023.0.2.x86_64
    nginx-mod-http-xslt-filter-debuginfo-1.22.1-1.amzn2023.0.2.x86_64
    nginx-mod-http-xslt-filter-1.22.1-1.amzn2023.0.2.x86_64
    nginx-mod-http-perl-debuginfo-1.22.1-1.amzn2023.0.2.x86_64
    nginx-mod-mail-1.22.1-1.amzn2023.0.2.x86_64
    nginx-mod-stream-1.22.1-1.amzn2023.0.2.x86_64
    nginx-mod-devel-1.22.1-1.amzn2023.0.2.x86_64
    nginx-mod-http-image-filter-1.22.1-1.amzn2023.0.2.x86_64
    nginx-mod-http-perl-1.22.1-1.amzn2023.0.2.x86_64
    nginx-debugsource-1.22.1-1.amzn2023.0.2.x86_64
    nginx-mod-http-image-filter-debuginfo-1.22.1-1.amzn2023.0.2.x86_64
    nginx-mod-stream-debuginfo-1.22.1-1.amzn2023.0.2.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-099.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###