Gentoo update for Apache HTTPD



Published: 2022-08-15 | Updated: 2022-12-15
Risk Critical
Patch available YES
Number of vulnerabilities 21
CVE-ID CVE-2021-33193
CVE-2021-34798
CVE-2021-36160
CVE-2021-39275
CVE-2021-40438
CVE-2021-41524
CVE-2021-41773
CVE-2021-42013
CVE-2021-44224
CVE-2021-44790
CVE-2022-22719
CVE-2022-22720
CVE-2022-22721
CVE-2022-23943
CVE-2022-26377
CVE-2022-28614
CVE-2022-28615
CVE-2022-29404
CVE-2022-30522
CVE-2022-30556
CVE-2022-31813
CWE-ID CWE-444
CWE-476
CWE-125
CWE-119
CWE-918
CWE-22
CWE-78
CWE-20
CWE-190
CWE-787
CWE-400
CWE-287
Exploitation vector Network
Public exploit Vulnerability #5 is being exploited in the wild.
Vulnerability #7 is being exploited in the wild.
Vulnerability #8 is being exploited in the wild.
Vulnerable software
Subscribe
Gentoo Linux
Operating systems & Components / Operating system

www-servers/apache
Operating systems & Components / Operating system package or component

app-admin/apache-tools
Operating systems & Components / Operating system package or component

Vendor Gentoo

Security Bulletin

This security bulletin contains information about 21 vulnerabilities.

1) Inconsistent interpretation of HTTP requests

EUVDB-ID: #VU56474

Risk: Medium

CVSSv3.1:

CVE-ID: CVE-2021-33193

CWE-ID: CWE-444 - Inconsistent Interpretation of HTTP Requests ('HTTP Request Smuggling')

Exploit availability: No

Description

The vulnerability allows a remote attacker to preform HTTP/2 request smuggling attacks.

The vulnerability exists due to improper validation of HTTP/2 requests in mod_proxy in Apache HTTP Server. A remote attacker can send a specially crafted HTTP/2 request to the server and smuggle arbitrary HTTP headers.

Successful exploitation of vulnerability may allow an attacker to poison web server cache and perform phishing attacks.

Mitigation

Update the affected packages.
app-admin/apache-tools to version: 2.4.54
www-servers/apache to version: 2.4.54

Vulnerable software versions

Gentoo Linux: All versions

www-servers/apache: before 2.4.54

app-admin/apache-tools: before 2.4.54


CPE2.3 External links

http://security.gentoo.org/glsa/202208-20

Q & A

Can this vulnerability be exploited remotely?

Is there known malware, which exploits this vulnerability?

2) NULL pointer dereference

EUVDB-ID: #VU56681

Risk: Medium

CVSSv3.1:

CVE-ID: CVE-2021-34798

CWE-ID: CWE-476 - NULL Pointer Dereference

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to a NULL pointer dereference error. A remote attacker can send a specially crafted HTTP request to the affected web server and perform a denial of service (DoS) attack.

Mitigation

Update the affected packages.
app-admin/apache-tools to version: 2.4.54
www-servers/apache to version: 2.4.54

Vulnerable software versions

Gentoo Linux: All versions

www-servers/apache: before 2.4.54

app-admin/apache-tools: before 2.4.54


CPE2.3 External links

http://security.gentoo.org/glsa/202208-20

Q & A

Can this vulnerability be exploited remotely?

Is there known malware, which exploits this vulnerability?

3) Out-of-bounds read

EUVDB-ID: #VU56680

Risk: Medium

CVSSv3.1:

CVE-ID: CVE-2021-36160

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

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to a boundary condition in the mod_proxy_uwsgi module in Apache HTTP Server. A remote attacker can send an HTTP request with specially crafted uri-path, trigger an out-of-bounds read and perform a denial of service (DoS) attack.

Mitigation

Update the affected packages.
app-admin/apache-tools to version: 2.4.54
www-servers/apache to version: 2.4.54

Vulnerable software versions

Gentoo Linux: All versions

www-servers/apache: before 2.4.54

app-admin/apache-tools: before 2.4.54


CPE2.3 External links

http://security.gentoo.org/glsa/202208-20

Q & A

Can this vulnerability be exploited remotely?

Is there known malware, which exploits this vulnerability?

4) Buffer overflow

EUVDB-ID: #VU56679

Risk: Medium

CVSSv3.1:

CVE-ID: CVE-2021-39275

CWE-ID: CWE-119 - Memory corruption

Exploit availability: No

Description

The vulnerability allows a remote attacker to execute arbitrary code on the target system or perform a denial of service attack.

The vulnerability exists due to a boundary error within the ap_escape_quotes()  function. A remote attacker can send a specially crafted request to the web server, trigger memory corruption and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system but requires that the Apache module passes untrusted data to the affected function.

According to vendor, No included modules pass untrusted data to these functions

Mitigation

Update the affected packages.
app-admin/apache-tools to version: 2.4.54
www-servers/apache to version: 2.4.54

Vulnerable software versions

Gentoo Linux: All versions

www-servers/apache: before 2.4.54

app-admin/apache-tools: before 2.4.54


CPE2.3 External links

http://security.gentoo.org/glsa/202208-20

Q & A

Can this vulnerability be exploited remotely?

Is there known malware, which exploits this vulnerability?

5) Server-Side Request Forgery (SSRF)

EUVDB-ID: #VU56678

Risk: High

CVSSv3.1:

CVE-ID: CVE-2021-40438

CWE-ID: CWE-918 - Server-Side Request Forgery (SSRF)

Exploit availability: Yes

Description

The disclosed vulnerability allows a remote attacker to perform SSRF attacks.

The vulnerability exists due to insufficient validation of user-supplied input within the mod_proxy module in Apache HTTP Server. A remote attacker can send a specially crafted HTTP request with a chosen uri-path and trick the web server to initiate requests to arbitrary systems.

Successful exploitation of this vulnerability may allow a remote attacker gain access to sensitive data, located in the local network or send malicious requests to other servers from the vulnerable system.

Mitigation

Update the affected packages.
app-admin/apache-tools to version: 2.4.54
www-servers/apache to version: 2.4.54

Vulnerable software versions

Gentoo Linux: All versions

www-servers/apache: before 2.4.54

app-admin/apache-tools: before 2.4.54


CPE2.3 External links

http://security.gentoo.org/glsa/202208-20

Q & A

Can this vulnerability be exploited remotely?

Is there known malware, which exploits this vulnerability?

6) NULL pointer dereference

EUVDB-ID: #VU57062

Risk: Medium

CVSSv3.1:

CVE-ID: CVE-2021-41524

CWE-ID: CWE-476 - NULL Pointer Dereference

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to a NULL pointer dereference error when processing HTTP/2 requests. A remote attacker can send a specially crafted HTTP/2 request to the affected Apache HTTP server and perform a denial of service (DoS) attack.

Mitigation

Update the affected packages.
app-admin/apache-tools to version: 2.4.54
www-servers/apache to version: 2.4.54

Vulnerable software versions

Gentoo Linux: All versions

www-servers/apache: before 2.4.54

app-admin/apache-tools: before 2.4.54


CPE2.3 External links

http://security.gentoo.org/glsa/202208-20

Q & A

Can this vulnerability be exploited remotely?

Is there known malware, which exploits this vulnerability?

7) Path traversal

EUVDB-ID: #VU57063

Risk: Critical

CVSSv3.1:

CVE-ID: CVE-2021-41773

CWE-ID: CWE-22 - Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Exploit availability: Yes

Description

The vulnerability allows a remote attacker to perform directory traversal attacks.

The vulnerability exists due to input validation error when processing directory traversal sequences. A remote attacker can send a specially crafted HTTP request to map URLs to files outside the expected document root. If files outside of the document root are not protected by "require all denied" these requests can succeed. Additionally this flaw could leak the source of interpreted files like CGI scripts.

The vulnerability can be used to execute arbitrary OS commands on the system.

Note, the vulnerability is being actively exploited in the wild.

Mitigation

Update the affected packages.
app-admin/apache-tools to version: 2.4.54
www-servers/apache to version: 2.4.54

Vulnerable software versions

Gentoo Linux: All versions

www-servers/apache: before 2.4.54

app-admin/apache-tools: before 2.4.54


CPE2.3 External links

http://security.gentoo.org/glsa/202208-20

Q & A

Can this vulnerability be exploited remotely?

Is there known malware, which exploits this vulnerability?

8) OS Command Injection

EUVDB-ID: #VU57127

Risk: Critical

CVSSv3.1:

CVE-ID: CVE-2021-42013

CWE-ID: CWE-78 - Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Exploit availability: Yes

Description

The vulnerability allows a remote attacker to execute arbitrary shell commands on the target system.

The vulnerability exists due to insufficient fix for the path traversal vulnerability #VU57063 (CVE-2021-41733). A remote unauthenticated attacker can send a specially crafted HTTP request to the affected server and execute arbitrary OS commands on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.

Mitigation

Update the affected packages.
app-admin/apache-tools to version: 2.4.54
www-servers/apache to version: 2.4.54

Vulnerable software versions

Gentoo Linux: All versions

www-servers/apache: before 2.4.54

app-admin/apache-tools: before 2.4.54


CPE2.3 External links

http://security.gentoo.org/glsa/202208-20

Q & A

Can this vulnerability be exploited remotely?

Is there known malware, which exploits this vulnerability?

9) Server-Side Request Forgery (SSRF)

EUVDB-ID: #VU59057

Risk: Medium

CVSSv3.1:

CVE-ID: CVE-2021-44224

CWE-ID: CWE-918 - Server-Side Request Forgery (SSRF)

Exploit availability: No

Description

The disclosed vulnerability allows a remote attacker to perform SSRF attacks.

The vulnerability exists due to insufficient validation of user-supplied input in forward proxy configurations. A remote attacker can send a specially crafted HTTP request and trick the web server to initiate requests to arbitrary systems or cause NULL pointer dereference error and crash the web server.

Successful exploitation of this vulnerability may allow a remote attacker gain access to sensitive data, located in the local network or send malicious requests to other servers from the vulnerable system.

SSRF if possible for configuration that mix forward and reverse proxy.

Mitigation

Update the affected packages.
app-admin/apache-tools to version: 2.4.54
www-servers/apache to version: 2.4.54

Vulnerable software versions

Gentoo Linux: All versions

www-servers/apache: before 2.4.54

app-admin/apache-tools: before 2.4.54


CPE2.3 External links

http://security.gentoo.org/glsa/202208-20

Q & A

Can this vulnerability be exploited remotely?

Is there known malware, which exploits this vulnerability?

10) Buffer overflow

EUVDB-ID: #VU59056

Risk: Critical

CVSSv3.1:

CVE-ID: CVE-2021-44790

CWE-ID: CWE-119 - Memory corruption

Exploit availability: No

Description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error when parsing multipart content in mod_lua. A remote attacker can send a specially crafted HTTP request to the affected web server, trigger buffer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.

Mitigation

Update the affected packages.
app-admin/apache-tools to version: 2.4.54
www-servers/apache to version: 2.4.54

Vulnerable software versions

Gentoo Linux: All versions

www-servers/apache: before 2.4.54

app-admin/apache-tools: before 2.4.54


CPE2.3 External links

http://security.gentoo.org/glsa/202208-20

Q & A

Can this vulnerability be exploited remotely?

Is there known malware, which exploits this vulnerability?

11) Input validation error

EUVDB-ID: #VU61287

Risk: Medium

CVSSv3.1:

CVE-ID: CVE-2022-22719

CWE-ID: CWE-20 - Improper Input Validation

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to use of uninitialized value in r:parsebody. A remote attacker can pass specially crafted input to the application and perform a denial of service (DoS) attack.

Mitigation

Update the affected packages.
app-admin/apache-tools to version: 2.4.54
www-servers/apache to version: 2.4.54

Vulnerable software versions

Gentoo Linux: All versions

www-servers/apache: before 2.4.54

app-admin/apache-tools: before 2.4.54


CPE2.3 External links

http://security.gentoo.org/glsa/202208-20

Q & A

Can this vulnerability be exploited remotely?

Is there known malware, which exploits this vulnerability?

12) Inconsistent interpretation of HTTP requests

EUVDB-ID: #VU61286

Risk: Medium

CVSSv3.1:

CVE-ID: CVE-2022-22720

CWE-ID: CWE-444 - Inconsistent Interpretation of HTTP Requests ('HTTP Request Smuggling')

Exploit availability: No

Description

The vulnerability allows a remote attacker to preform HTTP request smuggling attacks.

The vulnerability exists due to improper validation of HTTP requests. A remote attacker can send a specially crafted HTTP request to the server and smuggle arbitrary HTTP headers.

Successful exploitation of vulnerability may allow an attacker to poison HTTP cache and perform phishing attacks.

Mitigation

Update the affected packages.
app-admin/apache-tools to version: 2.4.54
www-servers/apache to version: 2.4.54

Vulnerable software versions

Gentoo Linux: All versions

www-servers/apache: before 2.4.54

app-admin/apache-tools: before 2.4.54


CPE2.3 External links

http://security.gentoo.org/glsa/202208-20

Q & A

Can this vulnerability be exploited remotely?

Is there known malware, which exploits this vulnerability?

13) Integer overflow

EUVDB-ID: #VU61285

Risk: High

CVSSv3.1:

CVE-ID: CVE-2022-22721

CWE-ID: CWE-190 - Integer overflow

Exploit availability: No

Description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to integer overflow within the ap_escape_html2() function when parsing LimitXMLRequestBody. A remote attacker can send a specially crafted request to the web server, trigger an integer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.

Mitigation

Update the affected packages.
app-admin/apache-tools to version: 2.4.54
www-servers/apache to version: 2.4.54

Vulnerable software versions

Gentoo Linux: All versions

www-servers/apache: before 2.4.54

app-admin/apache-tools: before 2.4.54


CPE2.3 External links

http://security.gentoo.org/glsa/202208-20

Q & A

Can this vulnerability be exploited remotely?

Is there known malware, which exploits this vulnerability?

14) Out-of-bounds write

EUVDB-ID: #VU61284

Risk: High

CVSSv3.1:

CVE-ID: CVE-2022-23943

CWE-ID: CWE-787 - Out-of-bounds write

Exploit availability: No

Description

The vulnerability allows a remote attacker to compromise vulnerable system.

The vulnerability exists due to a boundary error when processing untrusted input in mod_sed. A remote attacker can trigger out-of-bounds write and execute arbitrary code on the target system.

Mitigation

Update the affected packages.
app-admin/apache-tools to version: 2.4.54
www-servers/apache to version: 2.4.54

Vulnerable software versions

Gentoo Linux: All versions

www-servers/apache: before 2.4.54

app-admin/apache-tools: before 2.4.54


CPE2.3 External links

http://security.gentoo.org/glsa/202208-20

Q & A

Can this vulnerability be exploited remotely?

Is there known malware, which exploits this vulnerability?

15) Inconsistent interpretation of HTTP requests

EUVDB-ID: #VU64078

Risk: Medium

CVSSv3.1:

CVE-ID: CVE-2022-26377

CWE-ID: CWE-444 - Inconsistent Interpretation of HTTP Requests ('HTTP Request Smuggling')

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform HTTP request smuggling attacks.

The vulnerability exists due to improper validation of HTTP requests in mod_proxy_ajp. A remote attacker can send a specially crafted HTTP request to the server and smuggle requests to the AJP server it forwards requests to.

Successful exploitation of vulnerability may allow an attacker to poison HTTP cache and perform phishing attacks.

Mitigation

Update the affected packages.
app-admin/apache-tools to version: 2.4.54
www-servers/apache to version: 2.4.54

Vulnerable software versions

Gentoo Linux: All versions

www-servers/apache: before 2.4.54

app-admin/apache-tools: before 2.4.54


CPE2.3 External links

http://security.gentoo.org/glsa/202208-20

Q & A

Can this vulnerability be exploited remotely?

Is there known malware, which exploits this vulnerability?

16) Out-of-bounds read

EUVDB-ID: #VU64081

Risk: Low

CVSSv3.1:

CVE-ID: CVE-2022-28614

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 within the ap_rwrite() function. A remote attacker can with the ability to force the server to reflect a very large input using ap_rwrite() or ap_rputs() (such as with mod_luas r:puts() function) can trigger an out-of-bounds read error and read read unintended memory on the system.

Mitigation

Update the affected packages.
app-admin/apache-tools to version: 2.4.54
www-servers/apache to version: 2.4.54

Vulnerable software versions

Gentoo Linux: All versions

www-servers/apache: before 2.4.54

app-admin/apache-tools: before 2.4.54


CPE2.3 External links

http://security.gentoo.org/glsa/202208-20

Q & A

Can this vulnerability be exploited remotely?

Is there known malware, which exploits this vulnerability?

17) Out-of-bounds read

EUVDB-ID: #VU64083

Risk: Low

CVSSv3.1:

CVE-ID: CVE-2022-28615

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 within the ap_strcmp_match() function when processing an extremely large input buffer. A remote attacker can send a specially crafted HTTP request to the web server, trigger an out-of-bounds read error and read contents of memory on the system.

Note, the code distributed with the Apache HTTP Server cannot be coerced into such a call. The vulnerability can affect third-party modules or lua scripts that use ap_strcmp_match().

Mitigation

Update the affected packages.
app-admin/apache-tools to version: 2.4.54
www-servers/apache to version: 2.4.54

Vulnerable software versions

Gentoo Linux: All versions

www-servers/apache: before 2.4.54

app-admin/apache-tools: before 2.4.54


CPE2.3 External links

http://security.gentoo.org/glsa/202208-20

Q & A

Can this vulnerability be exploited remotely?

Is there known malware, which exploits this vulnerability?

18) Input validation error

EUVDB-ID: #VU64085

Risk: Medium

CVSSv3.1:

CVE-ID: CVE-2022-29404

CWE-ID: CWE-20 - Improper Input Validation

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to insufficient validation of user-supplied input when processing HTTP requests to a lua script that calls r:parsebody(0). A remote attacker can send a very large HTTP request to the affected web server and perform a denial of service (DoS) attack.

Mitigation

Update the affected packages.
app-admin/apache-tools to version: 2.4.54
www-servers/apache to version: 2.4.54

Vulnerable software versions

Gentoo Linux: All versions

www-servers/apache: before 2.4.54

app-admin/apache-tools: before 2.4.54


CPE2.3 External links

http://security.gentoo.org/glsa/202208-20

Q & A

Can this vulnerability be exploited remotely?

Is there known malware, which exploits this vulnerability?

19) Resource exhaustion

EUVDB-ID: #VU64086

Risk: Medium

CVSSv3.1:

CVE-ID: CVE-2022-30522

CWE-ID: CWE-400 - Resource exhaustion

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to mod_sed does not properly control consumption of internal resources, if the web server is configured to do transformations with mod_sed in contexts where the input to mod_sed may be very large. A remote attacker can trigger resource exhaustion and perform a denial of service (DoS) attack.

Mitigation

Update the affected packages.
app-admin/apache-tools to version: 2.4.54
www-servers/apache to version: 2.4.54

Vulnerable software versions

Gentoo Linux: All versions

www-servers/apache: before 2.4.54

app-admin/apache-tools: before 2.4.54


CPE2.3 External links

http://security.gentoo.org/glsa/202208-20

Q & A

Can this vulnerability be exploited remotely?

Is there known malware, which exploits this vulnerability?

20) Out-of-bounds read

EUVDB-ID: #VU64088

Risk: Medium

CVSSv3.1:

CVE-ID: CVE-2022-30556

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 HTTP requests in mod_lua with websockets. A remote attacker can force the module to return lengths to applications calling r:wsread() that point past the end of the storage allocated for the buffer and gain access to sensitive information.

Mitigation

Update the affected packages.
app-admin/apache-tools to version: 2.4.54
www-servers/apache to version: 2.4.54

Vulnerable software versions

Gentoo Linux: All versions

www-servers/apache: before 2.4.54

app-admin/apache-tools: before 2.4.54


CPE2.3 External links

http://security.gentoo.org/glsa/202208-20

Q & A

Can this vulnerability be exploited remotely?

Is there known malware, which exploits this vulnerability?

21) Improper Authentication

EUVDB-ID: #VU64089

Risk: Medium

CVSSv3.1:

CVE-ID: CVE-2022-31813

CWE-ID: CWE-287 - Improper Authentication

Exploit availability: No

Description

The vulnerability allows a remote attacker to bypass authentication process.

The vulnerability exists due to an error in mod_proxy implementation, where the web server may not send the X-Forwarded-* headers to the origin server based on client side Connection header hop-by-hop mechanism. A remote attacker can bypass IP based authentication on the origin server/application and gain access to otherwise restricted functionality.

Mitigation

Update the affected packages.
app-admin/apache-tools to version: 2.4.54
www-servers/apache to version: 2.4.54

Vulnerable software versions

Gentoo Linux: All versions

www-servers/apache: before 2.4.54

app-admin/apache-tools: before 2.4.54


CPE2.3 External links

http://security.gentoo.org/glsa/202208-20

Q & A

Can this vulnerability be exploited remotely?

Is there known malware, which exploits this vulnerability?



###SIDEBAR###