=====================================================================

                                 CERT-Renater

                      Note d'Information No. 2024/VULN138
_____________________________________________________________________

DATE                : 22/03/2024

HARDWARE PLATFORM(S): /

OPERATING SYSTEM(S): Systems running Apache Doris versions prior to
                                     2.0.5, 2.1.x.

=====================================================================
https://lists.apache.org/thread/h95h82b0svlnwcg6c2xq4b08j6gwgczh
https://lists.apache.org/thread/5shhw8x8m271hd2wfwzqzwgf36pmc4pl
_____________________________________________________________________

CVE-2024-27438: Apache Doris: Downloading arbitrary remote jar files
resulting in remote command execution

Severity: important

Affected versions:

- Apache Doris 1.2.0 through 2.0.4

Description:

Download of Code Without Integrity Check vulnerability in Apache
Doris.

The jdbc driver files used for JDBC catalog is not checked and may
resulting in remote command execution.

Once the attacker is authorized to create a JDBC catalog, he/she
can use arbitrary driver jar file with unchecked code snippet. This
code snippet will be run when catalog is initializing without any
check.

This issue affects Apache Doris: from 1.2.0 through 2.0.4.

Users are recommended to upgrade to version 2.0.5 or 2.1.x, which
fixes the issue.


References:

https://doris.apache.org
https://www.cve.org/CVERecord?id=CVE-2024-27438

_____________________________________________________________________

CVE-2024-26307: Apache Doris: Possible race condition
Severity: low

Affected versions:

- Apache Doris before 1.2.8
- Apache Doris before 2.0.4

Description:

Possible race condition vulnerability in Apache Doris.
Some of code using `chmod()` method. This method run the risk of
someone renaming the file out from under user and chmodding the
wrong file.

This could theoretically happen, but the impact would be minimal.
This issue affects Apache Doris: before 1.2.8, before 2.0.4.

Users are recommended to upgrade to version 2.0.4, which fixes the
issue.


References:

https://doris.apache.org
https://www.cve.org/CVERecord?id=CVE-2024-26307


=========================================================
+ CERT-RENATER        |    tel : 01-53-94-20-44         +
+ 23/25 Rue Daviel    |    fax : 01-53-94-20-41         +
+ 75013 Paris         |   email:cert@support.renater.fr +
=========================================================
