extra/mariabackup/ - old bit, however for old reasons used md5 as a checksum on a storage format. I'm think can be removed before RHEL9

In SQL there is a MD5 function, we can't just replace that as it will break user applications.


also a SQL function.

plugin/file_key_management/ is a digest on the keys, however if this is a point of attack you've lost already. I suspect this can be fixed.

sha1 forms part of the mysql_native_password implementation, there's no known vulnerabilities in this due to its sha1 usage. is available, however not everything supports in on the client side.
A mistake was also made (ref MDEV-19217), so a v2 might be needed.

As things like php have mysqlnd and are more strictly tied to MySQL rather than MariaDB compatibility so adding MariaDB authentication
plugins hasn't been accepted yet.

On SQL functions, is this going to be a problem? or would a compile option that issues a user SQL warning if they are used be useful?

On Thu, Mar 18, 2021 at 2:29 PM Eliezer Croitoru <> wrote:
Hey Sergei,

I cannot speak in the name of Lukas but I assume that he is talking about the payload signature of RPM files.
Technically speaking SHA1 and MD5 can collide but only to specific file sizes.
It's not that simple to create an RPM in a size of 10+ MB which will provide the exact same
functionality ie DB which will include errors and/or other things.

I know it's pretty simple to upgrade the signature so I do not find any reason to not add a SHA256 sig.

All The Bests,

Eliezer Croitoru
Tech Support
Mobile: +972-5-28704261
Zoom: Coming soon

-----Original Message-----
From: Maria-discuss <> On Behalf Of Sergei Golubchik
Sent: Wednesday, March 17, 2021 5:24 PM
To: Lukas Javorsky <>
Subject: Re: [Maria-discuss] Is it possible to upgrade SHA-1 and MD5 algorithms in Mariadb-10.5?

Hi, Lukas!

What do you mean by "upgrade SHA-1 and MD5 algorithms in MariaDB" ?

VP of MariaDB Server Engineering

On Mar 17, Lukas Javorsky wrote:
> Hi,
> In RHEL-9 we are deprecating, old SHA-1 and MD5 and that's why I want to
> ask you if there is any chance that upstream is going to change it, or we
> should do it downstream.
> These algorithms are no longer considered as safe, so it may be a good
> thing to upgrade them.
> AFAIK mariadb uses these algorithms in *mariadb* and *mariadb-connector-c.*
> Also if you have no intention to change it, is there any chance you could
> help us somehow. Maybe point out what we should be aware of.
> Please let me know what you think
> Lukas
> --
> S pozdravom/ Best regards
> Lukáš Javorský
> Associate Software Engineer, Core service - Databases
> Red Hat <>
> Purkyňova 115 (TPB-C)
> 612 00 Brno - Královo Pole
> <>

Mailing list:
Post to     :
Unsubscribe :
More help   :

Mailing list:
Post to     :
Unsubscribe :
More help   :